fm3316 Ramtron Corporation, fm3316 Datasheet - Page 6

no-image

fm3316

Manufacturer Part Number
fm3316
Description
3v Integrated Processor Companion With Memory
Manufacturer
Ramtron Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
fm3316-GTR
Manufacturer:
CYPRESS
Quantity:
2 500
both sources indicated if both have occurred since the
user cleared them.
Power Fail Comparator
An analog comparator compares the PFI input pin to
an onboard 1.5V reference. When the PFI input
voltage drops below this threshold, the comparator
will drive the PFO pin to a low state. The comparator
has 100 mV of hysteresis (rising voltage only) to
reduce
application of this comparator is to create an early
warning power fail interrupt (NMI). This can be
accomplished by connecting the PFI pin to an
upstream power supply via a resistor divider. An
application circuit is shown below. The comparator is
a general purpose device and its application is not
limited to the NMI function.
If the power-fail comparator is not used, the PFI pin
should be tied to either V
PFO output will drive to V
Event Counter
The FM33xx offers the user a nonvolatile 16-bit
event
programmable edge detector. The CNT pin clocks the
counter. The counter is located in registers 0E-0Fh.
When the programmed edge polarity occurs, the
counter will increment its count value. The register
value is read by setting the RC bit (register 0Dh, bit
3) to 1. This takes a snapshot of the counter byte
allowing a stable value even if a count occurs during
the read. The register value can be written by first
setting the WC bit (register 0Dh, bit 2) to 1. The user
then may clear or preset the counter by writing to
registers 0E-0Fh. Counts are blocked when the WC
bit is set, so the user must clear the bit to allow
counts.
The counter polarity control bit is CP, register 0Dh
bit 0. When CP is 0, the counter increments on a
falling edge of CNT, and when CP is set to 1, the
Rev. 1.1
Dec. 2007
NMI input
To MCU
Figure 6. Comparator as a Power-Fail Warning
counter.
PFO
noise
sensitivity.
FM33xx
The
+
-
1.5V ref
input
DD
DD
or V
The
or V
Regulator
pin
SS
SS
as well.
most
. Note that the
CNT
VDD
common
has
a
Figure 8. Polled Mode on CNT pin Detects Tamper
counter increments on a rising edge of CNT. The
polarity bit CP is nonvolatile.
The counter does not wrap back to zero when it
reaches the limit of 65,535 (FFFFh). Care must be
taken prior to the rollover, and a subsequent counter
reset operation must occur to continue counting.
There is also a control bit that allows the user to
define the counter as nonvolatile or battery-backed.
The counter is nonvolatile when the NVC bit
(register 0Dh, bit 7) is logic 1 and battery-backed
when the NVC bit is logic 0. Setting the counter
mode to battery-backed allows counter operation
under V
operating voltage for battery-backed mode is 2.0V.
When set to “nonvolatile” mode, the counter operates
only when V
voltage.
The event counter may be programmed to detect a
tamper event, such as the system’s case or access
door being opened. A normally closed switch is tied
to the CNT pin and the other contact to the case
chassis, usually ground. The typical solution uses a
pullup resistor on the CNT pin and will continuously
draw battery current. The FM33xx chip allows the
user to invoke a polled mode, which occasionally
samples the pin in order to minimize battery drain. It
internally tries to pull the CNT pin up and if open
circuit will be pulled up to a V
the edge detector and increment the event counter
value. Setting the POLL bit (register 0Dh, bit 1)
places the CNT pin into this mode. This mode allows
the event counter to detect a rising edge tamper event
but the user is restricted to operating in battery-
backed mode (NVC=0) and using rising edge
detection (CP=1). The CNT pin is polled once every
125ms. The additional average I
than 5nA. The polling timer circuit operates from the
RTC, so the oscillator must be enabled for this to
function properly.
CNT
< 100pF
FM33256/FM3316 SPI Companion w/ FRAM
BAK
CP
CNT
(as well as V
Figure 7. Event Counter
DD
is applied and is above the V
Vbak
DD
125ms
IH
) power. The lowest
level, which will trip
16-bit Counter
BAK
FM33xx
current is less
Page 6 of 28
TP

Related parts for fm3316