fm3808 Ramtron Corporation, fm3808 Datasheet - Page 6

no-image

fm3808

Manufacturer Part Number
fm3808
Description
256kb Bytewide Fram W/ Real-time Clock
Manufacturer
Ramtron Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
fm3808-70-T
Manufacturer:
TI
Quantity:
1 001
Part Number:
fm3808-70-T
Manufacturer:
RAMTRON
Quantity:
400
Real-Time Clock Operation
The real-time clock (RTC) consists of an oscillator, a
clock divider, and a register system to access the
information. It divides down the 32.768 kHz time-
base to provide the user timekeeping resolution of
one second (1Hz). The RTC will not run until the
oscillator is enabled. The ocillator enable bit is bit 7
of register 7FF8h and is automatically set to a one
(disabled) when the device powers up without a
backup supply.
Static registers provide the user with read/write
access to the time values. The synchronization of
these registers with the timekeeper core is performed
using R and W bits in register 7FF0h. Setting the R
bit from 0 to 1 causes a transfer of the timekeeping
information to holding registers that can be read by
the user. If a timekeeper update is in progress when
Rev. 1.3 (EOL)
Feb. 2006
/M
7FF2h
/M
7FF1h
7FF0h
WDF
AF
PF
CF
TST
CAL
W
R
Contains the alarm value for the minutes and the mask bit to select or deselect the minutes value
Match: Setting this bit to 0 causes the Minutes value to be used in the alarm match. Setting this bit to 1
causes the match circuit to ignore the Minutes value.
Alarm – Seconds
Contains the alarm value for the seconds and the mask bit to select or deselect the minutes value.
Match: Setting this bit to 0 causes the Seconds value to be used in the alarm match. Setting this bit to1
causes the match circuit to ignore the Seconds value.
User-Nonvolatile
This register is an uncommitted nonvolatile register.
Flags/Control
Watchdog Timer Flag. This read-only bit is set to 1 when the watchdog timer is allowed to reach 0
without being reset by the user. It is cleared to 0 when the Flags/Control register is read.
Alarm Flag. This read-only bit is set to 1 when the time and date match the values stored in the alarm
registers with the match bit(s) = 0. It is cleared when the Flags/Control register is read.
Power-fail Flag. This read-only bit is set to 1 when power falls below the power-fail interrupt threshold
V
Century Overflow Flag. This read-only bit is set to a 1 when the values in the years register overflows
from 99 to 00. This indicates a new century, such as going from 1999 to 2000 or 2099 to 2100. The user
should record the new century information as needed. This bit is cleared to 0 when the Flags/Control
register is read.
Invokes factory test mode. Users should always set this bit to 0.
Calibration Mode. When set to 1, the clock enters calibration mode. When CAL is set to 0, the clock
operates normally.
Write Time. Setting the W bit to 1 freezes updates of the timekeeping registers. The user can then write
them with updated values. Setting the W bit to 0 causes the contents of the time registers to be
transferred to the timekeeping counters. This bit affects registers 7FF9h - 7FFFh.
Read Time. Setting the R bit to 1 copies a static image of the timekeeping registers and places them in a
holding register. The user can then read them without concerns over changing values causing system
errors. The R bit going from 0 to 1 causes the timekeeping capture, so the bit must be returned to 0 prior
to reading again. This bit affects registers 7FF9h - 7FFFh.
TP
WDF
D7
D7
D7
. It is cleared to 0 when the Flags/Control register is read.
M
10 sec.2
D6
D6
D6
AF
10 sec.1
D5
D5
D5
PF
10 sec.0
D4
D4
D4
CF
the R is set, the update will be completed prior to
loading the registers. Another update cannot be
performed unless the R bit is first cleared to 0 again.
Setting the W bit causes the timekeeper to freeze
updates. Clearing it to 0 causes the values in the time
registers to be written into the timekeeper core. Users
should be sure not to load invalid values, such as FFh
to any of the timekeeping registers.
Updates to the timekeeping core occur continuously
except when frozen. A diagram of the timekeeping
core is shown in Figure 2.
Backup Power
The
permanently powered operation. When primary
Seconds.3
real-time
TST
D3
D3
D3
Seconds.2
clock/calendar
CAL
D2
D2
D2
Seconds.1
D1
D1
D1
W
is
intended
Seconds.0
Page 6 of 27
FM3808
D0
D0
D0
R
for

Related parts for fm3808