Cypress CY14B512P-SFXI 512-kbit (64 k ã 8) serial (spi) nvsram with real time clock Datasheet

512-Kbit (64 K × 8) Serial (SPI) nvSRAM
with Real Time Clock
512-Kbit (64 K × 8) Serial (SPI) nvSRAM with Real Time Clock
Features
■
■
512-Kbit nonvolatile static random access memory (nvSRAM)
❐ Internally organized as 64 K × 8
❐ STORE to QuantumTrap nonvolatile elements initiated
automatically on power-down (AutoStore) or by the user
using HSB pin (Hardware STORE) or SPI instruction
(Software STORE)
❐ RECALL to SRAM initiated on power-up (Power-Up
RECALL) or by serial peripheral interface (SPI) instruction
(Software RECALL)
❐ Automatic STORE on power-down with a small capacitor
High reliability
❐
❐
❐
■
Write protection
❐ Hardware protection using Write Protect (WP) pin
❐ Software protection using Write Disable instruction
❐ Software block protection for 1/4, 1/2, or entire array
■
Low power consumption
❐ Single 3 V + 20%, –10% operation
❐ Average active current of 10 mA at 40 MHz operation
■
Industry standard configurations
❐ Industrial temperature
❐ 16-pin small outline integrated circuit (SOIC) package
❐ Restriction of hazardous substances (RoHS) compliant
Overview
Infinite read, write, and RECALL cycles
1 million STORE cycles to QuantumTrap
Data retention: 20 years
■
Real time clock (RTC)
❐ Full featured RTC
❐ Watchdog timer
❐ Clock alarm with programmable interrupts
❐ Capacitor or battery backup for RTC
❐ Backup current of 0.35 µA (typical)
■
High-speed SPI
❐ 40 MHz clock rate – SRAM memory access
❐ 25 MHz clock rate – RTC memory access
❐ Supports SPI mode 0 (0,0) and mode 3 (1,1)
The Cypress CY14B512P combines a 512-Kbit nvSRAM[1] with
a full-featured real time clock in a monolithic integrated circuit
with serial SPI interface. The memory is organized as 64 K words
of 8 bits each. The embedded nonvolatile elements incorporate
the QuantumTrap technology, creating the world’s most reliable
nonvolatile memory. The SRAM provides infinite read and write
cycles, while the QuantumTrap cells provide highly reliable
nonvolatile storage of data. Data transfers from SRAM to the
nonvolatile elements (STORE operation) takes place
automatically at power-down. On power-up, data is restored to
the SRAM from the nonvolatile memory (RECALL operation).
The STORE and RECALL operations can also be initiated by the
user through SPI instruction.
Logic Block Diagram
VCC
CS
WP
SCK
QuantumTrap
64 K X 8
Instruction decode
Write protect
Control logic
STORE/RECALL
Control
RECALL
64 K X 8
Instruction
register
Power Control
STORE
SRAM Array
HOLD
VCAP
HSB
D0-D7
A0-A15
Address
Decoder
Xout
X in
INT
RTC
SI
Data I/O register
MUX
SO
Status Register
Note
1. This device is referred to as nvSRAM throughout the document.
Cypress Semiconductor Corporation
Document Number: 001-53872 Rev. *H
•
198 Champion Court
•
San Jose, CA 95134-1709
•
408-943-2600
Revised August 13, 2012
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
Pinouts .............................................................................. 3
Pin Definitions .................................................................. 3
Device Operation .............................................................. 4
SRAM Write ................................................................. 4
SRAM Read ................................................................ 4
STORE Operation ....................................................... 4
AutoStore Operation .................................................... 4
Software STORE Operation ........................................ 5
Hardware STORE and HSB Pin Operation ................. 5
RECALL Operation ...................................................... 5
Hardware RECALL (Power-Up) .................................. 5
Software RECALL ....................................................... 5
Disabling and Enabling AutoStore ............................... 5
Serial Peripheral Interface ............................................... 6
SPI Overview ............................................................... 6
SPI Modes ......................................................................... 7
SPI Operating Features .................................................... 8
Power-Up .................................................................... 8
Power On Reset .......................................................... 8
Power-Down ................................................................ 8
Active Power and Standby Power Modes ................... 8
SPI Functional Description .............................................. 8
Status Register ................................................................. 9
Read Status Register (RDSR) Instruction ................... 9
Write Status Register (WRSR) Instruction .................. 9
Write Protection and Block Protection ......................... 10
Write Enable (WREN) Instruction .............................. 10
Write Disable (WRDI) Instruction .............................. 10
Block Protection ........................................................ 10
Hardware Write Protection (WP Pin) ......................... 11
Memory Access .............................................................. 11
Read Sequence (READ) instruction .......................... 11
Write Sequence (WRITE) instruction ........................ 11
RTC Access ..................................................................... 12
READ RTC (RDRTC) Instruction .............................. 13
WRITE RTC (WRTC) Instruction ............................... 13
Software STORE (STORE) instruction ...................... 14
Software RECALL (RECALL) instruction .................. 14
AutoStore Enable (ASENB) instruction ..................... 14
AutoStore Disable (ASDISB) instruction ................... 14
HOLD Pin Operation ................................................. 14
Document Number: 001-53872 Rev. *H
Real Time Clock Operation ............................................ 15
nvTIME Operation ..................................................... 15
Clock Operations ....................................................... 15
Reading the Clock ..................................................... 15
Setting the Clock ....................................................... 15
Backup Power ........................................................... 15
Stopping and Starting the Oscillator .......................... 15
Calibrating the Clock ................................................. 16
Alarm ......................................................................... 16
Watchdog Timer ........................................................ 16
Power Monitor ........................................................... 17
Interrupts ................................................................... 17
Interrupt Register ....................................................... 17
Flags Register ........................................................... 18
Accessing the Real Time Clock through SPI ............. 18
Maximum Ratings ........................................................... 23
Operating Range ............................................................. 23
DC Electrical Characteristics ........................................ 23
Data Retention and Endurance ..................................... 24
Capacitance .................................................................... 24
Thermal Resistance ........................................................ 24
AC Test Loads and Waveforms ..................................... 24
AC Test Conditions ........................................................ 24
RTC Characteristics ....................................................... 25
AC Switching Characteristics ....................................... 25
Switching Waveforms .................................................... 26
AutoStore or Power-Up RECALL .................................. 27
Software Controlled STORE/RECALL Cycles .............. 28
Switching Waveforms .................................................... 28
Hardware STORE Cycle ................................................. 29
Switching Waveforms .................................................... 29
Ordering Information ...................................................... 30
Ordering Code Definitions ......................................... 30
Package Diagram ............................................................ 31
Acronyms ........................................................................ 32
Document Conventions ................................................. 32
Units of Measure ....................................................... 32
Document History Page ................................................. 33
Sales, Solutions, and Legal Information ...................... 34
Worldwide Sales and Design Support ....................... 34
Products .................................................................... 34
PSoC Solutions ......................................................... 34
Page 2 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Contents
Pinouts
Figure 1. 16-pin SOIC pinout
NC
1
16
VCC
VRTCbat
2
15
INT
Xout
3
14
VCAP
13
SO
Xin
4
Top View
not to scale
WP
5
12
SI
HOLD
6
11
SCK
VRTCcap
7
10
CS
VSS
8
9
HSB
Pin Definitions
Pin Name
I/O Type
Description
CS
Input
Chip select. Activates the device when pulled LOW. Driving this pin HIGH puts the device in low power
standby mode.
SCK
Input
Serial clock. Runs at speeds up to maximum of fSCK. Serial input is latched at the rising edge of this
clock. Serial output is driven at the falling edge of the clock.
SI
Input
Serial input. Pin for input of all SPI instructions and data.
SO
Output
WP
Input
Write protect. Implements hardware write protection in SPI.
Input
HOLD pin. Suspends serial operation.
HOLD
Serial output. Pin for output of data through SPI.
HSB
Input/Output Hardware STORE busy:
Output: Indicates busy status of nvSRAM when LOW. After each Hardware and Software STORE
operation HSB is driven HIGH for a short time (tHHHD) with standard output high current and then a weak
internal pull-up resistor keeps this pin HIGH (an external pull-up resistor connection is optional).
Input: Hardware STORE implemented by pulling this pin LOW externally.
VCAP
Power supply AutoStore capacitor. Supplies power to the nvSRAM during power loss to STORE data from the SRAM
to nonvolatile elements. If AutoStore is not needed, this pin must be left as ‘no connect’. It must never
be connected to ground.
VRTCcap[2] Power supply Capacitor backup for RTC. Left unconnected if VRTCbat is used.
VRTCbat[2] Power supply Battery backup for RTC. Left unconnected if VRTCcap is used.
Xout[2]
Xin
Output
[2]
Input
[2]
Output
INT
NC
No connect
Crystal output connection. Drives crystal on start up.
Crystal input connection. For 32.768 kHz crystal.
Interrupt output. Programmable to respond to the clock alarm, the watchdog timer, and the power
monitor. It is also programmable to either active HIGH (push or pull) or LOW (open drain).
No connect. This pin is not connected to the die.
VSS
Power supply Ground.
VCC
Power supply Power supply (2.7 V to 3.6 V).
Note
2. Left unconnected if RTC feature is not used.
Document Number: 001-53872 Rev. *H
Page 3 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
CY14B512P is a 512-Kbit nvSRAM memory with integrated RTC
and SPI interface. All the reads and writes to nvSRAM happen
to the SRAM, which gives nvSRAM the unique capability to
handle infinite writes to the memory. The data in SRAM is
secured by a STORE sequence that transfers the data in parallel
to the nonvolatile QuantumTrap cells. A small capacitor (VCAP)
is used to AutoStore the SRAM data in nonvolatile cells when
power goes down, providing power-down data security. The
QuantumTrap nonvolatile elements built in the reliable SONOS
technology make nvSRAM the ideal choice for secure data
storage.
In CY14B512P, the 512-Kbit memory array is organized as
64 K words × 8 bits. The memory is accessed through a standard
SPI interface that enables very high clock speeds up to 40 MHz
with zero cycle delay read and write cycles. CY14B512P
supports SPI modes 0 and 3 (CPOL, CPHA = 0, 0 and 1, 1) and
operates as a SPI slave. The device is enabled using the chip
select (CS) pin and accessed through serial input (SI), serial
output (SO), and serial clock (SCK) pins.
CY14B512P provides the feature for hardware and software
write protection through the WP pin and WRDI instruction.
CY14B512P also provides mechanisms for block write
protection (quarter, half, or full array) using BP0 and BP1 pins in
the Status Register. Further, the HOLD pin is used to suspend
any serial communication without resetting the serial sequence.
CY14B512P uses the standard SPI opcodes for memory access.
In addition to the general SPI instructions for read and write,
CY14B512P provides four special instructions that allow access
to four nvSRAM specific functions: STORE, RECALL, AutoStore
Disable (ASDISB), and AutoStore Enable (ASENB).
The major benefit of nvSRAM over serial EEPROMs is that all
reads and writes to nvSRAM are performed at the speed of SPI
bus with zero cycle delay. Therefore, no wait time is required
after any of the memory accesses. The STORE and RECALL
operations need finite time to complete and all memory accesses
are inhibited during this time. While a STORE or RECALL
operation is in progress, the busy status of the device is indicated
by the Hardware STORE Busy (HSB) pin and also reflected on
the RDY bit of the Status Register.
SRAM Write
All writes to nvSRAM are carried out on the SRAM and do not
use up any endurance cycles of the nonvolatile memory. This
enables the user to perform infinite write operations. A write cycle
is performed through the WRITE instruction. The WRITE
instruction is issued through the SI pin of the nvSRAM and
consists of the WRITE opcode, two bytes of address, and one
byte of data. Write to nvSRAM is done at SPI bus speed with zero
cycle delay.
CY14B512P allows burst mode writes to be performed through
SPI. This enables write operations on consecutive addresses
without issuing a new WRITE instruction. When the last address
in memory is reached in burst mode, the address rolls over to
0x0000 and the device continues to write.
The SPI write cycle sequence is defined in the memory access
section of SPI protocol description.
Document Number: 001-53872 Rev. *H
SRAM Read
A read cycle in CY14B512P is performed at the SPI bus speed
and the data is read out with zero cycle delay after the READ
instruction is executed. The READ instruction is issued through
the serial input (SI) pin of the nvSRAM and consists of the READ
opcode and two bytes of address. The data is read out on the
serial output (SO) pin.
CY14B512P allows burst mode reads to be performed through
SPI. This enables reads on consecutive addresses without
issuing a new READ instruction. When the last address in
memory is reached in burst mode read, the address rolls over to
0x0000 and the device continues to read.
The SPI read cycle sequence is defined in the memory access
section of SPI protocol description.
STORE Operation
STORE operation transfers the data from the SRAM to the
nonvolatile QuantumTrap cells. The CY14B512P STOREs data
to the nonvolatile cells using one of the three STORE operations:
AutoStore, activated on device power-down; Software STORE,
activated by a STORE instruction; and Hardware STORE,
activated by the HSB. During the STORE cycle, an erase of the
previous nonvolatile data is first performed, followed by a
program of the nonvolatile elements. After a STORE cycle is
initiated, read/write to CY14B512P is inhibited until the cycle is
completed.
The HSB signal or the RDY bit in the Status Register can be
monitored by the system to detect if a STORE or Software
RECALL cycle is in progress. The busy status of nvSRAM is
indicated by HSB being pulled LOW or the RDY bit being set to
‘1’. To avoid unnecessary nonvolatile STOREs, AutoStore and
Hardware STORE operations are ignored unless at least one
write operation takes place since the most recent STORE or
RECALL cycle. However, software initiated STORE cycles are
performed regardless of whether a write operation has taken
place.
AutoStore Operation
The AutoStore operation is a unique feature of nvSRAM which
automatically stores the SRAM data to QuantumTrap cells
during power-down. This STORE makes use of an external
capacitor (VCAP) and enables the device to safely STORE the
data in the nonvolatile memory when power goes down.
During normal operation, the device draws current from VCC to
charge the capacitor connected to the VCAP pin. When the
voltage on the VCC pin drops below VSWITCH during power-down,
the device inhibits all memory accesses to nvSRAM and
automatically performs a conditional STORE operation using the
charge from the VCAP capacitor. The AutoStore operation is not
initiated if no write cycle was performed since the last RECALL.
Note If a capacitor is not connected to VCAP pin, AutoStore must
be disabled by issuing the AutoStore Disable instruction
specified in AutoStore Disable (ASDISB) instruction on page 14.
If AutoStore is enabled without a capacitor on VCAP pin, the
device attempts an AutoStore operation without sufficient charge
to complete the Store. This corrupts the data stored in nvSRAM
and Status Register. To resume normal functionality, the WRSR
instruction must be issued to update the nonvolatile bits BP0,
BP1 and WPEN in the Status Register.
Page 4 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Device Operation
Figure 2 shows the proper connection of the storage capacitor
(VCAP) for AutoStore operation. Refer to DC Electrical
Characteristics on page 23 for the size of the VCAP.
Upon completion of the STORE operation, the nvSRAM memory
access is inhibited for tLZHSB time after HSB pin returns HIGH.
The HSB pin must be left unconnected if not used.
Figure 2. AutoStore Mode
RECALL Operation
A RECALL operation transfers the data stored in the nonvolatile
QuantumTrap elements to the SRAM. In CY14B512P, a
RECALL may be initiated in two ways: Hardware RECALL,
initiated on power-up; and Software RECALL, initiated by a SPI
RECALL instruction.
VCC
10 kOhm
0.1 uF
Internally, RECALL is a two step procedure. First, the SRAM data
is cleared. Next, the nonvolatile information is transferred into the
SRAM cells. All memory accesses are inhibited while a RECALL
cycle is in progress. The RECALL operation does not alter the
data in the nonvolatile elements.
VCC
CS
VCAP
VSS
Hardware RECALL (Power-Up)
VCAP
During power-up, when VCC crosses VSWITCH, an automatic
RECALL sequence is initiated, which transfers the content of
nonvolatile memory on to the SRAM.
A Power-Up RECALL cycle takes tFA time to complete and the
memory access is disabled during this time. HSB pin is used to
detect the Ready status of the device.
Software STORE Operation
Software STORE allows the user to trigger a STORE operation
through a special SPI instruction. The STORE operation is
initiated by executing a STORE instruction regardless of whether
a write has been performed since the last NV operation.
A STORE cycle takes tSTORE time to complete, during which all
the memory accesses to nvSRAM are inhibited. The RDY bit of
the Status Register or the HSB pin may be polled to find the
Ready / Busy status of the nvSRAM. After the tSTORE cycle time
is completed, the SRAM is activated again for read and write
operations.
Hardware STORE and HSB Pin Operation
The HSB pin in CY14B512P is used to control and acknowledge
STORE operations. If no STORE/RECALL is in progress, this pin
can be used to request a Hardware STORE cycle. When the
HSB pin is driven LOW, the CY14B512P conditionally initiates a
STORE operation after tDELAY duration. A STORE cycle starts
only if a write to the SRAM was performed since the last STORE
or RECALL cycle. Reads and writes to the memory are inhibited
for tSTORE duration or as long as HSB pin is LOW.
The HSB pin also acts as an open drain driver (internal 100-k
weak pull-up resistor) that is internally driven LOW to indicate a
busy condition when the STORE (initiated by any means) is in
progress.
Note After each Hardware and Software STORE operation HSB
is driven HIGH for a short time (tHHHD) with standard output high
current and then remains HIGH by an internal 100-k pull-up
resistor.
Software RECALL
Software RECALL allows the user to initiate a RECALL operation
to restore the content of nonvolatile memory on to the SRAM. In
CY14B512P, this can be done by issuing a RECALL instruction
in SPI.
A Software RECALL takes tRECALL time to complete during
which all memory accesses to nvSRAM are inhibited. The
controller must provide sufficient delay for the RECALL operation
to complete before issuing any memory access instructions.
Disabling and Enabling AutoStore
If the application does not require the AutoStore feature, it can
be disabled in CY14B512P by using the ASDISB instruction. If
this is done, the nvSRAM does not perform a STORE operation
at power-down.
AutoStore can be re-enabled by using the ASENB instruction.
However, these operations are not nonvolatile and if the user
needs this setting to survive the power cycle, a STORE operation
must be performed following AutoStore Disable or Enable
operation.
Note CY14B512P comes from the factory with AutoStore
Enabled and 0x00 written in all cells.
Note If AutoStore is disabled and VCAP is not required, then the
VCAP pin must be left open. The VCAP pin must never be
connected to ground. The Power-Up RECALL operation cannot
be disabled in any case.
Note For successful last data byte STORE, a hardware store
should be initiated atleast one clock cycle after the last data bit
D0 is received.
Document Number: 001-53872 Rev. *H
Page 5 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Serial Peripheral Interface
Serial Clock (SCK)
SPI Overview
Serial clock is generated by the SPI master and the
communication is synchronized with this clock after CS goes
LOW.
The SPI is a four-pin interface with chip select (CS), serial input
(SI), serial output (SO), and serial clock (SCK) pins. CY14B512P
provides serial access to nvSRAM through SPI interface. The
SPI bus on CY14B512P can run at speeds up to 40 MHz for all
instructions except RDRTC which runs at 25 MHz.
The SPI is a synchronous serial interface which uses clock and
data pins for memory access and supports multiple devices on
the data bus. A device on SPI bus is activated using the CS pin.
The relationship between chip select, clock, and data is dictated
by the SPI mode. CY14B512P supports SPI modes 0 and 3. In
both these modes, data is clocked into the nvSRAM on the rising
edge of SCK starting from the first rising edge after CS goes
active.
The SPI protocol is controlled by opcodes. These opcodes
specify the commands from the bus master to the slave device.
After CS is activated the first byte transferred from the bus
master is the opcode. Following the opcode, any addresses and
data are then transferred. The CS must go inactive after an
operation is complete and before a new opcode can be issued.
The commonly used terms used in SPI protocol are as follows.
SPI Master
The SPI master device controls the operations on a SPI bus. A
SPI bus may have only one master with one or more slave
devices. All the slaves share the same SPI bus lines and the
master may select any of the slave devices using the CS pin. All
the operations must be initiated by the master activating a slave
device by pulling the CS pin of the slave LOW. The master also
generates the SCK and all the data transmission on SI and SO
lines are synchronized with this clock.
SPI Slave
The SPI slave device is activated by the master through the chip
select line. A slave device gets the SCK as an input from the SPI
master and all the communication is synchronized with this
clock. SPI slave never initiates a communication on the SPI bus
and acts on the instruction from the master.
CY14B512P operates as a slave device and may share the SPI
bus with multiple CY14B512P devices or other SPI devices.
Chip Select (CS)
For selecting any slave device, the master needs to pull down
the corresponding CS pin. Any instruction can be issued to a
slave device only when the CS pin is LOW.
CY14B512P allows SPI modes 0 and 3 for data communication.
In both these modes, the inputs are latched by the slave device
on the rising edge of SCK and outputs are issued on the falling
edge. Therefore, the first rising edge of SCK signifies the arrival
of the first bit (MSB) of SPI instruction on the SI pin. Further, all
data inputs and outputs are synchronized with SCK.
Data Transmission SI/SO
SPI data bus consists of two lines, SI and SO, for serial data
communication. The SI is also referred to as Master Out Slave
In (MOSI) and SO is referred to as Master In Slave Out (MISO).
The master issues instructions to the slave through the SI pin,
while the slave responds through the SO pin. Multiple slave
devices may share the SI and SO lines as described earlier.
CY14B512P has two separate pins for SI and SO which can be
connected with the master as shown in Figure 3 on page 7.
Most Significant Bit (MSB)
The SPI protocol requires that the first bit to be transmitted is the
most significant bit (MSB). This is valid for both address and data
transmission.
CY14B512P requires a 2-byte address for any read or write
operation.
Serial Opcode
After the slave device is selected with CS going LOW, the first
byte received is treated as the opcode for the intended operation.
CY14B512P uses the standard opcodes for memory accesses.
In addition to the memory accesses, CY14B512P provides
additional opcodes for the nvSRAM specific functions: STORE,
RECALL, AutoStore Enable, and AutoStore Disable. Refer to
Table 1 on page 8 for details on opcodes.
Invalid Opcode
If an invalid opcode is received, the opcode is ignored and the
device ignores any additional serial data on the SI pin till the next
falling edge of CS and the SO pin remains tristated.
Status Register
CY14B512P has an 8-bit Status Register. The bits in the Status
Register are used to configure the SPI bus. These bits are
described in the Table 3 on page 9.
The CY14B512P is selected when the CS pin is LOW. When the
device is not selected, data through the SI pin is ignored and the
serial output pin (SO) remains in a high-impedance state.
Note A new instruction must begin with the falling edge of CS.
Therefore, only one opcode can be issued for each active Chip
Select cycle.
Document Number: 001-53872 Rev. *H
Page 6 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Figure 3. System Configuration using SPI nvSRAM
SCK
M OSI
M IS O
SCK
SI
SO
SCK
SI
SO
u C o n tro lle r
C Y14B 512P
C Y14B 512P
HO LD
CS
CS
HO LD
CS1
HO LD 1
CS2
HO LD 2
SPI Modes
CY14B512P device may be driven by a microcontroller with its
SPI peripheral running in either of these two modes:
■
SPI Mode 0 (CPOL = 0, CPHA = 0)
■
SPI Mode 3 (CPOL = 1, CPHA = 1)
For both these modes, the input data is latched in on the rising
edge of SCK starting from the first rising edge after CS goes
active. If the clock starts from a HIGH state (in mode 3), the first
rising edge after the clock toggles is considered. The output data
is available on the falling edge of SCK.
The two SPI modes are shown in Figure 4 and Figure 5. The
status of clock when the bus master is in standby mode and not
transferring data is:
■
SCK remains at 0 for Mode 0
■ SCK remains at 1 for Mode 3
CPOL and CPHA bits must be set in the SPI controller for the
either Mode 0 or Mode 3. CY14B512P detects the SPI mode
from the status of SCK pin when the device is selected by
bringing the CS pin LOW. If SCK pin is LOW when the device is
selected, SPI Mode 0 is assumed and if SCK pin is HIGH,
CY14B512P works in SPI Mode 3.
Figure 5. SPI Mode 3
Figure 4. SPI Mode 0
CS
CS
0
0
1
2
3
4
5
6
7
1
2
3
4
5
6
7
SCK
SCK
SI
SI
7
6
5
4
3
2
MSB
Document Number: 001-53872 Rev. *H
1
0
7
MSB
6
5
4
3
2
1
0
LSB
LSB
Page 7 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
SPI Operating Features
Active Power and Standby Power Modes
Power-Up
When CS is LOW, the device is selected and is in the active
power mode. The device consumes ICC current, as specified in
DC Electrical Characteristics on page 23. When CS is HIGH, the
device is deselected and the device goes into the standby power
mode if a STORE or RECALL cycle is not in progress. If a
STORE/RECALL cycle is in progress, the device goes into the
standby power mode after the STORE/RECALL cycle is
completed. In the standby power mode, the current drawn by the
device drops to ISB.
Power-up is defined as the condition when the power supply is
turned on and VCC crosses Vswitch voltage. During this time, the
CS must be enabled to follow the VCC voltage. Therefore, CS
must be connected to VCC through a suitable pull-up resistor. As
a built in safety feature, CS is both edge-sensitive and
level-sensitive. After power-up, the device is not selected until a
falling edge is detected on CS. This ensures that CS is HIGH,
before going LOW to start the first operation.
As described earlier, nvSRAM performs a Power-Up RECALL
operation after power-up and therefore, all memory accesses are
disabled for tFA duration after power-up. The HSB pin can be
probed to check the Ready/Busy status of nvSRAM after
power-up.
Power On Reset
A power on reset (POR) circuit is included to prevent inadvertent
writes. At power-up, the device does not respond to any
instruction until the VCC reaches the POR threshold voltage
(VSWITCH). After VCC transitions the POR threshold, the device
is internally reset and performs an Power-Up RECALL operation.
During Power-Up RECALL all device accesses are inhibited.
The device is in the following state after POR:
■
Deselected (after power-up, a falling edge is required on CS
before any instructions are started).
■
Standby power mode
■
Not in the HOLD condition
Status Register state:
❐ Write Enable (WEN) bit is reset to ‘0’.
❐ WPEN, BP1, BP0 unchanged from previous STORE
operation
❐ Don’t care bits 4-6 are reset to 0.
The WPEN, BP1, and BP0 bits of the Status Register are
nonvolatile bits and remain unchanged from the previous
STOERE operation.
SPI Functional Description
The CY14B512P uses an 8-bit instruction register. Instructions
and their operation codes are listed in Table 1. All instructions,
addresses, and data are transferred with the MSB first and start
with a HIGH to LOW CS transition. There are, in all, 12 SPI
instructions that provide access to most of the functions in
nvSRAM. Further, the WP, HOLD and HSB pins provide
additional functionality driven through hardware.
Table 1. Instruction Set
Instruction
Category
Status
Register
instructions
■
Before selecting and issuing instructions to the memory, a valid
and stable VCC voltage must be applied. This voltage must
remain valid until the end of the instruction transmission.
Power-Down
At power-down (continuous decay of VCC), when VCC drops from
the normal operating voltage and below the VSWITCH threshold
voltage, the device stops responding to any instruction sent to it.
If a write cycle is in progress and the last data bit D0 has been
received when the power goes down, it is allowed tDELAY time to
complete the write. After this, all memory accesses are inhibited
and a conditional AutoStore operation is performed (AutoStore is
not performed if no writes have happened since last RECALL
cycle). This feature prevents inadvertent writes to nvSRAM from
happening during power-down.
However, to avoid the possibility of inadvertent writes during
power-down, ensure that the device is deselected and is in
standby power mode, and the CS follows the voltage applied on
VCC.
Document Number: 001-53872 Rev. *H
SRAM
Read/Write
instructions
RTC
Read/Write
instructions
Special NV
instructions
Reserved
Instruction
Name
WREN
Opcode
Operation
0000 0110
WRDI
0000 0100
RDSR
0000 0101
WRSR
0000 0001
READ
0000 0011
WRITE
0000 0010
RDRTC
0001 0011
WRTC
0001 0010
STORE
RECALL
0011 1100
0110 0000
Set Write Enable
latch
Reset Write
Enable latch
Read Status
Register
Write Status
Register
Read data from
memory array
Write data to
memory array
Read RTC
registers
Write RTC
registers
Software STORE
Software
RECALL
AutoStore Enable
ASENB
0101 1001
ASDISB
- Reserved -
0001 1001
0001 1110
AutoStore Disable
The SPI instructions in CY14B512P are divided based on their
functionality in the following types:
❐ Status Register access: RDSR and WRSR instructions
❐ Write protection functions: WREN and WRDI instructions
along with WP pin and WEN, BP0, and BP1 bits
❐ SRAM memory access: READ and WRITE instructions
❐ RTC access: RDRTC and WRTC instructions
❐ nvSRAM special instructions: STORE, RECALL, ASENB,
and ASDISB
Page 8 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
The Status Register bits are listed in Table 2. The Status Register consists of a Ready bit (RDY) and data protection bits WEN, BP0,
BP1 and WPEN. The RDY bit can be polled to check the Ready / Busy status while a nvSRAM STORE or Software RECALL cycle
is in progress. The Status Register can be modified by WRSR instruction and read by RDSR instruction. However, only the WPEN,
BP1, and BP0 bits of the Status Register can be modified by using the WRSR instruction. The WRSR instruction has no effect on
WEN and RDY bits. The default value shipped from the factory for BP1, BP0, bits 4-6 and WPEN bits is ‘0’.
Table 2. Status Register Format
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
WPEN (0)
X (0)
X (0)
X (0)
BP1 (0)
BP0 (0)
WEN (0)
RDY
Table 3. Status Register Bit Definition
Bit
Definition
Description
Bit 0 (RDY)
Ready
Read only bit indicates the Ready status of device to perform a memory access. This
bit is set to ‘1’ by the device while a STORE or Software RECALL cycle is in progress.
Bit 1 (WEN)
Write Enable
WEN indicates if the device is Write Enabled. This bit defaults to ‘0’ (disabled) on
power-up.
WEN = '1' --> Write Enabled
WEN = '0' --> Write Disabled
Bit 2 (BP0)
Block protect bit ‘0’
Used for block protection. For details see Table 4 on page 10.
Bit 3 (BP1)
Block protect bit ‘1’
Used for block protection. For details see Table 4 on page 10.
Bit 4-6
Don’t care
Bits are writable and volatile. On power-up, bits are written with ‘0’.
Bit 7(WPEN)
Write protect enable bit
Used for enabling the function of Write Protect Pin (WP). For details see Table 5 on
page 11.
Read Status Register (RDSR) Instruction
to select one of four levels of block protection. Further, WPEN bit
must be set to ‘1’ to enable the use of Write Protect (WP) pin.
The RDSR instruction provides access to the Status Register.
This instruction is used to probe the Write Enable status of the
device or the Ready status of the device. RDY bit is set by the
device to ‘1’ whenever a STORE or Software RECALL cycle is
in progress. The block protection and WPEN bits indicate the
extent of protection employed.
WRSR instruction is a write instruction and needs writes to be
enabled (WEN bit set to ‘1’) using the WREN instruction before
it is issued. The instruction is issued after the falling edge of CS
using the opcode for WRSR followed by eight bits of data to be
stored in the Status Register. Only bits 2, 3, and 7 can be
modified by WRSR instruction; therefore, it is recommended to
leave the bits 4-6 as ‘0’ while writing to the Status Register.
This instruction is issued after the falling edge of CS using the
opcode for RDSR.
Note In CY14B512P, the values written to Status Register are
saved to nonvolatile memory only after a STORE operation. If
AutoStore is disabled, any modifications to the Status Register
must be secured by performing a Software STORE operation.
Write Status Register (WRSR) Instruction
The WRSR instruction enables the user to write to the Status
Register. However, this instruction cannot be used to modify bit
0 and bit 1 (RDY and WEN). The BP0 and BP1 bits can be used
Figure 6. Read Status Register (RDSR) Instruction Timing
CS
0
1
2
3
4
5
6
7
0
1
0
MSB
1
2
3
4
5
6
7
SCK
SI
0
SO
0
0
0
HI-Z
0
1
0
D7 D6 D5 D4 D3 D2 D1 D0
MSB
Document Number: 001-53872 Rev. *H
LSB
Data
LSB
Page 9 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Status Register
Figure 7. Write Status Register (WRSR) Instruction Timing
CS
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
SCK
Data in
Opcode
SI
0
0
0
0
0
0
0
1 D7 X
MSB
X
X D3 D2 X
X
LSB
HI-Z
SO
Write Protection and Block Protection
Write Disable (WRDI) Instruction
CY14B512P provides features for both software and hardware
write protection using WRDI instruction and WP. Additionally, this
device also provides block protection mechanism through BP0
and BP1 pins of the Status Register.
Write Disable instruction disables the write by clearing the WEN
bit to ‘0’ in order to protect the device against inadvertent writes.
This instruction is issued following the falling edge of CS followed
by opcode for WRDI instruction. The WEN bit is cleared on the
rising edge of CS following a WRDI instruction.
The Write Enable and Disable status of the device is indicated
by WEN bit of the Status Register. The write instructions (WRSR,
WRITE, and WRTC) and nvSRAM special instruction (STORE,
RECALL, ASENB, ASDISB) need the write to be enabled (WEN
bit = ‘1’) before they can be issued.
Write Enable (WREN) Instruction
On power-up, the device is always in the write disable state. The
following WRITE, WRSR, WRTC, or nvSRAM special instruction
must therefore be preceded by a Write Enable instruction. If the
device is not Write Enabled (WEN = ‘0’), it ignores the write
instructions and returns to the standby state when CS is brought
HIGH. A new CS falling edge is required to re-initiate serial
communication. The instruction is issued following the falling
edge of CS. When this instruction is used, the WEN bit of Status
Register is set to ‘1’. WEN bit defaults to ‘0’ on power-up.
Note After completion of a write instruction (WRSR, WRITE, or
WRTC) or nvSRAM special instruction (STORE, RECALL,
ASENB, ASDISB) instruction, WEN bit is cleared to ‘0’. This is
done to provide protection from any inadvertent writes.
Therefore, WREN instruction must be used before a new write
instruction is issued.
Figure 8. WREN Instruction
1
2
3
4
5
6
7
SCK
SI
SO
0
0
0
CS
0
0
0
1
1
0
1
2
3
4
5
6
7
SCK
SI
0
0
0
0
0
1
0
0
HI-Z
SO
Block Protection
Block protection is provided using the BP0 and BP1 pins of the
Status Register. These bits can be set using WRSR instruction
and probed using the RDSR instruction. The nvSRAM is divided
into four array segments. one-quarter, one-half, or all of the
memory segments can be protected. Any data within the
protected segment is read only. Table 4 shows the function of
block protect bits.
Table 4. Block Write Protect Bits
Level
CS
0
Figure 9. WRDI Instruction
Status Register Bits
Array Addresses Protected
BP1
BP0
0
0
0
None
1 (1/4)
0
1
0xC000-0xFFFF
2 (1/2)
1
0
0x8000-0xFFFF
3 (All)
1
1
0x0000-0xFFFF
HI-Z
Document Number: 001-53872 Rev. *H
Page 10 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Hardware Write Protection (WP Pin)
After the CS line is pulled LOW to select a device, the read
opcode is transmitted through the SI line followed by two bytes
of address. After the last address bit is transmitted on the SI pin,
the data (D7-D0) at the specific address is shifted out on the SO
line on the falling edge of SCK starting with D7. Any other data
on SI line after the last address bit is ignored.
The write protect pin (WP) is used to provide hardware write
protection. WP pin allows all normal read and write operations
when held HIGH. When the WP pin is brought LOW and WPEN
bit is ‘1’ all write operations to the Status Register are inhibited.
The hardware write protection function is blocked when the
WPEN bit is ‘0’. This allows the user to install the CY14B512P in
a system with the WP pin tied to ground, and still write to the
Status Register.
CY14B512P allows reads to be performed in bursts through SPI
which can be used to read consecutive addresses without
issuing a new READ instruction. If only one byte is to be read,
the CS line must be driven HIGH after one byte of data comes
out. However, the read sequence may be continued by holding
the CS line LOW and the address is automatically incremented
and data continues to shift out on SO pin. When the last data
memory address (0xFFFF) is reached, the address rolls over to
0x0000 and the device continues to read.
WP pin can be used along with WPEN and block protect bits
(BP1 and BP0) of the Status Register to inhibit writes to memory.
When WP pin is LOW and WPEN is set to ‘1’, any modifications
to the Status Register are disabled. Therefore, the memory is
protected by setting the BP0 and BP1 bits and the WP pin inhibits
any modification of the Status Register bits, providing hardware
write protection.
Write Sequence (WRITE) instruction
Note WP going LOW when CS is still LOW has no effect on any
of the ongoing write operations to the Status Register.
The write operations on CY14B512P are performed through the
SI pin. To perform a write operation CY14B512P, if the device is
write disabled, then the device must first be Write Enabled
through the WREN instruction. When the writes are enabled
(WEN = ‘1’), WRITE instruction is issued after the falling edge of
CS. A WRITE instruction constitutes transmitting the WRITE
opcode on SI line followed by 2 bytes of address and the data
(D7-D0) which is to be written.
Table 5 summarizes all the protection features provided in the
CY14B512P.
Table 5. Write Protection Operation
WPEN
WP
Unprotected Status
WEN Protected
Blocks
Blocks
Register
X
X
0
Protected
Protected
Protected
0
X
1
Protected
Writable
Writable
1
LOW
1
Protected
Writable
Protected
1
HIGH
1
Protected
Writable
Writable
CY14B512P allows writes to be performed in bursts through SPI
which can be used to write consecutive addresses without
issuing a new WRITE instruction. If only one byte is to be written,
the CS line must be driven HIGH after the D0 (LSB of data) is
transmitted. However, if more bytes are to be written, CS line
must be held LOW and address incremented automatically. The
following bytes on the SI line are treated as data bytes and
written in the successive addresses. When the last data memory
address (0xFFFF) is reached, the address rolls over to 0x0000
and the device continues to write. The WEN bit is reset to ‘0’ on
completion of a WRITE sequence.
Memory Access
All memory accesses are done using the READ and WRITE
instructions. These instructions cannot be used while a STORE
or RECALL cycle is in progress. A STORE cycle in progress is
indicated by the RDY bit of the Status Register and the HSB pin.
Note When a burst write reaches a protected block address, it
continues the address increment into the protected space but
does not write any data to the protected memory. If the address
roll over takes the burst write to unprotected space, it resumes
writes. The same operation is true if a burst write is initiated
within a write protected block.
Read Sequence (READ) instruction
The read operations on CY14B512P are performed by giving the
instruction on the SI pin and reading the output on SO pin. The
following sequence needs to be followed for a read operation:
Figure 10. Read Instruction Timing
CS
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
SCK
0
0
0
0
0
0
12 13 14 15 0
1
2
3
4
5
6
7
16-bit Address
Op-Code
SI
~
~ ~
~
0
1
SO
1 15 14 13 12 11 10 9
MSB
HI-Z
8
3
2
1
0
LSB
D7 D6 D5 D4 D3 D2 D1 D0
LSB
Data
MSB
Document Number: 001-53872 Rev. *H
Page 11 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Figure 11. Burst Mode Read Instruction Timing
1
2
3
4
5
6
0
7
1
2
3
4
5
6
7
Op-Code
0
0
0
0
0
0
1
2
3
4
5
6
7
0
0
7
1
2
3
4
5
6
7
16-bit Address
1
0
1
15 14 13 12 11 10
9
~
~
SI
12 13 14 15
~
~
0
SCK
~
~
CS
8
MSB
3
2
1
0
LSB
Data Byte N
~
~
Data Byte 1
HI-Z
SO
D7 D6 D5 D4 D3 D2 D1 D0 D7 D0 D7 D6 D5 D4 D3 D2 D1 D0
MSB
MSB
LSB
LSB
Figure 12. Write Instruction Timing
CS
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
Op-Code
SI
0
0
0
0
0
~
~ ~
~
0
SCK
12 13
14 15
0
1
2
3
4
5
6
7
16-bit Address
0
0
1
15 14 13 12 11 10
9
8
MSB
2
3
1
0
D7 D6 D5 D4 D3 D2 D1 D0
LSB MSB
LSB
Data
HI-Z
SO
Figure 13. Burst Mode Write Instruction Timing
CS
2
3
4
5
6
7
0
1
2
3
4
5
6
7
12 13 14 15
0
1
2
3
4
5
6
7
0
0
0
0
0
0
1
0
15 14 13 12 11 10
9
8
3
2
SO
1
0
2
3
4
5
6
7
D7 D6 D5 D4 D3 D2 D1 D0 D7 D0 D7 D6 D5 D4 D3 D2 D1 D0
LSB MSB
MSB
1
~
~
0
~
~
SI
16-bit Address
0
Data Byte N
Data Byte 1
Op-Code
7
~
~
1
~
~
0
SCK
LSB
HI-Z
RTC Access
timekeeping registers to ensure that transitional values of time
are not read.
CY14B512P uses 16 registers for RTC. These registers can be
read out or written to by accessing all 16 registers in burst mode
or accessing each register, one at a time. The RDRTC and
WRTC instructions are used to access the RTC.
Writes to the RTC register are performed using the WRTC
instruction. Writing RTC timekeeping registers and control
registers, except for the flags register needs the ‘W’ bit of the
flags register to be set to ‘1’. The internal counters are updated
with the new date and time setting when the ‘W’ bit is cleared to
‘0’. All the RTC registers can also be written in burst mode using
the WRTC instruction.
All the RTC registers can be read in burst mode by issuing the
RDRTC instruction and reading all 16 bytes without bringing the
CS pin HIGH. The ‘R’ bit must be set while reading the RTC
Document Number: 001-53872 Rev. *H
Page 12 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
READ RTC (RDRTC) Instruction
The ‘R’ bit in RTC flags register must be set to '1' before reading
RTC time keeping registers to avoid reading transitional data.
Modifying the RTC flags register requires a Write RTC cycle. The
R bit must be cleared to '0' after completion of the read operation.
Read RTC (RDRTC) instruction allows the user to read the
contents of RTC registers. Reading the RTC registers through
the SO pin requires the following sequence: After the CS line is
pulled LOW to select a device, the RDRTC opcode is transmitted
through the SI line followed by eight address bits for selecting the
register. Any data on the SI line after the address bits is ignored.
The data (D7-D0) at the specified address is then shifted out onto
the SO line. RDRTC also allows burst mode read operation.
When reading multiple bytes from RTC registers, the address
rolls over to 0x00 after the last RTC register address (0x0F) is
reached.
The easiest way to read RTC registers is to perform RDRTC in
burst mode. The read may start from the first RTC register (0x00)
and the CS must be held LOW to allow the data from all 16 RTC
registers to be transmitted through the SO pin.
Note Read RTC (RDRTC) instruction operates at a maximum
clock frequency of 25 MHz. The opcode cycles, address cycles
and data out cycles need to run at 25 MHz for the instruction to
work properly.
Figure 14. Read RTC (RDRTC) Instruction Timing
CS
0
1
2
3
4
5
1
7
0
1
0 0
MSB
6
2
3
4
5
6
7
0
1
2
3
4
5
6
7
SCK
Op-Code
SI
0
0
0
1
0
0
1
0
0 A3 A2 A1 A0
LSB
SO
D7 D6 D5 D4 D3 D2 D1 D0
MSB
WRITE RTC (WRTC) Instruction
LSB
Data
bytes of data. WRTC allows burst mode write operation. When
writing more than one registers in burst mode, the address rolls
over to 0x00 after the last RTC address (0x0F) is reached.
WRITE RTC (WRTC) instruction allows the user to modify the
contents of RTC registers. The WRTC instruction requires the
WEN bit to be set to '1' before it can be issued. If WEN bit is '0',
a WREN instruction needs to be issued before using WRTC.
Writing RTC registers requires the following sequence: After the
CS line is pulled LOW to select a device, WRTC opcode is
transmitted through the SI line followed by eight address bits
identifying the register which is to be written to and one or more
Note that writing to RTC timekeeping and control registers
require the W bit to be set to '1'. The values in these RTC
registers take effect only after the ‘W’ bit is cleared to '0'. Write
Enable bit (WEN) is automatically cleared to ‘0’ after completion
of the WRTC instruction.
Figure 15. Write RTC (WRTC) Instruction Timing
CS
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
SCK
Op-Code
SI
0
0
0
1
0
0
4-bit Address
1
0
0
0
0
0
A3 A2 A1 A0
MSB
SO
Document Number: 001-53872 Rev. *H
D7 D6 D5 D4 D3 D2 D1 D0
LSB MSB
Data
LSB
HI-Z
Page 13 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
nvSRAM Special Instructions
AutoStore Enable (ASENB) instruction
CY14B512P provides four special instructions that allow access
to the nvSRAM specific functions: STORE, RECALL, ASDISB,
and ASENB. Table 6 lists these instructions.
The AutoStore Enable instruction enables the AutoStore on
CY14B512P. This setting is not nonvolatile and needs to be
followed by a STORE sequence if this is desired to survive the
power cycle.
Table 6. nvSRAM Special Instructions
Function Name
Opcode
Operation
STORE
0011 1100
Software STORE
RECALL
0110 0000
Software RECALL
ASENB
0101 1001
AutoStore Enable
ASDISB
0001 1001
AutoStore Disable
When a STORE instruction is executed, CY14B512P performs a
Software STORE operation. The STORE operation is performed
irrespective of whether a write has taken place since the last
STORE or RECALL operation.
Figure 16. Software STORE Operation
2
3
4
5
6
7
SCK
SI
0
0
1
1
1
1
0
0
HI-Z
SO
0
To issue this instruction, the device must be Write Enabled (WEN
bit = ‘1’).The instruction is performed by transmitting the STORE
opcode on the SI pin following the falling edge of CS. The WEN
bit is cleared on the positive edge of CS following the STORE
instruction.
SI
CS
4
5
6
7
SCK
SI
SO
0
1
1
0
0
0
HI-Z
Document Number: 001-53872 Rev. *H
6
7
0
1
0
1
1
0
0
1
HI-Z
Figure 19. AutoStore Disable Operation
0
SI
0
1
0
SO
2
0
3
1
4
1
5
0
6
0
7
1
HI-Z
HOLD Pin Operation
Figure 17. Software RECALL Operation
3
5
To issue this instruction, the device must be Write Enabled
(WEN = ‘1’). The instruction is performed by transmitting the
ASDISB opcode on the SI pin following the falling edge of CS.
The WEN bit is cleared on the positive edge of CS following the
ASDISB instruction.
SCK
The instruction is performed by transmitting the RECALL opcode
on the SI pin following the falling edge of CS. The WEN bit is
cleared on the positive edge of CS following the RECALL
instruction.
4
AutoStore is enabled by default in CY14B512P. The AutoStore
Disable instruction disables the AutoStore on CY14B512P. This
setting is not nonvolatile and needs to be followed by a STORE
sequence if this is desired to survive the power cycle.
When a RECALL instruction is executed, CY14B512P performs
a Software RECALL operation. To issue this instruction, the
device must be Write Enabled (WEN = ‘1’).
2
3
AutoStore Disable (ASDISB) instruction
CS
1
2
SCK
Software RECALL (RECALL) instruction
0
1
SO
CS
1
Figure 18. AutoStore Enable Operation
CS
Software STORE (STORE) instruction
0
To issue this instruction, the device must be Write Enabled
(WEN = ‘1’). The instruction is performed by transmitting the
ASENB opcode on the SI pin following the falling edge of CS.
The WEN bit is cleared on the positive edge of CS following the
ASENB instruction.
0
0
The HOLD pin is used to pause the serial communication. When
the device is selected and a serial sequence is underway, HOLD
is used to pause the serial communication with the master device
without resetting the ongoing serial sequence. To pause, the
HOLD pin must be brought LOW when the SCK pin is LOW. CS
pin must remain LOW along with HOLD pin to pause serial
communication. While the device serial communication is
paused, inputs to the SI pin are ignored and the SO pin is in the
high impedance state. To resume serial communication, the
HOLD pin must be brought HIGH when the SCK pin is LOW
(SCK may toggle during HOLD).
Page 14 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
cleared by writing ‘0’ to it, the values of timekeeping registers are
transferred to the actual clock counters after which the clock
resumes normal operation.
Figure 20. HOLD Operation
SCK
~
~
CS
If the time written to the timekeeping registers is not in the correct
BCD format, each invalid nibble of the RTC registers continue
counting to 0xF before rolling over to 0x0 after which RTC
resumes normal operation.
Real Time Clock Operation
Note After ‘W’ bit is set to ‘0’, values written into the timekeeping,
alarm, calibration, and interrupt registers are transferred to the
RTC time keeping counters in tRTCp time. These counter values
must be saved to nonvolatile memory either by initiating a
Software/Hardware STORE or AutoStore operation. While
working in AutoStore disabled mode, perform a STORE
operation after tRTCp time while writing into the RTC registers for
the modifications to be correctly recorded.
nvTIME Operation
Backup Power
The CY14B512P offers internal registers that contain clock,
alarm, watchdog, interrupt, and control functions. The RTC
registers occupy a separate address space from nvSRAM and
are accessible through the Read RTC register and Write RTC
register sequence on register addresses 0x00 to 0x0F. Internal
double buffering of the time keeping registers prevents
accessing transitional internal clock data during a read or write
operation. Double buffering also circumvents disrupting normal
timing counts or the clock accuracy of the internal clock when
accessing clock data. Clock and alarm registers store data in
BCD format.
The RTC in the CY14B512P is intended for permanently
powered operation. The VRTCcap or VRTCbat pin is connected
depending on whether a capacitor or battery is chosen for the
application. When the primary power, VCC, fails and drops below
VSWITCH the device switches to the backup power supply.
HOLD
SO
Clock Operations
The clock registers maintain time up to 9,999 years in
one-second increments. The time can be set to any calendar
time and the clock automatically keeps track of days of the week
and month, leap years, and century transitions. There are eight
registers dedicated to the clock functions, which are used to set
time with a write cycle and to read time with a read cycle. These
registers contain the time of day in BCD format. Bits defined as
‘0’ are currently not used and are reserved for future use by
Cypress.
Reading the Clock
The double buffered RTC register structure reduces the chance
of reading incorrect data from the clock. Internal updates to the
CY14B512P time keeping registers are stopped when the read
bit ‘R’ (in the flags register at 0x00) is set to ‘1’ before reading
clock data to prevent reading of data in transition. Stopping the
register updates does not affect clock accuracy.
When a read sequence of RTC device is initiated, the update of
the user timekeeping registers stops and does not restart until a
‘0’ is written to the read bit ‘R’ (in the flags register at 0x00). After
the end of read sequence, all the RTC registers are simultaneously updated within 20 ms.
Setting the Clock
A write access to the RTC device stops updates to the time
keeping registers and enables the time to be set when the write
bit ‘W’ (in the flags register at 0x00) is set to ‘1’. The correct day,
date, and time is then written into the registers and must be in 24
hour BCD format. The time written is referred to as the “Base
Time”. This value is stored in nonvolatile registers and used in
the calculation of the current time. When the write bit ‘W’ is
Document Number: 001-53872 Rev. *H
The clock oscillator uses very little current, which maximizes the
backup time available from the backup source. Regardless of the
clock operation with the primary source removed, the data stored
in the nvSRAM is secure, having been stored in the nonvolatile
elements when power was lost.
During backup operation, the CY14B512P consumes a 0.35 µA
(Typ) at room temperature. The user must choose capacitor or
battery values according to the application.
Backup time values based on maximum current specifications
are shown in the following Table 7. Nominal backup times are
approximately two times longer.
Table 7. RTC Backup Time
Capacitor Value
Backup Time
0.1 F
72 hours
0.47 F
14 days
1.0 F
30 days
Using a capacitor has the obvious advantage of recharging the
backup source each time the system is powered up. If a battery
is used, a 3 V lithium is recommended and the CY14B512P
sources current only from the battery when the primary power is
removed. However, the battery is not recharged at any time by
the CY14B512P. The battery capacity must be chosen for total
anticipated cumulative down time required over the life of the
system.
Stopping and Starting the Oscillator
The OSCEN bit in the calibration register at 0x08 controls the
enable and disable of the oscillator. This bit is nonvolatile and is
shipped to customers in the “enabled” (set to ‘0’) state. To
preserve the battery life when the system is in storage, OSCEN
must be set to ‘1’. This turns off the oscillator circuit, extending
the battery life. If the OSCEN bit goes from disabled to enabled,
it takes approximately one second (two seconds maximum) for
the oscillator to start.
Page 15 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
(001010b) must be loaded into the calibration register to offset
this error.
While system power is off, if the voltage on the backup supply
(VRTCcap or VRTCbat) falls below their respective minimum level,
the oscillator may fail.The CY14B512P has the ability to detect
oscillator failure when system power is restored. This is recorded
in the Oscillator Fail Flag (OSCF) of the flags register at the
address 0x00. When the device is powered on (VCC goes above
VSWITCH) the OSCEN bit is checked for the ‘enabled’ status. If
the OSCEN bit is enabled and the oscillator is not active within
the first 5 ms, the OSCF bit is set to ‘1’. The system must check
for this condition and then write ‘0’ to clear the flag.
Alarm
Note that in addition to setting the OSCF flag bit, the time
registers are reset to the ‘Base Time’, which is the value last
written to the timekeeping registers. The control or calibration
registers and the OSCEN bit are not affected by the ‘oscillator
failed’ condition.
The alarm function compares user programmed values of alarm
time and date (stored in the registers 0x01–5) with the
corresponding time of day and date values. When a match
occurs, the alarm internal flag (AF) is set and an interrupt is
generated on INT pin if Alarm Interrupt Enable (AIE) bit is set.
The value of OSCF must be reset to ‘0’ when the time registers
are written for the first time. This initializes the state of this bit
which may have become set when the system was first powered
on.
There are four alarm match fields: date, hours, minutes, and
seconds. Each of these fields has a match bit that is used to
determine if the field is used in the alarm match logic. Setting the
match bit to ‘0’ indicates that the corresponding field is used in
the match process. Depending on the match bits, the alarm
occurs as specifically as once a month or as frequently as once
every minute. Selecting none of the match bits (all 1s) indicates
that no match is required and therefore, alarm is disabled.
Selecting all match bits (all 0s) causes an exact time and date
match.
To reset OSCF, set the write bit ‘W’ (in the flags register at 0x00)
to a ‘1’ to enable writes to the flags register. Write a ‘0’ to the
OSCF bit and then reset the write bit to ‘0’ to disable writes.
Calibrating the Clock
The RTC is driven by a quartz controlled crystal with a nominal
frequency of 32.768 kHz. Clock accuracy depends on the quality
of the crystal and calibration. The crystals available in market
typically have an error of +20 ppm to +35 ppm. However,
CY14B512P employs a calibration circuit that improves the
accuracy to +1/–2 ppm at 25 C. This implies an error of
+2.5 seconds to -5 seconds per month.
The calibration circuit adds or subtracts counts from the oscillator
divider circuit to achieve this accuracy. The number of pulses that
are suppressed (subtracted, negative calibration) or split (added,
positive calibration) depends upon the value loaded into the five
calibration bits found in calibration register at 0x08. The
calibration bits occupy the five lower order bits in the calibration
register. These bits are set to represent any value between ‘0’
and 31 in binary form. Bit D5 is a sign bit, where a ‘1’ indicates
positive calibration and a ‘0’ indicates negative calibration.
Adding counts speeds the clock up and subtracting counts slows
the clock down. If a binary ‘1’ is loaded into the register, it
corresponds to an adjustment of 4.068 or –2.034 ppm offset in
oscillator error, depending on the sign.
Calibration occurs within a 64-minute cycle. The first 62 minutes
in the cycle may, once per minute, have one second shortened
by 128 or lengthened by 256 oscillator cycles. If a binary ‘1’ is
loaded into the register, only the first two minutes of the
64-minute cycle are modified. If a binary 6 is loaded, the first 12
are affected, and so on. Therefore, each calibration step has the
effect of adding 512 or subtracting 256 oscillator cycles for every
125,829,120 actual oscillator cycles, that is, 4.068 or –2.034 ppm
of adjustment per calibration step in the calibration register.
To determine the required calibration, the CAL bit in the flags
register (0x00) must be set to ‘1’. This causes the INT pin to
toggle at a nominal frequency of 512 Hz. Any deviation
measured from the 512 Hz indicates the degree and direction of
the required correction. For example, a reading of 512.01024 Hz
indicates a +20 ppm error. Hence, a decimal value of –10
Document Number: 001-53872 Rev. *H
Note Setting or changing the calibration register does not affect
the test output frequency.
To set or clear CAL, set the write bit ‘W’ (in the flags register at
0x00) to ‘1’ to enable writes to the flags register. Write a value to
CAL, and then reset the write bit to ‘0’ to disable writes.
There are two ways to detect an alarm event: by reading the AF
flag or monitoring the INT pin. The AF flag in the flags register at
0x00 indicates that a date or time match has occurred. The AF
bit is set to ‘1’ when a match occurs. Reading the flags register
clears the alarm flag bit (and all others). A hardware interrupt pin
may also be used to detect an alarm event.
To set, clear or enable an alarm, set the ‘W’ bit (in the flags
register - 0x00) to ‘1’ to enable writes to alarm registers. After
writing the alarm value, clear the ‘W’ bit back to ‘0’ for the
changes to take effect.
Note CY14B512P requires the alarm match bit for seconds (bit
‘D7’ in Alarm-Seconds register 0x02) to be set to ‘0’ for proper
operation of Alarm Flag and Interrupt.
Watchdog Timer
The watchdog timer is a free running down counter that uses the
32-Hz clock (31.25 ms) derived from the crystal oscillator. The
oscillator must be running for the watchdog to function. It begins
counting down from the value loaded in the watchdog timer
register.
The timer consists of a loadable register and a free running
counter. On power-up, the watchdog time out value in register
0x07 is loaded into the counter load register. Counting begins on
power-up and restarts from the loadable value any time the
Watchdog Strobe (WDS) bit is set to ‘1’. The counter is compared
to the terminal value of ‘0’. If the counter reaches this value, it
causes an internal flag and an optional interrupt output. You can
prevent the time out interrupt by setting WDS bit to ‘1’ prior to the
counter reaching ‘0’. This causes the counter to reload with the
watchdog time out value and to be restarted. As long as the user
sets the WDS bit prior to the counter reaching the terminal value,
the interrupt and WDT flag never occur.
New time out values are written by setting the watchdog write bit
to ‘0’. When the WDW is ‘0’, new writes to the watchdog time out
value bits D5-D0 are enabled to modify the time out value. When
Page 16 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
WDW is ‘1’, writes to bits D5–D0 are ignored. The WDW function
enables a user to set the WDS bit without concern that the
watchdog timer value is modified. A logical diagram of the
watchdog timer is shown in Figure 21 on page 17. Note that
setting the watchdog time out value to ‘0’ disables the watchdog
function.
The output of the watchdog timer is the flag bit WDF that is set if
the watchdog is allowed to time out. If the watchdog interrupt
enable (WIE) bit in the interrupt register is set, a hardware
interrupt on INT pin is also generated on watchdog timeout. The
flag and the hardware interrupt are both cleared when the user
reads the flags register.
.
Figure 21. Watchdog Timer Block Diagram
Clock
Divider
Oscillator
32,768 KHz
1 Hz
Counter
WDF
Load
Register
WDS
D
Q
WDW
Q
write to
Watchdog
Register
Watchdog
Register
Power Monitor
The CY14B512P provides a power management scheme with
power fail interrupt capability. It also controls the internal switch
to backup power for the clock and protects the memory from low
VCC access. The power monitor is based on an internal band gap
reference circuit that compares the VCC voltage to VSWITCH
threshold.
As described in the section AutoStore Operation on page 4,
when VSWITCH is reached as VCC decays from power loss, a data
STORE operation is initiated from SRAM to the nonvolatile
elements, securing the last SRAM data state. Power is also
switched from VCC to the backup supply (battery or capacitor) to
operate the RTC oscillator.
When operating from the backup source, read and write
operations to nvSRAM are inhibited and the RTC functions are
not available to the user. The RTC clock continues to operate in
the background. The updated RTC time keeping registers data
are available to the user after VCC is restored to the device (see
AutoStore or Power-Up RECALL on page 27).
Interrupts
The CY14B512P has a flags register, interrupt register, and
Interrupt logic that can signal interrupt to the microcontroller.
There are three potential sources for interrupt: watchdog timer,
power monitor, and alarm timer. Each of these can be individually
Document Number: 001-53872 Rev. *H
An interrupt is raised only if both a flag is raised by one of the
three sources and the respective interrupt enable bit in interrupts
register is enabled (set to ‘1’). After an interrupt source is active,
two programmable bits, H/L and P/L, determine the behavior of
the output pin driver on INT pin. These two bits are located in the
interrupt register and can be used to drive level or pulse mode
output from the INT pin. In pulse mode, the pulse width is
internally fixed at approximately 200 ms. This mode is intended
to reset a host microcontroller. In the level mode, the pin goes to
its active polarity until the flags register is read by the user. This
mode is used as an interrupt to a host microcontroller. The
control bits are summarized in the following section.
Interrupts are only generated while working on normal power and
are not triggered when system is running in backup power mode.
32 Hz
Zero
Compare
enabled to drive the INT pin by appropriate setting in the interrupt
register (0x06). In addition, each has an associated flag bit in the
flags register (0x00) that the host processor uses to determine
the cause of the interrupt. The INT pin driver has two bits that
specify its behavior when an interrupt occurs.
Note CY14B512P generates valid interrupts only after the
Power-Up RECALL sequence is completed. All events on INT
pin must be ignored for tFA duration after power-up.
Interrupt Register
Watchdog Interrupt Enable (WIE): When set to ‘1’, the
watchdog timer drives the INT pin and an internal flag when a
watchdog time out occurs. When WIE is set to ‘0’, the watchdog
timer only affects the WDF flag in flags register.
Alarm Interrupt Enable (AIE): When set to ‘1’, the alarm match
drives the INT pin and an internal flag. When AIE is set to ‘0’, the
alarm match only affects the AF flag in flags register.
Power Fail Interrupt Enable (PFE): When set to ‘1’, the power
fail monitor drives the pin and an internal flag. When PFE is set
to ‘0’, the power fail monitor only affects the PF flag in flags
register.
High/Low (H/L): When set to ‘1’, the INT pin is active HIGH and
the driver mode is push pull. The INT pin drives HIGH only when
VCC is greater than VSWITCH. When set to a ‘0’, the INT pin is
active LOW and the drive mode is open drain. The INT pin must
be pulled up to Vcc by a 10 k resistor while using the interrupt in
active LOW mode.
Pulse/Level (P/L): When set to ‘1’ and an interrupt occurs, the
INT pin is driven for approximately 200 ms. When P/L is set to a
‘0’, the INT pin is driven HIGH or LOW (determined by H/L) until
the flags register is read.
When an enabled interrupt source activates the INT pin, an
external host reads the flags register to determine the cause.
Remember that all flags are cleared when the register is read. If
the INT pin is programmed for level mode, then the condition
clears and the INT pin returns to its inactive state. If the pin is
programmed for pulse mode, then reading the flag also clears
the flag and the pin. The pulse does not complete its specified
duration if the flags register is read. If the INT pin is used as a
host reset, the flags register is not read during a reset.
Page 17 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Flags Register
or accessing each register, one at a time. The RDRTC and
WRTC instructions are used to access the RTC.
The flags register has three flag bits: WDF, AF, and PF, which
can be used to generate an interrupt. These flags are set by the
watchdog timeout, alarm match, or power fail monitor
respectively. The processor can either poll this register or enable
interrupts to be informed when a flag is set. These flags are
automatically reset when the register is read. The flags register
is automatically loaded with the value 0x00 on power-up (except
for the OSCF bit. See Stopping and Starting the Oscillator on
page 15).
All the RTC registers can be read in burst mode by issuing the
RDRTC instruction and reading all 16 bytes without bringing the
CS pin HIGH. The ‘R’ bit must be set while reading the RTC
timekeeping registers to ensure that transitional values of time
are not read.
Writes to the RTC register are performed using the WRTC
instruction. Writing RTC timekeeping registers and control
registers, except for the flag register needs the ‘W’ bit of the flag
register to be set to ‘1’. The internal counters are updated with
the new date and time setting when the ‘W’ bit is cleared to ‘0’.
All the RTC registers can also be written in burst mode using the
WRTC instruction.
Accessing the Real Time Clock through SPI
CY14B512P uses 16 registers for RTC. These registers can be
read out or written to by accessing all 16 registers in burst mode
Figure 22. RTC Recommended Component Configuration [3]
Recommended Values
C1
Y1
Y1 = 32.768 KHz (12.5 pF)
C1 = 10 pF
C2 = 67 pF
Xout
Note: The recommended values for C1 and C2 include
board trace capacitance.
Xin
C2
Figure 23. Interrupt Block Diagram
WDF
Watchdog
Timer
WIE
P/L
VCC
PF
Power
Monitor
PFE
Pin
Driver
INT
VINT
H/L
VSS
WDF - Watchdog timer flag
WIE - Watchdog interrupt
enable
PF - Power fail flag
PFE - Power fail enable
AF - Alarm flag
AIE - Alarm interrupt enable
P/L - Pulse level
H/L - High / low
AF
Clock
Alarm
AIE
Note
3. For nonvolatile static random access memory (nvSRAM) real time clock (RTC) design guidelines and best practices, see application note AN61546.
Document Number: 001-53872 Rev. *H
Page 18 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Table 8. RTC Register Map [4, 5]
Register
BCD Format Data
D7
0x0F
0x0E
D6
D5
D3
D2
D1
10s years
0
0
0x0D
0
0
0x0C
0
0
0x0B
0
0
0x0A
0
0
0
0
0
0x07
WDS (0) WDW (0)
0x06
WIE (0)
AIE (0)
0x05
M (1)
0
0x04
M (1)
0
0x03
M (1)
0x02
M (1)
Months: 01–12
Day of month
Day of month: 01–31
Day of week: 01–07
Hours
Hours: 00–23
Minutes
Minutes: 00–59
Seconds
Cal sign
(0)
Seconds: 00–59
Calibration values[6]
Calibration (00000)
Watchdog[6]
WDT (000000)
PFE (0)
0
H/L (1)
P/L (0)
10s alarm date
0
0
Alarm day
10s alarm hours
Interrupts[6]
Alarm, Day of month: 01–31
Alarm hours
Alarm, Hours: 00–23
10s alarm minutes
Alarm minutes
Alarm, Minutes: 00–59
10s alarm seconds
Alarm seconds
Alarm, Seconds: 00–59
Centuries
Centuries: 00–99
10s centuries
WDF
Months
Day of week
10s seconds
0
Function/Range
Years: 00–99
10s hours
OSCEN
(0)
D0
Years
0
10s minutes
0x08
0x01
10s
months
10s day of month
0x09
0x00
D4
AF
PF
OSCF[7]
0
CAL (0)
W (0)
R (0)
Flags[6]
Notes
4. ( ) designates values shipped from the factory.
5. The unused bits of RTC registers are reserved for future use and should be set to ‘0’.
6. This is a binary value, not a BCD value.
7. When user resets OSCF flag bit, the flags register will be updated after tRTCp time.
Document Number: 001-53872 Rev. *H
Page 19 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Table 9. Register Map Detail
Register
Description
Time Keeping - Years
D7
D6
0x0F
D5
D4
D3
D2
10s years
D1
D0
Years
Contains the lower two BCD digits of the year. Lower nibble (four bits) contains the value for years; upper nibble (four
bits) contains the value for 10s of years. Each nibble operates from 0 to 9. The range for the register is 0–99.
Time Keeping - Months
0x0E
D7
D6
D5
D4
0
0
0
10s month
D3
D2
D1
D0
Months
Contains the BCD digits of the month. Lower nibble (four bits) 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.
Time Keeping - Date
0x0D
D7
D6
0
0
D5
D4
D3
10s day of month
D2
D1
D0
Day of month
Contains the BCD digits for the date of the month. Lower nibble (four bits) contains the lower digit and operates from 0
to 9; upper nibble (two bits) contains the 10s digit and operates from 0 to 3. The range for the register is 1–31. Leap
years are automatically adjusted for.
Time Keeping - Day
0x0C
D7
D6
D5
D4
D3
0
0
0
0
0
D2
D1
D0
Day of week
Lower nibble (three bits) 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, because the day is not integrated
with the date.
Time Keeping - Hours
0x0B
D7
D6
0
0
D5
D4
D3
D2
10s hours
D1
D0
Hours
Contains the BCD value of hours in 24 hour format. Lower nibble (four bits) 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.
Time Keeping - Minutes
D7
0x0A
D6
0
D5
D4
D3
D2
10s minutes
D1
D0
Minutes
Contains the BCD value of minutes. Lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper
nibble (three bits) contains the upper minutes digit and operates from 0 to 5. The range for the register is 0–59.
Time Keeping - Seconds
D7
0x09
D6
0
D5
D4
D3
D2
10s seconds
D1
D0
Seconds
Contains the BCD value of seconds. Lower nibble (four bits) contains the lower digit and operates from 0 to 9; upper
nibble (three bits) contains the upper digit and operates from 0 to 5. The range for the register is 0–59.
Calibration/Control
0X08
OSCEN
D7
D6
D5
OSCEN
0
Calibration
sign
D4
D3
D2
D1
D0
Calibration
Oscillator enable. When set to ‘1’, the oscillator is stopped. When set to ‘0’, the oscillator runs. Disabling the oscillator
saves battery or capacitor power during storage.
Calibration Determines if the calibration adjustment is applied as an addition (1) to or as a subtraction (0) from the time-base.
sign
Document Number: 001-53872 Rev. *H
Page 20 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
Register
Description
Calibration These five bits control the calibration of the clock.
WatchDog Timer
0x07
D7
D6
WDS
WDW
D5
D4
D3
D2
D1
D0
WDT
WDS
Watchdog strobe. Setting this bit to ‘1’ reloads and restarts the watchdog timer. Setting the bit to ‘0’ has no effect. The
bit is cleared automatically after the watchdog timer is reset. The WDS bit is write only. Reading it always returns a 0.
WDW
Watchdog write enable. Setting this bit to ‘1’ disables any WRITE to the watchdog timeout value (D5–D0). This enables
the user to set the watchdog strobe bit without disturbing the timeout value. Setting this bit to ‘0’ allows bits D5–D0 to
be written to the watchdog register when the next write cycle is complete. This function is explained in more detail in
Watchdog Timer on page 16.
WDT
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 range of timeout value is 31.25 ms (a setting of ‘1’) to 2 seconds (setting
of 3 Fh). Setting the watchdog timer register to ‘0’ disables the timer. These bits can be written only if the WDW bit was
set to 0 on a previous cycle.
Interrupt Status/Control
0x06
D7
D6
D5
D4
D3
D2
D1
D0
WIE
AIE
PFE
0
H/L
P/L
0
0
WIE
Watchdog interrupt enable. When set to ‘1’ and a watchdog timeout occurs, the watchdog timer drives the INT pin and
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 and the AF flag. When set to ‘0’, the alarm
match only affects the AF flag.
PFE
Power fail enable. When set to ‘1’, the alarm match drives the INT pin and the PF flag. When set to ‘0’, the power fail
monitor affects only the PF flag.
0
Reserved for future use.
H/L
HIGH/LOW. When set to ‘1’, the INT pin is driven active HIGH. When set to ‘0,’ the INT pin is open drain, active LOW.
P/L
Pulse/Level. When set to ‘1’, the INT pin is driven active (determined by H/L) by an interrupt source for approximately
200 ms. When set to ‘0’, the INT pin is driven to an active level (as set by H/L) until the flags register is read.
Alarm - Day
0x05
D7
D6
M
0
D5
D4
D3
D2
10s alarm date
D1
D0
Alarm date
Contains the alarm value for the date of the month and the mask bit to select or deselect the date value.
M
Match. When this bit is set to ‘0’, the date value is used in the alarm match. Setting this bit to ‘1’ causes the match circuit
to ignore the date value.
Alarm - Hours
0x04
D7
D6
M
0
D5
D4
D3
D2
10s alarm hours
D1
D0
Alarm hours
Contains the alarm value for the hours and the mask bit to select or deselect the hours value.
M
Match. When this bit is set to ‘0’, the hours value is used in the alarm match. Setting this bit to ‘1’ causes the match
circuit to ignore the hours value.
Alarm - Minutes
0x03
D7
D6
M
D5
10s alarm minutes
D4
D3
D2
D1
D0
Alarm minutes
Contains the alarm value for the minutes and the mask bit to select or deselect the minutes value.
M
Match. When this bit is set to ‘0’, the minutes value is used in the alarm match. Setting this bit to ‘1’ causes the match
circuit to ignore the minutes value.
Document Number: 001-53872 Rev. *H
Page 21 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Table 9. Register Map Detail (continued)
CY14B512P
Register
Description
Alarm - Seconds
0x02
D7
D6
D5
M
D4
D3
10s alarm seconds
D2
D1
D0
Alarm seconds
Contains the alarm value for the seconds and the mask bit to select or deselect the seconds’ value.
M
Match. When this bit is set to ‘0’, the seconds value is used in the alarm match. Setting this bit to ‘1’ causes the match
circuit to ignore the seconds value.
Time Keeping - Centuries
0x01
D7
D6
D5
D4
D3
D2
10s centuries
D1
D0
Centuries
Contains the BCD value of centuries. Lower nibble contains the lower digit and operates from 0 to 9; upper nibble
contains the upper digit and operates from 0 to 9. The range for the register is 0-99 centuries.
Flags
0x00
D7
D6
D5
D4
D3
D2
D1
D0
WDF
AF
PF
OSCF
0
CAL
W
R
WDF
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 register is read or on power-up.
AF
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 bits = ‘0’. It is cleared when the flags register is read or on power-up.
PF
Power fail flag. This read only bit is set to ‘1’ when power falls below the power fail threshold VSWITCH. It is cleared to
0 when the flags register is read or on power-up.
OSCF
Oscillator fail flag. Set to ‘1’ on power-up if the oscillator is enabled and not running in the first 5 ms of operation. This
indicates that RTC backup power failed and clock value is no longer valid. This bit survives the power cycle and is never
cleared internally by the chip. The user must check for this condition and write '0' to clear this flag. When user resets
OSCF flag bit, the bit will be updated after tRTCp time.
CAL
Calibration mode. When set to ‘1’, a 512 Hz square wave is output on the INT pin. When set to ‘0’, the INT pin resumes
normal operation. This bit defaults to 0 (disabled) on power-up.
W
Write enable: Setting the ‘W’ bit to ‘1’ freezes updates of the RTC registers. The user can then write to RTC registers,
alarm registers, calibration register, interrupt register and flags register. Setting the ‘W’ bit to ‘0’ causes the contents of
the RTC registers to be transferred to the time keeping counters if the time has changed. This transfer process takes
tRTCp time to complete. This bit defaults to 0 on power-up.
R
Read enable: Setting ‘R’ bit to ‘1’, stops clock updates to user RTC registers so that clock updates are not seen during
the reading process. Set ‘R’ bit to ‘0’ to resume clock updates to the holding register. Setting this bit does not require
‘W’ bit to be set to ‘1’. This bit defaults to 0 on power-up.
Document Number: 001-53872 Rev. *H
Page 22 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Table 9. Register Map Detail (continued)
Maximum Ratings
Exceeding maximum ratings may shorten the useful life of the
device. These user guidelines are not tested.
Storage temperature ............................... –65 C to + 150 C
Maximum accumulated storage time
Transient voltage (< 20 ns) on
any pin to ground potential ................. –2.0 V to VCC + 2.0 V
Package power dissipation
capability (TA = 25 °C) ................................................. 1.0 W
Surface mount lead soldering
temperature (3 Seconds) ......................................... +260 C
At 150 C ambient temperature ...................... 1000 h
DC output current (1 output at a time, 1s duration). .... 15 mA
At 85 C ambient temperature .................... 20 Years
Static discharge voltage
(per MIL-STD-883, method 3015) ......................... > 2001 V
Maximum junction temperature .................................. 150 C
Supply voltage on VCC relative to VSS ........–0.5 V to + 4.1 V
DC voltage applied to outputs
in high Z state ..................................... –0.5 V to VCC + 0.5 V
Input voltage ....................................... –0.5 V to VCC + 0.5 V
Latch up current .................................................... > 200 mA
Operating Range
Range
Industrial
Ambient Temperature
VCC
–40 C to + 85 C
2.7 V to 3.6 V
DC Electrical Characteristics
Over the Operating Range
Parameter
Description
Test Conditions
Min
Typ [8]
Max
Unit
2.7
3.0
3.6
V
VCC
Power supply voltage
ICC1
Average Vcc current
At fSCK = 40 MHz
Values obtained without output
loads (IOUT = 0 mA)
–
–
10
mA
ICC2
Average VCC current during
STORE
All inputs don’t care, VCC = Max
Average current for duration tSTORE
–
–
10
mA
ICC4
Average VCAP current during
AutoStore cycle
All inputs don’t care. Average
current for duration tSTORE
–
–
5
mA
ISB
VCC standby current
CS > (VCC – 0.2 V).
VIN < 0.2 V or > (VCC – 0.2 V).
‘W’ bit set to ‘0’. Standby current
level after nonvolatile cycle is
complete.
Inputs are static. f = 0 MHz
–
–
5
mA
IIX[9]
Input leakage current (except
HSB)
VCC = Max, VSS < VIN < VCC
–1
–
+1
µA
Input leakage current (for HSB)
VCC = Max, VSS < VIN < VCC
–100
–
+1
µA
VCC = Max, VSS < VOUT < VCC
–1
–
+1
µA
2.0
–
VCC + 0.5
V
VSS – 0.5
–
0.8
V
2.4
–
–
V
IOZ
Off state output leakage current
VIH
Input HIGH voltage
VIL
Input LOW voltage
VOH
Output HIGH voltage
IOUT = –2 mA
Output LOW voltage
IOUT = 4 mA
–
–
0.4
V
VCAP
Storage capacitor
Between VCAP pin and VSS
61
68
180
µF
VVCAP[11, 12]
Maximum voltage driven on VCAP VCC = Max
pin by the device
–
–
VCC
V
VOL
[10]
Notes
8. Typical values are at 25 °C, VCC= VCC (Typ). Not 100% tested.
9. The HSB pin has IOUT = -2 µA for VOH of 2.4 V when both active HIGH and LOW drivers are disabled. When they are enabled standard VOH and VOL are valid. This
parameter is characterized but not tested.
10. Min VCAP value guarantees that there is a sufficient charge available to complete a successful AutoStore operation. Max VCAP value guarantees that the capacitor on
VCAP is charged to a minimum voltage during a Power-Up RECALL cycle so that an immediate power-down cycle can complete a successful AutoStore. Therefore it
is always recommended to use a capacitor within the specified min and max limits. Refer application note AN43593 for more details on VCAP options.
11. Maximum voltage on VCAP pin (VVCAP) is provided for guidance when choosing the VCAP capacitor. The voltage rating of the VCAP capacitor across the operating
temperature range should be higher than the VVCAP voltage.
12. These parameters are guaranteed by design and are not tested.
Document Number: 001-53872 Rev. *H
Page 23 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Data Retention and Endurance
Over the Operating Range
Parameter
Description
DATAR
Data retention
NVC
Nonvolatile STORE operations
Min
Unit
20
Years
1,000
K
Max
Unit
6
pF
8
pF
Test Conditions
16-pin SOIC
Unit
Test conditions follow standard test methods and
procedures for measuring thermal impedance, per
EIA/JESD51.
55.17
C/W
2.64
C/W
Capacitance
Parameter [13]
Description
Test Conditions
TA = 25 C, f = 1 MHz, VCC = VCC(Typ)
CIN
Input capacitance
COUT
Output pin capacitance
Thermal Resistance
Parameter [13]
Description
JA
Thermal resistance
(junction to ambient)
JC
Thermal resistance
(junction to case)
AC Test Loads and Waveforms
Figure 24. AC Test Loads and Waveforms
577 
577 
3.0 V
3.0 V
R1
R1
Output
Output
30 pF
R2
789 
5 pF
R2
789 
AC Test Conditions
Input pulse levels ................................................... 0 V to 3 V
Input rise and fall times (10% to 90%) ........................ < 3 ns
Input and output timing reference levels ....................... 1.5 V
Note
13. These parameters are guaranteed by design and are not tested.
Document Number: 001-53872 Rev. *H
Page 24 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
RTC Characteristics
Over the Operating Range
Parameters
Description
VRTCbat
RTC battery pin voltage
IBAK[15]
RTC backup current
VRTCcap
[16]
RTC capacitor pin voltage
tOCS
RTC oscillator time to start
tRTCp
RTC processing time from end of ‘W’ bit set to ‘0’
RBKCHG
RTC backup capacitor charge current-limiting resistor
Min
Typ [14]
Max
Units
1.8
3.0
3.6
V
TA (Min)
–
–
0.35
µA
25 °C
–
0.35
–
µA
TA (Max)
–
–
0.5
µA
V
TA (Min)
1.6
–
3.6
25 °C
1.5
3.0
3.6
V
TA (Max)
1.4
–
3.6
V
–
1
2
sec
–
–
350
s
350
–
850

AC Switching Characteristics
Over the Operating Range
Parameter [17]
25 MHz (RDRTC
Instruction) [18]
40 MHz
Description
Cypress
Alt.
Parameter Parameter
Min
Max
Min
Max
Unit
fSCK
fSCK
Clock frequency, SCK
–
40
–
25
MHz
tCL
tWL
Clock pulse width LOW
11
–
18
–
ns
tCH
tWH
Clock pulse width HIGH
11
–
18
–
ns
tCS
tCE
CS HIGH time
20
–
20
–
ns
tCSS
tCES
CS setup time
10
–
10
–
ns
tCSH
tCEH
CS hold time
10
–
10
–
ns
tSD
tSU
Data in setup time
5
–
5
–
ns
tHD
tH
Data in hold time
5
–
5
–
ns
tHH
tHD
HOLD hold time
5
–
5
–
ns
tSH
tCD
HOLD setup time
5
–
5
–
ns
tCO
tV
Output valid
–
9
–
15
ns
tHHZ[19]
tHLZ[19]
tHZ
HOLD to output HIGH-Z
–
15
–
15
ns
tLZ
HOLD to output LOW-Z
–
15
–
15
ns
tOH
tHO
Output hold time
0
–
0
–
ns
tHZCS
tDIS
Output disable time
–
25
–
25
ns
Notes
14. Typical values are at 25 °C, VCC= VCC (Typ). Not 100% tested.
15. Current drawn from either VRTCcap or VRTCbat when VCC < VSWITCH
16. If VRTCcap > 0.5 V or if no capacitor is connected to VRTCcap pin, the oscillator starts in tOCS time. If a backup capacitor is connected and vrtccap < 0.5 V, the capacitor
must be allowed to charge to 0.5 V for oscillator to start.
17. Test conditions assume signal transition time of 3 ns or less, timing reference levels of VCC/2, input pulse levels of 0 to VCC(Typ), and output loading of the specified
IOL/IOH and load capacitance shown in Figure 24.
18. Applicable for RTC opcode cycles, address cycles, and dataout cycles.
19. These parameters are guaranteed by design and are not tested.
Document Number: 001-53872 Rev. *H
Page 25 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Switching Waveforms
Figure 25. Synchronous Data Timing (Mode 0)
tCS
CS
tCSS
tCH
tCL
tCSH
SCK
tSD
SI
tHD
VALID IN
VALID IN
VALID IN
tOH
tCO
SO
HI-Z
tHZCS
HI-Z
Figure 26. HOLD Timing
~
~
CS
SCK
tHH
tHH
tSH
tSH
HOLD
tHHZ
tHLZ
SO
Document Number: 001-53872 Rev. *H
Page 26 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
AutoStore or Power-Up RECALL
Over the Operating Range
Parameter
tFA [20]
tSTORE
CY14B512P
Min
Max
–
20
Description
Power-Up RECALL duration
[21]
STORE cycle duration
–
[22]
Time allowed to complete SRAM write cycle
tDELAY
VSWITCH
tVCCRISE[23]
VHDIS[23]
tLZHSB[23]
tHHHD[23]
Low voltage trigger level
VCC rise time
HSB output disable voltage
Unit
ms
8
ms
–
25
ns
–
150
–
2.65
–
1.9
V
µs
V
–
–
5
500
µs
ns
HSB high to nvSRAM active time
HSB high active time
Switching Waveforms
Figure 27. AutoStore or Power-Up RECALL[24]
VCC
VSWITCH
VHDIS
t VCCRISE
tHHHD
Note 21
tSTORE
Note
tHHHD
25
Note
21
tSTORE
Note
25
HSB OUT
tDELAY
tLZHSB
AutoStore
tLZHSB
tDELAY
POWERUP
RECALL
tFA
tFA
Read & Write
Inhibited
(RWI)
POWER-UP
RECALL
Read & Write
BROWN
OUT
AutoStore
POWER-UP
RECALL
Read & Write
POWER
DOWN
AutoStore
Notes
20. tFA starts from the time VCC rises above VSWITCH.
21. If an SRAM write has not taken place since the last nonvolatile cycle, no AutoStore or Hardware STORE takes place.
22. On a Hardware STORE and AutoStore initiation, SRAM write operation continues to be enabled for time tDELAY.
23. These parameters are guaranteed by design and are not tested.
24. Read and write cycles are ignored during STORE, RECALL, and while VCC is below VSWITCH.
25. During power-up and power-down, HSB glitches when HSB pin is pulled up through an external resistor.
Document Number: 001-53872 Rev. *H
Page 27 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Software Controlled STORE/RECALL Cycles
Over the Operating Range
Parameter
tRECALL
tSS
[26, 27]
CY14B512P
Description
Unit
Min
Max
RECALL duration
–
200
µs
Soft sequence processing time
–
100
µs
Switching Waveforms
Figure 28. Software STORE Cycle[27]
Figure 29. Software RECALL Cycle[27]
CS
CS
0
1
2
3
4
5
6
7
0
SCK
SI
1
2
3
4
5
6
7
SCK
0
0
1
1
1
1
0
0
SI
0
1
1
0
0
0
0
0
tRECALL
tSTORE
HI-Z
RWI
RDY
RDY
Figure 30. AutoStore Enable Cycle
Figure 31. AutoStore Disable Cycle
CS
CS
0
1
2
3
4
5
6
0
7
1
2
3
4
5
6
7
SCK
SCK
SI
HI-Z
RWI
0
1
0
1
1
0
0
SI
1
0
0
0
1
1
0
0
1
tSS
tSS
RWI
HI-Z
RDY
RWI
HI-Z
RDY
Notes
26. This is the amount of time it takes to take action on a soft sequence command. Vcc power must remain HIGH to effectively register command.
27. Commands such as STORE and RECALL lock out I/O until operation is complete which further increases this time. See the specific command.
Document Number: 001-53872 Rev. *H
Page 28 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
Hardware STORE Cycle
Over the Operating Range
Parameter
tPHSB
CY14B512P
Description
Hardware STORE pulse width
Min
Max
15
–
Unit
ns
Switching Waveforms
Figure 32. Hardware STORE Cycle [28]
Write Latch set
~
~
tPHSB
HSB (IN)
tSTORE
tHHHD
~
~
tDELAY
HSB (OUT)
tLZHSB
RWI
tPHSB
HSB (IN)
HSB pin is driven HIGH to VCC only by Internal
100 K: resistor, HSB driver is disabled
SRAM is disabled as long as HSB (IN) is driven LOW.
tDELAY
RWI
~
~
HSB (OUT)
~
~
Write Latch not set
Note
28. If an SRAM write has not taken place since the last nonvolatile cycle, no AutoStore or Hardware STORE takes place.
Document Number: 001-53872 Rev. *H
Page 29 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
Ordering Code
Package Diagram
CY14B512P-SFXIT
51-85022
Package Type
Operating Range
16-pin SOIC
Industrial
CY14B512P-SFXI
All the above parts are Pb-free.
Ordering Code Definitions
CY 14 B 512 P - SF X I T
Option:
T - Tape and Reel
Blank - Std.
Temperature:
I - Industrial (-40 °C to 85 °C)
Pb-free
Package:
SF - 16 SOIC
P - Serial (SPI) nvSRAM with RTC
Density:
Voltage:
B - 3.0 V
512 - 512 Kb
14 - nvSRAM
Cypress
Document Number: 001-53872 Rev. *H
Page 30 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Ordering Information
CY14B512P
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Package Diagram
Figure 33. 16-pin SOIC (0.413 × 0.299 × 0.0932 inches) Package Outline, 51-85022
51-85022 *D
Document Number: 001-53872 Rev. *H
Page 31 of 34
CY14B512P
Acronym
Document Conventions
Description
Units of Measure
BCD
binary coded decimal
CPHA
clock phase
°C
degree Celsius
CPOL
clock polarity
F
farad
EEPROM
electrically erasable programmable read-only
memory
Hz
hertz
kHz
kilohertz
k
kilohm
MHz
megahertz
A
microampere
mA
milliampere
F
microfarad
s
microsecond
ms
millisecond
ns
nanosecond

ohm
%
percent
pF
picofarad
ppm
parts per million
sec
second
V
volt
W
watt
EIA
electronic industries alliance
I/O
input/output
JEDEC
joint electron devices engineering council
LSB
least significant bit
MSB
most significant bit
nvSRAM
non-volatile static random access memory
OSCF
oscillator fail flag
RWI
read and write inhibit
RTC
real time clock
RoHS
restriction of hazardous substances
SPI
serial peripheral interface
SONOS
silicon-oxide-nitride-oxide semiconductor
SOIC
small outline integrated circuit
SRAM
static random access memory
Document Number: 001-53872 Rev. *H
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Acronyms
Symbol
Unit of Measure
Page 32 of 34
Document History Page
Document Title: CY14B512P, 512-Kbit (64 K × 8) Serial (SPI) nvSRAM with Real Time Clock
Document Number: 001-53872
Rev.
ECN
Orig. of
Change
Submission
Date
**
2733272
GVCH /
AESA
07/16/09
*A
2758904
GVCH
09/02/2009
*B
2839453
GVCH /
PYRS
01/06/10
*C
3013834
GVCH
08/30/2010
Changed ground naming convention from GND to VSS
Table 1: Added more clarity on HSB pin operation
Hardware STORE and HSB Pin Operation: Added more clarity on HSB pin
operation
Updated Power-Down description
Power On Reset: Added status of bits 4-6
Table 3: Added definition of bits 4-6
Updated Figure 7, Figure 25, Figure 26, and Figure 27
Updated footnote 19
Added Figure 30 and Figure 31
Updated footnote 25
Removed tDHSB parameter
Updated Figure 32
Added Acronyms and Units of Measure.
*D
3038143
GVCH
09/24/2010
Added watermark as “For Evaluation Samples only. Production will be
supported with the next revision silicon in SOIC package.”
Updated HOLD Pin Operation, Figure 20 and Figure 26 to indicate that CS pin
must remain LOW along with HOLD pin to pause serial communication.
*E
3135772
GVCH
01/12/2011
Hardware STORE and HSB Pin Operation: Added more clarity on HSB pin
operation
Updated Setting the Clock description
Updated ‘W’ bit description in Register Map Detail table
Updated Maximum Ratings
Added tRTCp parameter to RTC Characteristics table
Updated tLZHSB parameter description
Fixed typo in Figure 27
*F
3320870
GVCH
07/19/2011
Added footnote 10 and 17
*G
3666252
GVCH
07/04/2012
Updated Pin Definitions (Added Note 2 and referred the same note in VRTCcap,
VRTCbat, Xout, Xin pins).
Updated DC Electrical Characteristics (Added VVCAP parameter and its details,
added Note 11 and referred the same note in VVCAP parameter, also referred
Note 12 in VVCAP parameter).
Updated Package Diagram (spec 51-85022 (Changed revision from *C to *D)).
*H
3708190
GVCH
08/13/2012
Updated Real Time Clock Operation (description).
Added Note 3 and referred the same note in Figure 22.
Updated Maximum Ratings (Changed “Ambient temperature with power
applied” to “Maximum junction temperature”).
Document Number: 001-53872 Rev. *H
Description of Change
New Data Sheet
Moved data sheet status from preliminary to Final
Removed commercial temperature related specs
Added thermal resistance values for 16-SOIC package
Added note to Write Sequence (WRITE) description
Changed VRTCbat max value from 3.3V to 3.6V
Changed RBKCHG min value from 450to 350
Updated footnote 8
Changed STORE cycles to QuantumTrap from 200K to 1 Million
Updated IBAK RTC backup current specification unit from nA to A
Updated Figure 2
Added Contents
Page 33 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
CY14B512P
CY14B512P
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office
closest to you, visit us at Cypress Locations.
Products
Automotive
Clocks & Buffers
Interface
Lighting & Power Control
PSoC Solutions
cypress.com/go/automotive
psoc.cypress.com/solutions
cypress.com/go/clocks
PSoC 1 | PSoC 3 | PSoC 5
cypress.com/go/interface
cypress.com/go/powerpsoc
cypress.com/go/plc
Memory
Optical & Image Sensing
PSoC
Touch Sensing
USB Controllers
Wireless/RF
cypress.com/go/memory
cypress.com/go/image
cypress.com/go/psoc
cypress.com/go/touch
cypress.com/go/USB
cypress.com/go/wireless
© Cypress Semiconductor Corporation, 2009-2012. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of
any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for
medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as
critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign),
United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of,
and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without
the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not
assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where
a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer
assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
Document Number: 001-53872 Rev. *H
Revised August 13, 2012
Page 34 of 34
For Evaluation Samples only. Production will be supported with the next revision silicon in SOIC package.
Sales, Solutions, and Legal Information
Similar pages