реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> RAMTRON FM31256 Real Time Clock, Притормаживает при чтении?
ANT
сообщение Aug 30 2005, 14:33
Сообщение #1


Частый гость
**

Группа: Свой
Сообщений: 187
Регистрация: 22-06-04
Пользователь №: 127



Поставил FM31256 в качестве часов. Пока часы опрашивал редко, не замечал неточности хода. Когда стал опрашивать раз в секунду, стали отставать на пару минут в сутки. У кого-нибудь был такой эффект? Кварц пока не заменял, может с ним что-то случилось.
Go to the top of the page
 
+Quote Post
IgorKossak
сообщение Aug 31 2005, 07:44
Сообщение #2


Шаман
******

Группа: Модераторы
Сообщений: 3 064
Регистрация: 30-06-04
Из: Киев, Украина
Пользователь №: 221



Возможная причина в топологии платы (охранное кольцо GND вокруг цепей кристалла, точнее его отсутствие и близость сигнальных цепей рядом, длинные и тонкие проводники питания) или в схемотехнике (слабый источник питания и отсутствие блокировочных конденсаторов).
Go to the top of the page
 
+Quote Post
kpv
сообщение Aug 31 2005, 10:13
Сообщение #3


Частый гость
**

Группа: Свой
Сообщений: 138
Регистрация: 1-06-04
Из: Nighny Novgorod
Пользователь №: 27



это апнота от максима, но, думаю, она ко всем применима.
к сообщению IgorKossak хочу добавить, что желательно выполнить все требования даташита и тогда проблем убавится.
Код
Fast Clocks
The following are the most common scenarios that cause a crystal-based RTC to run fast.
1) Noise coupling into the crystal from adjacent signals. This problem has been extensively covered
above. Noise coupling usually causes an RTC to be grossly inaccurate.
2) Wrong crystal. An RTC typically runs fast if a crystal with a specified load capacitance (CL) greater
than the RTC-specified load capacitance is used. The severity of the inaccuracy is dependent on the
value of the CL. For example, using a crystal with a CL of 12pF on an RTC designed with a 6pF CL
causes the RTC to be about 3 to 4 minutes per month fast.

Код
Slow Clocks
The following are the most common scenarios that cause a crystal-based RTC to run slow.
1) Overshoots on RTC input pins. It is possible to cause a RTC to run slow by periodically stopping the
oscillator. This can be inadvertently accomplished by noisy input signals to the RTC. If an input
signal rises to a voltage that is greater than a diode drop (~0.3V) above VDD, the ESD protection diode
for the input pin will forward bias, allowing the substrate to be flooded with current. This, in turn,
stops the oscillator until the input signal voltage decreases to below a diode drop above VDD.
This mechanism can cause the oscillator to stop frequently if input signals are noisy. Therefore, care
should be taken to ensure there is no overshoot on input signals.
Another situation that is common to overshoot problem is having an input to the RTC at 5V when the
RTC is in battery-backup mode. This can be a problem in systems that systematically shut down
certain circuits but keep others powered up. It is very important to ensure there are no input signals to
the RTC that are greater than the battery voltage (unless stated otherwise in the device data sheet)
when the device is in battery-backup mode.
2) Wrong crystal. A RTC typically runs slow if a crystal with a specified CL is less than the CL of the
RTC. The severity of the inaccuracy is dependent on the value of the CL.
3) Stray capacitance. Stray capacitance between the crystal pins and/or to ground can slow an RTC
down. Therefore, care must be taken when designing the PC board layout to ensure the stray
capacitance is kept to a minimum.
4) Temperature. The further the operating temperature is from the crystal turnover temperature, the
slower the crystal oscillates. See Figures 3 and 4.


--------------------
Go to the top of the page
 
+Quote Post
ANT
сообщение Sep 7 2005, 07:34
Сообщение #4


Частый гость
**

Группа: Свой
Сообщений: 187
Регистрация: 22-06-04
Пользователь №: 127



Большое спасибо за подсказку. Вставка последовательно резисторов 20к в цепь SCL и 510 ом в цепь SDA полностью решила проблему.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 23rd July 2025 - 06:48
Рейтинг@Mail.ru


Страница сгенерированна за 0.0137 секунд с 7
ELECTRONIX ©2004-2016