ChipFind - Datasheet

Part Number FM3808

Download:  PDF   ZIP
Preliminary
This is a product in sampling or pre-production phase of develop-
Ramtron International Corporation
ment. Characteristic data and other specifications are subject to
1850 Ramtron Drive, Colorado Springs, CO 80921
change without notice.
(800) 545-FRAM, (719) 481-7000, FAX (719) 481-7058
Rev 1.1
www.ramtron.com
May 2003
Page 1 of 28
FM3808
256Kb Bytewide FRAM w/ Real-Time Clock
Features
256K bit Ferroelectric Nonvolatile RAM
·
Organized as 32,752 x 8 bits
·
High Endurance 100 Billion (10
11
) Read/Writes
·
10 year Data Retention
·
NoDelayTM Writes
·
70 ns Access Time/ 130 ns Cycle Time
·
Built-in Low V
DD
Protection

Real-Time Clock/Calendar Function
·
Clock Registers in Top 16 bytes of Address Space
·
Backup Power from External Capacitor or Battery
·
Tracks Seconds through Centuries in BCD Format
·
Tracks Leap Years through 2099
·
Runs from a 32.768 kHz Timekeeping Crystal

System Supervisor Function
·
Programmable Clock/Calendar Alarm
·
Programmable Watchdog Timer
·
Power Supply Monitor
·
Interrupt Output - Programmable active high/low
·
Control Settings Inherently Nonvolatile
·
Generates either Processor Reset or Interrupt

Low Power Operation
·
5V Operation for Memory and Clock Interface
·
Backup Voltage as low as 2.5V
·
25 mA I
DD
Active Current
·
1
µ
A I
BAK
Clock Backup Current
Description
The FM3808 combines a 256Kb FRAM array with a
real-time clock and a system supervisor function. An
external 32.768 kHz crystal drives the timekeeping
function. It maintains time and date settings in the
absence of system power through the user's choice of
backup power source ­ either a capacitor or a battery.
In either case data in the memory array does not
depend on the backup source, it remains nonvolatile
in FRAM. In addition to timekeeping, the FM3808
includes a system supervisor to manage low V
DD
power conditions and a watchdog timer function. A
programmable interrupt output pin allows the user to
select the supervisor functions and the polarity of the
signal.

Both the FRAM array and the timekeeping function
are accessed through the memory interface. The
upper 16-address locations of the memory space are
allocated to the timekeeping registers rather than to
memory. The FRAM array provides data retention
for 10 years in the absence of system power, and is
not dependent on the backup power source for the
clock. This eliminates system concerns over data loss
in a traditional battery-backed RAM solution. In
addition, clock and supervisor control settings are
implemented in FRAM rather than battery-backed
RAM, making them more dependable. The FM3808
offers guaranteed operation over an industrial
temperature range of -40°C to +85°C.
Pin Configuration
Ordering Information
FM3808-70-T
70 ns access, 32-pin TSOP
FM3808DK
DIP module development kit

Documentation for the DIP module development kit is
available separately.
A14
A12
A7
A6
A5
A4
A3
A2
A1
A0
DQ0
DQ1
DQ2
VSS
DQ3
DQ4
DQ5
DQ6
DQ7
CE
A10
OE
A11
A9
A8
A13
WE
VBAK
X1
X2
INT
VDD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
FM3808
Rev 1.1
May 2003
Page 2 of 28
FRAM Array
32,752x8
Address Decoder/
Bus Interface
16 Clock/Calendar
Registers
Clock/Calendar
Alarm
Interrupt Control
Logic
System Supervisor
Low VDD monitor/
Watchdog timer
Data
Address
CE
OE
WE
INT
32.768
kHz
VDD
VBAK
Switched
power
Watchdog
timebase
X1
X2
Figure 1. Block Diagram

Pin Description
Pin Name
I/O
Pin Description
A0-A14
Input
Address: The 15 address inputs select one of 32,752 bytes in the FRAM array or one of
16 bytes in the clock/calendar. The address is latched on the falling edge of /CE.
DQ(7:0)
I/O
Data: Bi-directional 8-bit data bus for accessing the FRAM array and clock.
/CE
Input
Chip Enable: The active low /CE input selects the device. The falling edge of /CE
internally latches the address. Address changes that occur after /CE has transitioned
low are ignored until the next falling edge occurs.
/OE
Input
Output Enable: The active low /OE input enables the data output buffers during read
cycles. Deasserting /OE high causes the DQ pins to tri-state.
/WE
Input
Write Enable: The active low /WE low enables data on the DQ pins to be written to the
address location latched by the falling edge of /CE.
X1, X2
Input
Connect 32.768 kHz crystal.
INT
Output
Interrupt output: This output can be programmed to respond to the clock/calendar
alarm, the watchdog timer, and the power monitor. It is programmable to either active
high (push/pull) or active low (open-drain).
V
BAK
Supply
Backup Supply Voltage: This supply is used to maintain power for the clock. It must
remain between 2.5V and V
DD
-0.3V. V
BAK
is typically supplied by either a capacitor
or a battery. Current is drawn from V
BAK
when V
DD
is below the V
BAK
voltage.
V
DD
Supply
Supply Voltage: 5V
V
SS
Supply
Ground.
FM3808
Rev 1.1
May 2003
Page 3 of 28
Functional Truth Table
/CE /WE /OE
Function
H X X
Standby/Precharge
!
X X
Latch
Address
L H L
Read
L L X
Write

Overview
The FM3808 integrates three complementary but
distinct functions under a common interface in a
single package. First, is the 32Kx8 FRAM memory
block (minus 16 bytes), second is the real-time
clock/calendar, and third is the system supervisor.
The functions are integrated to enhance their
individual performance, so that each provides better
capability than three similar stand-alone devices. All
functions use the same bytewide address/data
interface and are memory mapped. Special functions,
including the clock/calendar and supervisor system,
are controlled via registers that reside in the top of the
combined memory map. The register map is
described below, followed by a detailed description
of each functional block.
Register Map
The top 16 FRAM address locations control the
clock/calendar, alarm, and supervisor functions. The
registers contain timekeeping data, control bits, or
information flags. A short description of each register
follows. Detailed descriptions of each function follow
the register summary.

Register Map Summary Table
Data
Address
D7
D6
D5
D4
D3
D2
D1
D0
Function
Range
7FFFh
10 years
years
Years
00-99
7FFEh
0
0
0
10 mo
months
Month
1-12
7FFDh
0
0
10 date
date
Date
1-31
7FFCh
0
0
0
0
0
day
Day
1-7
7FFBh
0
0
10 hours
hours
Hours
0-23
7FFAh
0
10 minutes
minutes
Minutes
0-59
7FF9h
0
10 seconds
seconds
Seconds
0-59
7FF8h
/OSCEN reserved reserved
CALS
CAL3
CAL2
CAL1
CAL0
Control-NV
7FF7h
WDS
/WDW
WDT5
WDT4
WDT3
WDT2
WDT1
WDT0
Watchdog
7FF6h
WIE
AIE
PFE
ABE
H/L
P/L
reserved reserved Interrupts
7FF5h
/Match
0
Alarm 10 date
Alarm date
Alarm Date
1-31
7FF4h
/Match
0
Alarm 10 hours
hours
Alarm Hours
0-23
7FF3h
/Match
Alarm 10 minutes
Alarm minutes
Alarm Minutes
0-59
7FF2h
/Match
Alarm 10 seconds
Alarm seconds
Alarm Seconds 0-59
7FF1h
User-NV
7FF0h
WDF
AF
PF
CF
TST
CAL
W
R
Flags/Control

Note that the shaded register bits are implemented in FRAM, therefore data at these locations is retained even
without backup power.
FM3808
Rev 1.1
May 2003
Page 4 of 28
Table 1. Register Map
Address Description
7FFFh
Timekeeping ­ Years
D7 D6 D5 D4 D3 D2 D1 D0
10 year.3
10 year.2
10 year.1
10 year.0
Year.3
Year.2
Year.1
Year.0
Contains the lower two BCD digits of the year. Lower nibble contains the value for years; upper nibble
contains the value for 10s of years. Each nibble operates from 0 to 9. The range for the register is 0-99.
7FFEh
Timekeeping ­ Months
D7 D6 D5 D4 D3 D2 D1 D0
0 0 0
10
Month
Month.3
Month.2
Month.1
Month.0
Contains the BCD digits for the month. Lower nibble contains the lower digit and operates from 0 to 9;
upper nibble (one bit) contains the upper digit and operates from 0 to 1. The range for the register is 1-
12.
7FFDh
Timekeeping ­ Date of the month
D7 D6 D5 D4 D3 D2 D1 D0
0
0
10 date.1
10 date.0
Date.3
Date.2
Date.1
Date.0
Contains the BCD digits for the date of the month. Lower nibble contains the lower digit and operates
from 0 to 9; upper nibble contains the upper digit and operates from 0 to 3. The range for the register is
1-31.
7FFCh
Timekeeping ­ Day of the week
D7 D6 D5 D4 D3 D2 D1 D0
0 0 0 0 0
Day.2
Day.1
Day.0
Lower nibble contains a value that correlates to day of the week. Day of the week is a ring counter that
counts from 1 to 7 then returns to 1. The user must assign meaning to the day value, as the day is not
integrated with the date.
7FFBh
Timekeeping ­ Hours
D7 D6 D5 D4 D3 D2 D1 D0
0
0
10 hours.1
10 hours.0
Hours.3
Hours2
Hours.1
Hours.0
Contains the BCD value of hours in 24-hour format. Lower nibble contains the lower digit and operates
from 0 to 9; upper nibble (two bits) contains the upper digit and operates from 0 to 2. The range for the
register is 0-23.
7FFAh
Timekeeping ­ Minutes
D7 D6 D5 D4 D3 D2 D1 D0
0
10 min.2
10 min.1
10 min.0
Min.3
Min.2
Min.1
Min.0
Contains the BCD value of minutes. Lower nibble contains the lower digit and operates from 0 to 9;
upper nibble contains the upper minutes digit and operates from 0 to 5. The range for the register is 0-59.
7FF9h
Timekeeping ­ Seconds
D7 D6 D5 D4 D3 D2 D1 D0
0
10 sec.2
10 sec.1
10 sec.0
Seconds.3
Seconds.2
Seconds.1
Seconds.0
Contains the BCD value of seconds. Lower nibble contains the lower digit and operates from 0 to 9;
upper nibble contains the upper digit and operates from 0 to 5. The range for the register is 0-59.
FM3808
Rev 1.1
May 2003
Page 5 of 28
Address Description
7FF8h
Control-Nonvolatile
D7 D6 D5 D4 D3 D2 D1 D0
OSCEN Reserved Reserved CALS
CAL.3
CAL.2
CAL.1
CAL.0
/OSCEN
/Oscillator Enable. When set to 1, the oscillator is halted. When set to 0, the oscillator runs. Disabling
the oscillator saves battery power during storage. On a no-battery power up, this bit is set to 1. The
RTC will not run until the oscillator is enabled. Set this bit to 0 to activate the RTC.
Reserved
Do not use. Should remain set to 0.
CALS
Calibration sign. Determines if the calibration adjustment is applied as an addition to or as a subtraction
from the time-base. This bit is implemented in FRAM. Calibration is explained below
CAL.3-0
These four bits control the calibration of the clock. These bits are implemented in FRAM.
7FF7h
Watchdog Timer
D7 D6 D5 D4 D3 D2 D1 D0
WDS WDW WDT.5
WDT.4
WDT.3
WDT.2
WDT.1
WDT.0
WDS
Watchdog Strobe. Setting this bit to 1 reloads and restarts the watchdog timer. Setting the bit to 0 has no
affect. The bit is cleared automatically once the watchdog timer is reset. The WDS bit is write only.
Reading it always will return a 0.
/WDW
Watchdog Write Enable. Setting this bit to 1 masks the watchdog timeout value (WDT.5-0) so it cannot
be written. This allows the user to strobe the watchdog without disturbing the timeout value. Setting this
bit to 0 allows bits 5-0 to be written on the next write to the Watchdog register. The new value will be
loaded on the next internal watchdog clock after the write cycle is complete. This function is explained
in more detail in the watchdog Timer section below.
WDT.5-0
Watchdog Timeout selection. The watchdog timer interval is selected by the 6-bit value in this register.
It represents a multiplier of the 32 Hz count (31.25 ms). The minimum range or timeout value is 31.25
ms (a setting of 1) and the maximum timeout is 2 seconds (setting of 3Fh). Setting the watchdog timer
register to 0 disables the timer. These bits can be written only if the /WDW bit was cleared to 0 on a
previous cycle.
7FF6h
Interrupts
D7 D6 D5 D4 D3 D2 D1 D0
WIE
AIE
PFE
ABE
H/L
P/L Reserved
Reserved
WIE
Watchdog Interrupt Enable. When set to 1 and a watchdog timeout occurs, the watchdog timer drives
the INT pin as well as the WDF flag. When set to 0, the watchdog timeout affects only the WDF flag.
AIE
Alarm Interrupt Enable. When set to 1, the alarm match drives the INT pin as well as the AF flag. When
set to 0, the alarm match only affects the AF flag.
PFE
Power-Fail Enable. When set to 1, the power-fail monitor drives the pin as well as the PF flag. When set
to 0, the power-fail monitor affects only the PF flag.
ABE
Alarm Battery-backup Enable. When set to 1, the alarm interrupt (as controlled by AIE) will function
even in battery backup mode. When set to 0, the alarm will occur only when VDD>VLO.
H/L
High/Low. When set to a 1, the INT pin is push/pull active high. When set to a 0, the INT pin is open
drain, active low.
P/L
Pulse/Level. When set to a 1, the INT pin is driven active (determined by H/L) by an interrupt source
for approximately 200 ms. When set to a 0, the INT pin is driven to an active level (as set by H/L) until
the Flags/Control register is read.
7FF5h
Alarm ­ Date of the month
D7 D6 D5 D4 D3 D2 D1 D0
M
0
10 date.1
10 date.0
Date.3
Date.2
Date.1
Date.0
Contains the alarm value for the date of the month and the mask bit to select or deselect the date value.
/M
Match. Setting this bit to 0 causes the date value to be used in the alarm match. Setting this bit to 1
causes the match circuit to ignore the date value.