CY14C256I_13 [CYPRESS]

256-Kbit (32 K x 8) Serial (I2C) nvSRAM with Real Time Clock; 256千位(是32K ×8 )串行( I2C)的nvSRAM与实时时钟
CY14C256I_13
型号: CY14C256I_13
厂家: CYPRESS    CYPRESS
描述:

256-Kbit (32 K x 8) Serial (I2C) nvSRAM with Real Time Clock
256千位(是32K ×8 )串行( I2C)的nvSRAM与实时时钟

静态存储器 时钟
文件: 总41页 (文件大小:2090K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
CY14C256I  
CY14B256I  
CY14E256I  
256-Kbit (32 K × 8) Serial (I2C) nvSRAM  
with Real Time Clock  
256-Kbit (32  
K × 8) Serial (I2C) nvSRAM with Real Time Clock  
I2C access to special functions  
Nonvolatile STORE/RECALL  
8-byte serial number  
Manufacturer ID and Product ID  
Sleep mode  
Features  
256-Kbit nonvolatile static random access memory (nvSRAM)  
Internally organized as 32 K × 8  
STORE to QuantumTrap nonvolatile elements initiated  
automatically on power-down (AutoStore) or by using I2C  
command (Software STORE) orHSB pin (Hardware STORE)  
Low power consumption  
Average active current of 1 mA at 3.4 MHz operation  
Average standby mode current of 250 µA  
Sleep mode current of 8 µA  
RECALL to SRAM initiated on power-up (Power-Up  
RECALL) or by I2C command (Software RECALL)  
Automatic STORE on power-down with a small capacitor  
High reliability  
Industry standard configurations  
Operating voltages:  
Infinite read, write, and RECALL cycles  
1 million STORE cycles to QuantumTrap  
Data retention: 20 years at 85 °C  
Real Time Clock (RTC)  
Full-featured RTC  
Watchdog timer  
Clock alarm with programmable interrupts  
Backup power fail indication  
Square wave output with programmable frequency (1 Hz,  
512 Hz, 4096 Hz, 32.768 kHz)  
Capacitor or battery backup for RTC  
Backup current of 0.45 µA (typical)  
High-speed I2C interface[1]  
Industry standard 100 kHz and 400 kHz speed  
Fast mode Plus 1 MHz speed  
High speed: 3.4 MHz  
• CY14C256I: VCC = 2.4 V to 2.6 V  
• CY14B256I: VCC = 2.7 V to 3.6 V  
• CY14E256I: VCC = 4.5 V to 5.5 V  
Industrial temperature  
16-pin small outline integrated circuit (SOIC) package  
Restriction of hazardous substances (RoHS) compliant  
Overview  
The Cypress CY14C256I/CY14B256I/CY14E256I combines a  
256-Kbit nvSRAM[2] with a full-featured RTC in a monolithic  
integrated circuit with serial I2C 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 I2C  
commands.  
Zero cycle delay reads and writes  
Write protection  
Hardware protection using Write Protect (WP) pin  
Software block protection for one-quarter, one-half, or entire  
array  
Serial Number  
Logic Block  
8 x 8  
VRTCcap  
VCC VCAP  
VRTCbat  
Manufacturer ID /  
Product ID  
Power Control  
Block  
Memory Control Register  
Command Register  
QuantumTrap  
32 K x 8  
Sleep  
STORE  
RECALL  
SRAM  
32 K x 8  
Control Registers Slave  
SDA  
SCL  
A2, A1, A0  
WP  
I2C Control Logic  
Slave Address  
Decoder  
Memory  
Address and Data  
Control  
Memory Slave  
RTC Slave  
Xin  
RTC Control Logic  
INT/SQW  
Xout  
Registers  
Counters  
Notes  
2
1. The I C nvSRAM is a single solution which is usable for all four speed modes of operation. As a result, some I/O parameters are slightly different than those on chips  
which support only one mode of operation. Refer to AN87209 for more details.  
2
2. Serial (I C) nvSRAM will be referred to as nvSRAM throughout the datasheet.  
Cypress Semiconductor Corporation  
Document Number: 001-65230 Rev. *G  
198 Champion Court  
San Jose, CA 95134-1709  
408-943-2600  
Revised May 2, 2013  
CY14C256I  
CY14B256I  
CY14E256I  
Contents  
Pinouts ..............................................................................3  
Pin Definitions ..................................................................3  
I2C Interface ......................................................................4  
Protocol Overview ............................................................4  
I2C Protocol – Data Transfer .......................................4  
Data Validity ................................................................5  
START Condition (S) ...................................................5  
STOP Condition (P) .....................................................5  
Repeated START (Sr) .................................................5  
Byte Format .................................................................5  
Acknowledge / No-acknowledge .................................5  
High-Speed Mode (Hs-mode) .....................................6  
Slave Device Address .................................................7  
Memory Control Register ............................................8  
Command Register .....................................................8  
Write Protection (WP) ..................................................9  
AutoStore Operation ....................................................9  
Hardware STORE and HSB pin Operation .................9  
Hardware RECALL (Power Up) ...................................9  
Write Operation .........................................................10  
Read Operation .........................................................10  
Memory Slave Access ...............................................10  
RTC Registers Slave Access ....................................14  
Control Registers Slave .............................................16  
Serial Number .................................................................18  
Serial Number Write ..................................................18  
Serial Number Lock ...................................................18  
Serial Number Read ..................................................18  
Device ID .........................................................................19  
Executing Commands Using Command Register .....19  
Real Time Clock Operation ............................................20  
nvTIME Operation .....................................................20  
Clock Operations .......................................................20  
Reading the Clock .....................................................20  
Setting the Clock .......................................................20  
Backup Power ...........................................................20  
Stopping and Starting the Oscillator ..........................20  
Calibrating the Clock .................................................21  
Alarm .........................................................................21  
Watchdog Timer ........................................................21  
Programmable Square Wave Generator ...................22  
Power Monitor ...........................................................22  
Backup Power Monitor ..............................................22  
Interrupts ...................................................................22  
Interrupt Register .......................................................22  
Flags Register ...........................................................23  
Maximum Ratings ...........................................................29  
Operating Range .............................................................29  
DC Electrical Characteristics ........................................29  
Data Retention and Endurance .....................................30  
Thermal Resistance ........................................................30  
AC Test Loads and Waveforms .....................................31  
AC Test Conditions ........................................................31  
RTC Characteristics .......................................................31  
AC Switching Characteristics .......................................32  
Switching Waveforms ....................................................32  
nvSRAM Specifications .................................................33  
Switching Waveforms ....................................................33  
Software Controlled STORE/RECALL Cycles ..............34  
Switching Waveforms ....................................................34  
Hardware STORE Cycle .................................................35  
Switching Waveforms ....................................................35  
Ordering Information ......................................................36  
Ordering Code Definitions .........................................36  
Package Diagram ............................................................37  
Acronyms ........................................................................38  
Document Conventions .................................................38  
Units of Measure .......................................................38  
Document History Page .................................................39  
Sales, Solutions, and Legal Information ......................41  
Worldwide Sales and Design Support .......................41  
Products ....................................................................41  
PSoC Solutions .........................................................41  
Document Number: 001-65230 Rev. *G  
Page 2 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Pinouts  
Figure 1. 16-pin SOIC pinout  
V
16  
15  
14  
13  
12  
NC  
1
2
CC  
V
INT/SQW  
RTCbat  
X
V
out  
3
4
5
6
7
8
CAP  
Top View  
X
A2  
in  
not to scale  
SDA  
SCL  
A1  
WP  
A0  
11  
10  
V
RTCcap  
V
SS  
9
HSB  
Pin Definitions  
Pin Name  
SCL  
I/O Type  
Input  
Input/Output I/O: Input/Output of data through I2C interface.  
Output: Is open-drain and requires an external pull-up resistor.  
Description  
Clock: Runs at speeds up to a maximum of fSCL  
.
SDA  
WP  
A2–A0  
HSB  
Input  
Write Protect: Protects the memory from all writes. This pin is internally pulled LOW and hence can be  
left open if not connected.  
Slave Address: Defines the slave address for I2C. These pins are internally pulled LOW and hence can  
be left open if not connected.  
Input  
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 (External pull-up resistor connection 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 not required, AutoStore must be disabled and this pin left as No Connect. It  
must never be connected to ground.  
[3]  
VRTCcap  
Power supply Capacitor Backup for RTC: Left unconnected if VRTCbat is used.  
Power supply Battery Backup for RTC: Left unconnected if VRTCcap is used.  
[3]  
VRTCbat  
[3]  
Xout  
Output  
Input  
Crystal output connection  
Crystal input connection  
[3]  
Xin  
INT/SQW[3]  
Output  
Interrupt Output/Calibration/Square Wave. Programmable to respond to the clock alarm, the watchdog  
timer, and the power monitor. Also programmable to either active HIGH (push or pull) or LOW (open  
drain). In Calibration mode, a 512 Hz square wave is driven out. In Square Wave mode, the user may  
select a frequency of 1 Hz, 512 Hz, 4096 Hz, or 32768 Hz to be used as a continuous output.  
NC  
VSS  
VCC  
No connect No connect. This pin is not connected to the die.  
Power supply Ground  
Power supply Power supply  
Note  
3. Left unconnected if RTC feature is not used.  
Document Number: 001-65230 Rev. *G  
Page 3 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
2
(0) operation. All signals are transmitted on the open-drain SDA  
line and are synchronized with the clock on SCL line. Each byte  
of data transmitted on the I2C bus is acknowledged by the  
receiver by holding the SDA line LOW on the ninth clock pulse.  
The request for write by the master is followed by the memory  
address and data bytes on the SDA line. The writes can be  
performed in burst-mode by sending multiple bytes of data. The  
memory address increments automatically after the  
receive/transmit of each byte on the falling edge of the ninth  
clock cycle. The new address is latched just prior to  
sending/receiving the acknowledgment bit. This allows the next  
sequential byte to be accessed with no additional addressing. On  
reaching the last memory location, the address rolls back to  
0x0000 and writes continue. The slave responds to each byte  
sent by the master during a write operation with an ACK. A write  
sequence can be terminated by the master generating a STOP  
or Repeated START condition.  
I C Interface  
I2C bus consists of two lines – serial clock line (SCL) and serial  
data line (SDA) – that carry information between multiple devices  
on the bus. I2C supports multi-master and multi-slave  
configurations. The data is transmitted from the transmitter to the  
receiver on the SDA line and is synchronized with the clock SCL  
generated by the master.  
The SCL and SDA lines are open-drain lines and are pulled up  
to VCC using resistors. The choice of a pull-up resistor on the  
system depends on the bus capacitance and the intended speed  
of operation. The master generates the clock, and all the data  
I/Os are transmitted in synchronization with this clock. The  
CY14X256I supports up to 3.4 MHz clock speed on SCL line.  
Protocol Overview  
This device supports only a 7-bit addressable scheme. The  
A read request is performed at the current address location  
(address next to the last location accessed for read or write). The  
memory slave device responds to a read request by transmitting  
the data on the current address location to the master. A random  
address read may also be performed by first sending a write  
request with the intended address of read. The master must  
abort the write immediately after the last address byte and issue  
a Repeated START or STOP signal to prevent any write  
operation. The following read operation starts from this address.  
The master acknowledges the receipt of one byte of data by  
holding the SDA pin LOW for the ninth clock pulse. The reads  
can be terminated by the master sending a no-acknowledge  
(NACK) signal on the SDA line after the last data byte. The NACK  
signal causes the CY14X256I to release the SDA line and the  
master can then generate a STOP or a Repeated START  
condition to initiate a new operation.  
master generates  
a
START condition to initiate the  
communication followed by broadcasting a slave select byte.  
The slave select byte consists of a 7-bit slave address that the  
master intends to communicate with and R/W bit indicating a  
read or a write operation. The selected slave responds to this  
with an acknowledgement (ACK). After a slave is selected, the  
remaining part of the communication takes place between the  
master and the selected slave device. The other devices on the  
bus ignore the signals on the SDA line until a STOP or Repeated  
START condition is detected. The data transfer is done between  
the master and the selected slave device through the SDA pin  
synchronized with the SCL clock generated by the master.  
I2C Protocol – Data Transfer  
Each transaction in I2C protocol starts with the master  
generating a START condition on the bus, followed by a 7-bit  
slave address and eighth bit (R/W) indicating a read (1) or a write  
Figure 2. System Configuration using Serial (I2C) nvSRAM  
Vcc  
R
R
= (V - V max) / I  
CC OL OL  
Pmin  
= t / (0.8473 * C )  
Pmax  
r
b
SDA  
SCL  
Microcontroller  
Vcc  
Vcc  
A0  
SCL  
SDA  
A0  
A1  
SCL  
A0  
A1  
A2  
SCL  
SDA  
A1  
A2  
SDA  
WP  
A2  
WP  
WP  
CY14X256I  
CY14X256I  
#1  
CY14X256I  
#0  
#7  
Document Number: 001-65230 Rev. *G  
Page 4 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Data Validity  
STOP Condition (P)  
The data on the SDA line must be stable during the HIGH period  
of the clock. The state of the data line can only change when the  
clock on the SCL line is LOW for the data to be valid. There are  
only two conditions under which the SDA line may change state  
with SCL line held HIGH: START and STOP condition. The  
START and STOP conditions are generated by the master to  
signal the beginning and end of a communication sequence on  
the I2C bus.  
A LOW to HIGH transition on the SDA line while SCL is HIGH  
indicates a STOP condition. This condition indicates the end of  
the ongoing transaction.  
START and STOP conditions are always generated by the  
master. The bus is considered to be busy after the START  
condition. The bus is considered to be free again after the STOP  
condition.  
Repeated START (Sr)  
START Condition (S)  
If a Repeated START condition is generated instead of a STOP  
condition, the bus continues to be busy. The ongoing transaction  
on the I2C lines is stopped and the bus waits for the master to  
send a slave ID for communication to restart.  
A HIGH to LOW transition on the SDA line while SCL is HIGH  
indicates a START condition. Every transaction in I2C begins  
with the master generating a START condition.  
Figure 3. START and STOP Conditions  
SDA  
SCL  
SDA  
SCL  
S
P
STOP Condition  
START Condition  
Figure 4. Data Transfer on the I2C Bus  
handbook, full pagewidth  
P
SDA  
Sr  
Acknowledgement  
signal from slave  
Acknowledgement  
signal from receiver  
MSB  
S
Sr  
or  
P
SCL  
1
2
7
8
9
ACK  
1
2
3 - 8  
9
or  
Sr  
ACK  
START or  
STOP or  
Repeated START  
condition  
Repeated START  
condition  
Byte complete,  
interrupt within slave  
Clock line held LOW while  
interrupts are serviced  
does not acknowledge the receipt of data and the operation is  
aborted.  
Byte Format  
Each operation in I2C is done using 8-bit words. The bits are sent  
in MSB first format on SDA line and each byte is followed by an  
ACK signal by the receiver.  
NACK can be generated by master during a READ operation in  
following cases:  
An operation continues till a NACK is sent by the receiver or  
STOP or Repeated START condition is generated by the master  
The SDA line must remain stable when the clock (SCL) is HIGH  
except for a START or STOP condition.  
The master did not receive valid data due to noise.  
The master generates a NACK to abort the READ sequence.  
After a NACK is issued by the master, nvSRAM slave releases  
control of the SDA pin and the master is free to generate a  
Repeated START or STOP condition.  
Acknowledge / No-acknowledge  
NACK can be generated by nvSRAM slave during a WRITE  
operation in these cases:  
After transmitting one byte of data or address, the transmitter  
releases the SDA line. The receiver pulls the SDA line LOW to  
acknowledge the receipt of the byte. Every byte of data  
transferred on the I2C bus needs a response with an ACK signal  
by the receiver to continue the operation. Failing to do so is  
considered as a NACK state. NACK is the state where receiver  
nvSRAM did not receive valid data due to noise.  
The master tries to access write protected locations on the  
nvSRAM. Master must restart the communication by  
generating a STOP or Repeated START condition.  
Document Number: 001-65230 Rev. *G  
Page 5 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Figure 5. Acknowledge on the I2C Bus  
DATA OUTPUT  
BY MASTER  
Not acknowledge (A)  
DATA OUTPUT  
BY SLAVE  
Acknowledge (A)  
8
SCL FROM  
MASTER  
1
2
9
S
Clock pulse for  
START  
acknowledgement  
Condition  
1. START condition (S)  
High-Speed Mode (Hs-mode)  
2. 8-bit master code (0000 1XXXb)  
3. No-acknowledge bit (A)  
In Hs-mode, nvSRAM can transfer data at bit rates of up to  
3.4 Mbit/s. A master code (0000 1XXXb) must be issued to place  
the device in high-speed mode. This enables master/slave  
communication for speeds up to 3.4 MHz. A stop condition will  
exit Hs-mode.  
Single and multiple-byte reads and writes are supported. After  
the device enters into Hs-mode, data transfer continues in  
Hs-mode until stop condition is sent by master device. The slave  
switches back to F/S-mode after a STOP condition (P). To  
continue data transfer in Hs-mode, the master sends Repeated  
START (Sr).  
Serial Data Format in Hs-mode  
Serial data transfer format in Hs-mode meets the standard-mode  
I2C-bus specification. Hs-mode can only commence after the  
following conditions (all of which are in F/S-modes):  
See Figure 13 on page 11 and Figure 16 on page 12 for Hs-mode  
timings for read and write operation.  
Figure 6. Data Transfer Format in Hs-mode  
Hs-mode  
F/S-mode  
F/S-mode  
S
P
A/A  
MASTER CODE  
A
Sr SLAVE ADD. R/W  
A
DATA  
n (bytes+ack.)  
Hs-mode continues  
SLAVE ADD.  
Sr  
Document Number: 001-65230 Rev. *G  
Page 6 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Control Registers. The accessing mechanism is described in the  
following section.  
Slave Device Address  
Every slave device on an I2C bus has a device select address.  
The first byte after START condition contains the slave device  
address with which the master intends to communicate. The  
seven MSBs are the device address and the LSB (R/W bit) is  
used for indicating Read or Write operation. The CY14X256I  
reserves three sets of upper 4 MSBs [7:4] in the slave device  
address field for accessing the Memory, RTC Registers, and  
The nvSRAM product provides three different functionalities:  
Memory, RTC Registers and Control Registers functions (such  
as serial number and product ID). The three functions of the  
device are accessed through different slave device addresses.  
The first four most significant bits [7:4] in the device address  
register are used to select between the nvSRAM functions.  
Table 1. Slave Device Addressing  
nvSRAM  
Function Select  
Bit 7 Bit 6 Bit 5 Bit 4  
Bit 3  
Bit 2  
Bit 1 Bit 0  
CY14X256I Slave Devices  
1
1
0
1
1
0
0
1
Device select ID  
Device select ID  
R/W Selects Memory  
Memory, 32 K × 8  
Selects RTC  
Registers  
R/W  
RTC Registers, 16 × 8  
Control Registers  
- Memory Control Register, 1 × 8  
- Serial Number, 8 × 8  
- Device ID, 4 × 8  
Selects Control  
Registers  
0
0
1
1
Device select ID  
R/W  
- Command Register, 1 × 8  
Memory Slave Device  
RTC Registers Slave Device  
The nvSRAM device is selected for read/write if the master  
issues the slave address as 1010b followed by three bits of  
device select. If the slave address sent by the master matches  
with the Memory Slave device address then depending on the  
R/W bit of the slave address, the data will be either read from  
(R/W = ‘1’) or written to (R/W = ‘0’) the nvSRAM.  
The RTC Registers is selected for read/write if the master issues  
the slave address as 1101b followed by three bits of device  
select. Then, depending on the R/W bit of the slave address,  
data is either read from (R/W = ‘1’) or written to (R/W = ‘0’) the  
RTC Registers. The RTC Registers slave address is followed by  
one byte address of RTC Register for read/write operation. The  
RTC Registers map is explained in the Table 10.  
The address length for CY14X256I is 15 bits, and thus it requires  
two address bytes to map the entire memory address location.  
The dedicated two address bytes represent bit A0 to A14.  
However, since the address is only 15-bits, it implies that the first  
MSB bit that is fed in is ignored by the device. Although this bit  
is ‘don’t care’, Cypress recommends that this bit is treated as 0  
to enable seamless transition to higher memory densities.  
Figure 8. RTC Registers Slave Device Address  
handbook, halfpMagSe B  
LSB  
R/W  
0
A2 A1 A0  
1
1
1
Device Select  
Slave ID  
Figure 7. Memory Slave Device Address  
Control Registers Slave Device  
handbook, halfpMagSe B  
LSB  
The Control Registers Slave device includes the serial number,  
product ID, Memory Control, and Command Register.  
1
A2 A1  
0
A0 R/W  
1
0
The nvSRAM Control Register Slave device is selected for  
read/write if the master issues the slave address as 0011b  
followed by three bits of device select. Then, depending on the  
R/W bit of the slave address, data is either read from (R/W = ‘1’)  
or written to (R/W = ‘0’) the device.  
Device Select  
Slave ID  
Document Number: 001-65230 Rev. *G  
Page 7 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
S/N Lock (SNL) Bit: Serial Number Lock bit (SNL) is used to  
locktheserialnumber. Afterthebitissetto1’, theserialnumber  
registers are locked and no modification is allowed. This bit  
cannot be cleared to ‘0’. The serial number is secured on the  
next STORE operation (Software STORE or AutoStore). If  
AutoStore is not enabled, user must perform the Software  
STORE operation to secure the lock bit status. If a STORE was  
not performed, the serial number lock bit will not survive the  
power cycle. The default value shipped from the factory for SNL  
is ‘0’.  
Figure 9. Control Registers Slave Device Address  
handbook, halfpMagSe B  
LSB  
R/W  
1
A2 A1 A0  
1
0
0
Device Select  
Slave ID  
Table 2. Control Registers Map  
Address Description Read/Write  
Command Register  
Details  
The Command Register resides at address ‘AA’ of the Control  
Registers Slave device. This is a write only register. The byte  
written to this register initiates a STORE, RECALL, AutoStore  
Enable, AutoStore Disable, and Sleep mode operation as listed  
in Table 5. The section Executing Commands Using Command  
Register on page 19 explains how you can execute Command  
Register bytes.  
0x00  
Memory  
Control  
Register  
Read/Write Contains  
Block  
Protect bits and Serial  
Number lock bit  
0x01  
0x02  
0x03  
0x04  
0x05  
0x06  
0x07  
0x08  
0x09  
0x0A  
0x0B  
0x0C  
0x0D  
0xAA  
Serial Number Read/Write Programmable Serial  
8 bytes  
(Read only Number. Locked by  
when SNL setting the Serial  
is set)  
Number lock bit in the  
Table 5. Command Register Bytes  
Memory  
Control  
Register to ‘1’.  
Data Byte [7:0] Command  
Description  
0011 1100  
STORE STORE  
SRAM  
data  
to  
nonvolatile memory  
0110 0000  
RECALL RECALL data from nonvolatile  
memory to SRAM  
Device ID  
Reserved  
Read only Device ID is factory  
programmed  
0101 1001  
0001 1001  
1011 1001  
ASENB Enable AutoStore  
ASDISB Disable AutoStore  
SLEEP Enter Sleep Mode for low power  
consumption  
Reserved Reserved  
Command  
Register  
Write only Allows commands for  
STORE: Initiates nvSRAM Software STORE. The nvSRAM  
cannot be accessed for tSTORE time after this instruction has  
been executed. When initiated, the device performs a STORE  
operation regardless of whether or not a write has been  
performed since the last NV operation. After the tSTORE cycle  
time is completed, the SRAM is activated again for read/write  
operations.  
STORE,  
RECALL,  
AutoStore  
Enable/Disable,  
SLEEP Mode  
Memory Control Register  
The Memory Control Register contains the following bits:  
RECALL: Initiates nvSRAM Software RECALL. The nvSRAM  
cannot be accessed for tRECALL time after this instruction has  
been executed. The RECALL operation does not alter the data  
in the nonvolatile elements. A RECALL may be initiated in two  
ways: Hardware RECALL, initiated on power-up; and Software  
RECALL, initiated by a I2C RECALL instruction.  
Table 3. Memory Control Register Bits  
Bit 7  
Bit 6 Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
0
SNL  
(0)  
0
0
BP1  
(0)  
BP0  
(0)  
0
0
BP1:BP0: Block protect bits are used to protect 1/4, 1/2 or full  
memory array. These bits can be written through a write  
instruction to the 0x00 location of the Control Register Slave  
device. However, any STORE cycle transfers SRAM data into  
a nonvolatile cell regardless of whether or not the block is  
protected. The default value shipped from the factory for BP0  
and BP1 is ‘0’.  
ASENB: Enables nvSRAM AutoStore. The nvSRAM cannot be  
accessed for tSS time after this instruction has been executed.  
This setting is not nonvolatile and needs to be followed by a  
manual STORE sequence if this is desired to survive the power  
cycle. The part comes from the factory with AutoStore Enabled  
and 0x00 written in all cells.  
ASDISB: Disables nvSRAM AutoStore. The nvSRAM cannot  
be accessed for tSS time after this instruction has been  
executed. This setting is not nonvolatile and needs to be  
followed by a manual STORE sequence if this is desired to  
survive power cycle.  
Table 4. Block Protection  
Level  
0
1/4  
1/2  
1
BP1:BP0  
Block Protection  
00  
01  
10  
11  
None  
0x6000–0x7FFF  
0x4000–0x7FFF  
0x0000–0x7FFF  
Note If AutoStore is disabled and VCAP is not required, it is  
required that the VCAP pin is left open. VCAP pin must never be  
Document Number: 001-65230 Rev. *G  
Page 8 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
connected to ground. Power Up RECALL operation cannot be  
disabled in any case.  
initiated if no write cycle has been performed since the last  
STORE or RECALL.  
Note If a capacitor is not connected to VCAP pin, AutoStore must  
be disabled by issuing the AutoStore Disable instruction  
specified in Command Register on page 8. If AutoStore is  
enabled without a capacitor on VCAP pin, the device attempts an  
AutoStore operation without sufficient charge to complete the  
Store. This will corrupt the data stored in nvSRAM as well as the  
serial number and it will unlock the SNL bit.  
SLEEP: SLEEP instruction puts the nvSRAM in a sleep mode.  
When the SLEEP instruction is registered, the nvSRAM takes  
tSS time to process the SLEEP request. Once the SLEEP  
command is successfully registered and processed, the  
nvSRAM toggles HSB LOW, performs a STORE operation to  
secure the data to nonvolatile memory and then enters into  
SLEEP mode. Whenever nvSRAM enters into sleep mode, it  
initiates non volatile STORE cycle which results in losing an  
endurance cycle per sleep command execution. A STORE  
cycle starts only if a write to the SRAM has been performed  
since the last STORE or RECALL cycle.  
Figure 10 shows the proper connection of the storage capacitor  
(VCAP  
) for AutoStore operation. See the DC Electrical  
Characteristics on page 29 for the size of the VCAP  
.
Figure 10. AutoStore Mode  
The nvSRAM enters into sleep mode in this manner:  
1. The master sends a START command.  
VCC  
2. The master sends Control Registers Slave device ID with I2C  
write bit set (R/W = ’0’).  
0.1 uF  
3. The slave (nvSRAM) sends an ACK back to the master.  
4. The master sends Command Register address (0xAA).  
5. The slave (nvSRAM) sends an ACK back to the master.  
VCC  
6. The master sends Command Register byte for entering into  
sleep mode.  
VCAP  
7. The slave (nvSRAM) sends an ACK back to the master.  
8. The master generates a STOP condition.  
VCAP  
VSS  
Once in sleep mode, the device starts consuming IZZ current  
t
SLEEP time after SLEEP instruction is registered. The device is  
not accessible for normal operations until it is out of sleep mode.  
The nvSRAM wakes up after tWAKE duration after the device  
slave address is transmitted by the master.  
Hardware STORE and HSB pin Operation  
Transmitting any of the three slave addresses wakes the  
nvSRAM from sleep mode. The nvSRAM device is not  
accessible during tSLEEP and tWAKE interval and any attempt to  
access the nvSRAM device by the master is ignored and  
nvSRAM sends NACK to the master. An alternate method of  
determining when the device is ready is for the master to send  
read or write commands and look for an ACK.  
The HSB pin in CY14X256I is used to control and acknowledge  
STORE operations. If no STORE or RECALL is in progress, this  
pin can be used to request a Hardware STORE cycle. When the  
HSB pin is driven LOW, the device conditionally initiates a  
STORE operation after tDELAY duration. An actual STORE cycle  
starts only if a write to the SRAM has been 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.  
Write Protection (WP)  
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.  
The Write Protect (WP) pin is an active HIGH pin and protects  
the entire memory and all registers from write operations. To  
inhibit all the write operations, this pin must be held HIGH. When  
this pin is HIGH, all memory and register writes are prohibited  
and the address counter is not incremented. This pin is internally  
pulled LOW and, therefore, can be left open if not used.  
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 internal 100 kpull-up  
resistor.  
AutoStore Operation  
The AutoStore operation is a unique feature of nvSRAM that  
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.  
Note For successful last data byte STORE, a hardware STORE  
should be initiated at least one clock cycle after the last data bit  
D0 is received.  
Upon completion of the STORE operation, the nvSRAM memory  
access is inhibited for tLZHSB time after HSB pin returns HIGH.  
Leave the HSB pin unconnected if not used.  
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  
Hardware RECALL (Power Up)  
During power-up, when VCC crosses VSWITCH, an automatic  
RECALL sequence is initiated that transfers the content of  
nonvolatile memory to the SRAM. The data may have been  
Document Number: 001-65230 Rev. *G  
Page 9 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
previously stored on the nonvolatile memory through a STORE  
sequence.  
Read Operation  
If the last bit of the slave device address is ‘1’, a read operation  
is assumed and the nvSRAM takes control of the SDA line  
immediately after the slave device address byte is sent out by  
the master. The read operation starts from the current address  
location (the location following the previous successful write or  
read operation). When the last address is reached, the address  
counter loops back to the first address.  
A Power Up RECALL cycle takes tFA time to complete and the  
memory access is disabled during this time. HSB pin can be  
used to detect the ready status of the device.  
Write Operation  
The last bit of the slave device address indicates a read or a write  
operation. In case of a write operation, the slave device address  
is followed by the memory or register address and data. A write  
operation continues as long as a STOP or Repeated START  
condition is generated by the master or if a NACK is issued by  
the nvSRAM.  
In case of the Control Register Slave, whenever a burst read is  
performed such that it flows to a non-existent address, the reads  
operation loops back to 0x00. This is applicable, in particular, for  
the Command Register.  
Read operation can be ended using the following methods:  
A NACK is issued from the nvSRAM under the following  
conditions:  
1. The master issues a NACK on the ninth clock cycle followed  
by a STOP or a Repeated START condition on the tenth clock  
cycle.  
1. A valid Device ID is not received.  
2. A write (burst write) access to a protected memory block  
address returns a NACK from nvSRAM after the data byte is  
received. However, the address counter is set to this address  
and the following current read operation starts from this  
address.  
2. The master generates a STOP or Repeated START condition  
on the ninth clock cycle.  
More details on write instruction are provided in the section  
Memory Slave Access.  
3. A write/random read access to an invalid or out-of-bound  
memory address returns a NACK from the nvSRAM after the  
address is received. The address counter remains unchanged  
in such a case.  
Memory Slave Access  
The following sections describe the data transfer sequence  
required to perform read or write operations from nvSRAM.  
After a NACK is sent out from the nvSRAM, the write operation  
is terminated and any data on the SDA line is ignored till a STOP  
or a Repeated START condition is generated by the master.  
Write nvSRAM  
Each write operation consists of a slave address being  
transmitted after the start condition. The last bit of slave address  
must be set as ‘0’ to indicate a Write operation. The master may  
write one byte of data or continue writing multiple consecutive  
address locations while the internal address counter keeps  
incrementing automatically. The address register is reset to  
0x0000 after the last address in memory is accessed. The write  
operation continues till a STOP or Repeated START condition is  
generated by the master or a NACK is issued by the nvSRAM.  
For example, consider a case where the burst write access is  
performed on Control Register Slave address 0x01 for writing the  
serial number and continued to the address 0x09, which is a  
read-only register. The device returns a NACK and address  
counter is not incremented. A following read operation is started  
from the address 0x09. Further, any write operation which starts  
from a write protected address (say, 0x09) is responded by the  
nvSRAM with a NACK after the data byte is sent and set the  
address counter to this address. A following read operation starts  
from the address 0x09 in this case also.  
A write operation is executed only after nvSRAM receives all the  
eight data bits. The nvSRAM sends an ACK signal after a  
successful write operation. A write operation may be terminated  
by the master by generating a STOP condition or a Repeated  
START operation. If the master desires to abort the current write  
operation without altering the memory contents, this should be  
done using a START/STOP condition prior to the eighth data bit.  
Note In case you try to read/write access an address that does  
not exist (for example 0x0D in Control Register Slave or 0x3F in  
RTC registers), nvSRAM responds with a NACK immediately  
after the out-of-bound address is transmitted. The address  
counter remains unchanged and holds the previous successful  
read or write operation address.  
If the master tries to access a write protected memory address  
on the nvSRAM, a NACK is returned after the data byte intended  
to write the protected address is transmitted and address counter  
will not be incremented. Similarly, in a burst mode write  
operation, a NACK is returned when the data byte that attempts  
to write a protected memory location and the address counter is  
not incremented.  
A write operation is performed internally with no delay after the  
eighth bit of data is transmitted. If a write operation is not  
intended, the master must terminate the write operation before  
the eighth clock cycle by generating a STOP or Repeated  
START condition.  
More details on write instructions are provided in the section  
Memory Slave Access.  
Document Number: 001-65230 Rev. *G  
Page 10 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Figure 11. Single-Byte Write into nvSRAM (except Hs-mode)  
S
T
A
R
T
S
T
By Master  
SDA Line  
By nvSRAM  
Memory Slave Address  
Most Significant Address Byte  
Least Significant Address Byte  
Data Byte  
0
P
P
1
A2 A1  
A0  
S
1
0
0
0
X
A
A
A
A
Figure 12. Multi-Byte Write into nvSRAM (except Hs-mode)  
S
T
A
R
T
S
T
0
P
Least Significant Address  
Byte  
Most Significant Address  
Byte  
By Master  
Memory Slave Address  
Data Byte 1  
Data Byte N  
P
SDA Line  
1
A2 A1 A0  
S
1
0
0
0
X
By nvSRAM  
A
A
A
A
A
Figure 13. Single-Byte Write into nvSRAM (Hs-mode)  
S
T
A
R
T
S
T
0
P
Most Significant Address  
Byte  
Least Significant Address  
Byte  
By Master  
Hs-mode command  
Memory Slave Address  
A2 A1 A0  
Data Byte  
SDA Line  
P
0
1
X
X
X
1
Sr  
0
1 0  
S
0
0
0
0
X
By nvSRAM  
A
A
A
A
A
Figure 14. Multi-Byte Write into nvSRAM (Hs-mode)  
S
T
A
R
T
Most Significant Address  
Byte  
Least Significant Address  
Byte  
By Master  
Hs-mode command  
Memory Slave Address  
Data Byte 1  
0
1
X
X
X
1
0
1 0  
A2 A1  
A0  
X
S
0
0
0
Sr  
0
SDA Line  
By nvSRAM  
A
A
A
A
A
S
T
0
Data Byte N  
Data Byte 3  
Data Byte 2  
By Master  
P
SDA Line  
P
By nvSRAM  
A
A
A
Document Number: 001-65230 Rev. *G  
Page 11 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Current nvSRAM Read  
terminate a read operation after reading 1 byte or continue  
reading addresses sequentially till the last address in the  
memory after which the address counter rolls back to the  
address 0x0000. The valid methods of terminating read access  
are described in the section Read Operation on page 10.  
Each read operation starts with the master transmitting the  
nvSRAM slave address with the LSB set to ‘1’ to indicate ‘Read’.  
The reads start from the address on the address counter. The  
address counter is set to the address location next to the last  
accessed with a ‘Write’ or ‘Read’ operation. The master may  
Figure 15. Current Location Single-Byte nvSRAM Read (except Hs-mode)  
S
T
A
R
T
S
T
0
P
A
Memory Slave Address  
By Master  
P
SDA Line  
1
A2 A1  
A0  
S
1
0
0
1
By nvSRAM  
Data Byte  
A
Figure 16. Current Location Multi-Byte nvSRAM Read (except Hs-mode)  
S
T
A
R
T
S
A
A
T
0
P
Memory Slave Address  
By Master  
SDA Line  
By nvSRAM  
P
1
A2 A1 A0  
1
S
1
0
0
Data Byte N  
Data Byte  
A
Figure 17. Current Location Single-Byte nvSRAM Read (Hs-mode)  
S
T
S
A
T
0
P
A
R
By Master  
Hs-mode command  
Memory Slave Address  
T
S
SDA Line  
1
1 0 A2 A1 A0  
P
0
1
X
X
X
1
Sr  
0
0
0
0
By nvSRAM  
Data Byte  
A
A
Figure 18. Current Location Multi-Byte nvSRAM Read (Hs-mode)  
S
T
A
R
T
S
T
0
A
A
By Master  
Hs-mode command  
Memory Slave Address  
P
1
1 0 A2 A1 A0  
P
SDA Line  
0
1
X
X
X
1
Sr  
0
S
0
0
0
Data Byte N  
Data Byte  
By nvSRAM  
A
A
Document Number: 001-65230 Rev. *G  
Page 12 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Random Address Read  
read operation from here. The master may terminate a read  
operation after reading 1 byte or continue reading addresses  
sequentially till the last address in the memory after which the  
address counter rolls back to the start address 0x0000.  
A random address read is performed by first initiating a write  
operation and generating a Repeated START immediately after  
the last address byte is acknowledged. The address counter is  
set to this address and the next read access to this slave initiates  
Figure 19. Random Address Single-Byte Read (except Hs-mode)  
S
T
A
R
T
S
T
0
P
A
Most Significant Address  
Byte  
Least Significant Address  
Byte  
By Master  
Memory Slave Address  
Memory Slave Address  
P
SDA Line  
1
A2 A1  
Sr  
0
1
A2 A1 A0  
1
S
1
0
0
A0  
X
1
0
0
By nvSRAM  
Data Byte  
A
A
A
A
Figure 20. Random Address Multi-Byte Read (except Hs-mode)  
S
T
A
R
T
Least Significant Address  
Byte  
Most Significant Address  
Byte  
A
By Master  
Memory Slave Address  
Memory Slave Address  
1
A2 A1  
Sr  
0
1
A2 A1 A0  
1
A0  
X
S
1
0
0
1
0
0
SDA Line  
By nvSRAM  
Data Byte 1  
A
A
A
A
S
T
0
A
P
P
Data Byte N  
Figure 21. Random Address Single-Byte Read (Hs-mode)  
S
T
A
R
T
Most Significant Address  
Byte  
Least Significant Address  
Byte  
By Master  
Hs-mode command  
Memory Slave Address  
Memory Slave Address  
1
1 0 A2 A1 A0  
0
1
Sr  
0
SDA Line  
0
1
X
X
X
1
0
1
0
A2 A1 A0  
X
S
0
0
0
Sr  
A
By nvSRAM  
A
A
A
A
A
S
T
0
P
P
Data Byte  
Document Number: 001-65230 Rev. *G  
Page 13 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Figure 22. Random Address Multi-Byte Read (Hs-mode)  
S
T
A
R
T
Most ignificant Address  
Byte  
Least Significant Address  
Byte  
By Master  
Hs-mode command  
Memory Slave Address  
A2 A1 A0  
0
Memory Slave Address  
SDA Line  
1
1 0 A2 A1 A0  
1
Sr  
0
0
1
X
X
X
1
0
1
0
S
0
0
0
Sr  
X
By nvSRAM  
A
A
A
A
A
S
T
0
A
A
P
P
Data Byte  
Data Byte N  
generated by the master or a NACK is issued by the nvSRAM  
RTC Registers Slave.  
RTC Registers Slave Access  
The following sections describe the data transfer sequence  
required to perform read or write operations from RTC registers.  
A write operation is executed only after all the eight data bits  
have been received by the nvSRAM. The nvSRAM sends an  
ACK signal after the successful operation of the write instruction  
A write operation may be terminated by the master by generating  
a STOP condition or a Repeated START operation before the  
last data bit is sent.  
Write RTC Registers  
A write to RTC registers is initiated with the RTC Registers Slave  
address followed by one byte of address and data. The master  
may write one byte of data or continue writing multiple  
consecutive address locations while the internal address counter  
keeps incrementing automatically. The address register is reset  
to 0x00 after the last RTC register is accessed. The write  
operation continues till a STOP or Repeated START condition is  
If the master tries to access an out of bound memory address on  
the RTC Registers Slave, a NACK is returned after the address  
byte is transmitted. The address counter remains unaffected and  
the following current read operation starts from the address  
value held in the address counter.  
Figure 23. Single-Byte Write into RTC Registers  
S
T
A
R
T
S
T
RTC Registers Slave Address  
RTC Register Address  
Data Byte  
0
By Master  
P
P
0
A2 A1 A0  
0
SDA Line  
S
1
1
1
By nvSRAM  
A
A
A
Figure 24. Multi-Byte Write into RTC Registers  
S
T
A
R
T
S
T
0
Data Byte N  
RTC Registers Slave Address  
RTC Register Address  
Data Byte  
By Master  
P
P
0
A2 A1  
A0  
SDA Line  
S
1
1
1
0
By nvSRAM  
A
A
A
A
Document Number: 001-65230 Rev. *G  
Page 14 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Current Address RTC Registers Read  
may terminate a read operation after reading one byte or  
continue reading addresses sequentially till the last address in  
the memory after which the address counter rolls back to the  
address 0x00. A read operation may be terminated by the master  
by generating a STOP condition or a Repeated START operation  
or a NACK.  
A current read of RTC registers starts with the master sending  
the RTC Registers Slave address after the START condition. All  
read operations begin from the current address (the address  
next to previously accessed address location). After the last  
address is read sequentially, the address latch loops back to the  
first location (0x00) and read operation continues. The master  
Figure 25. Current Address RTC Registers Single-Byte Read  
S
T
A
R
T
S
T
A
0
RTC Registers Slave Address  
By Master  
P
P
0
A2 A1  
A0  
SDA Line  
S
1
1
1
1
By nvSRAM  
Data Byte  
A
Figure 26. Current Address RTC Registers Multi-Byte Read  
S
T
A
R
T
S
T
0
A
A
RTC Registers Slave Address  
By Master  
P
P
0
A2 A1  
A0  
SDA Line  
S
1
1
1
1
A
By nvSRAM  
Data Byte 1  
Data Byte N  
Random Address RTC Registers Read  
address counter rolls back to the start address location of RTC  
(0x00).  
A random address read is performed by first initiating a write  
operation and generating a Repeated START immediately after  
the last address byte is acknowledged. The address counter is  
set to this address and the next read access to this slave initiates  
the read operation from here. The master may terminate a read  
operation after reading one byte or continue reading addresses  
sequentially till the last address in the memory after which the  
A random address read attempt on an out of bound memory  
address on the RTC Registers Slave is responded back with a  
NACK from the nvSRAM after the address byte is transmitted.  
The address counter remains unaffected and the following  
current read operation starts from the address value held in the  
address counter.  
Figure 27. Random Address RTC Registers Single-Byte Read  
S
T
A
R
T
S
T
A
0
By Master  
RTC Registers Slave Address  
RTC Register Address  
RTC Registers Slave Address  
P
P
0
SDA Line  
0
A2 A1  
Sr  
1
0
A2 A1 A0  
1
S
1
1
1
A0  
1
1
By nvSRAM  
Data Byte  
A
A
A
Figure 28. Random Address RTC Registers Multi-Byte Read  
S
T
A
R
T
S
T
0
A
A
By Master  
RTC Registers Slave Address  
RTC Register Address  
RTC Registers Slave Address  
P
P
0
A2 A1  
Sr  
1
0
A2 A1 A0  
1
1
S
1
1
1
A0  
1
0
SDA Line  
BynvSRAM  
Data Byte N  
Data Byte 1  
A
A
A
Document Number: 001-65230 Rev. *G  
Page 15 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
first address (0x00) as in this case, the current address is an  
out-of-bound address. The address is not incremented and the  
next current read operation begins from this address location. If  
a write operation is attempted on an out-of-bound address  
location, the nvSRAM sends a NACK immediately after the  
address byte is sent.  
Control Registers Slave  
The following sections describe the data transfer sequence  
required to perform read or write operations from Control  
Registers Slave.  
Write Control Registers  
Further, if the serial number is locked, only two addresses (0xAA  
or Command Register, and 0x00 or Memory Control Register)  
are writable in the Control Registers Slave. On a write operation  
to any other address location, the device will acknowledge  
command byte and address bytes but it returns a NACK from the  
control Registers Slave for data bytes. In this case, the address  
will not be incremented and a current read will happen from the  
last acknowledged address.  
To write the Control Registers Slave, the master transmits the  
Control Registers Slave address after generating the START  
condition. The write sequence continues from the address  
location specified by the master till the master generates a STOP  
condition or the last writable address location.  
If a non-writable address location is accessed for write operation  
during a normal write or a burst, the slave generates a NACK  
after the data byte is sent and the write sequence terminates.  
Any following data bytes are ignored and the address counter is  
not incremented.  
The nvSRAM Control Registers Slave sends a NACK when an  
out of bound memory address is accessed for write operation, by  
the master. In such a case, a following current read operation  
begins from the last acknowledged address.  
If a write operation is performed on the Command Register  
(0xAA), the following current read operation also begins from the  
Figure 29. Single-Byte Write into Control Registers  
S
T
A
R
T
S
T
Control Registers  
Slave Address  
Control Register Address  
Data Byte  
By Master  
0
P
P
1
A2 A1 A0  
0
SDA Line  
S
0
0
1
By nvSRAM  
A
A
A
Figure 30. Multi-Byte Write into Control Registers  
S
T
A
R
T
S
T
0
Control Registers  
Slave Address  
Control Register Address  
Data Byte  
Data Byte N  
By Master  
P
P
1
A2 A1 A0  
0
SDA Line  
S
0
0
1
By nvSRAM  
A
A
A
A
Document Number: 001-65230 Rev. *G  
Page 16 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Current Control Registers Read  
address location and loops back to the first location (0x00). Note  
that the Command Register is a write only register and is not  
accessible through the sequential read operations. If a burst read  
operation begins from the Command Register (0xAA), the  
address counter wraps around to the first address in the register  
map (0x00).  
A read of Control Registers Slave is started with master sending  
the Control Registers Slave address after the START condition  
with the LSB set to ‘1’. The reads begin from the current address  
which is the next address to the last accessed location. The  
reads to Control Registers Slave continues until the last readable  
Figure 31. Control Registers Single-Byte Read  
S
T
A
R
T
S
Control Registers  
Slave Address  
T
A
By Master  
0
P
P
SDA Line  
1
A2 A1  
A0  
S
0
0
1
1
By nvSRAM  
Data Byte  
A
Figure 32. Current Control Registers Multi-Byte Read  
S
T
A
R
T
S
T
0
Control Registers  
Slave Address  
A
A
By Master  
P
P
1
A2 A1 A0  
1
SDA Line  
S
0
0
1
By nvSRAM  
Data Byte  
Data Byte N  
A
Random Control Registers Read  
Command Register is a write only register and is not accessible  
through the sequential read operations. A random read starting  
at the Command Register (0xAA) loops back to the first address  
in the Control Register register map (0x00). If a random read  
operation is initiated from an out-of-bound memory address, the  
nvSRAM sends a NACK after the address byte is sent.  
A read of random address may be performed by initiating a write  
operation to the intended location of read and immediately  
following with a Repeated START operation. The reads to  
Control Registers Slave continues till the last readable address  
location and loops back to the first location (0x00). Note that the  
Figure 33. Random Control Registers Single-Byte Read  
S
T
A
R
T
S
T
Control Registers  
Slave Address  
A
Control Register Address  
Control Registers Slave Address  
By Master  
0
P
Sr  
1
A2  
A1 A0 1  
P
0
1
SDA Line  
0
1
A2 A1  
A0  
S
0
0
1
0
By nvSRAM  
Data Byte  
A
A
A
Document Number: 001-65230 Rev. *G  
Page 17 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Figure 34. Random Control Registers Multi-Byte Read  
S
T
A
R
T
Control Registers  
Slave Address  
A
Control Register Address  
Control Registers Slave Address  
By Master  
Sr  
1
A2  
A1 A0  
0
1
1
0
1
A2 A1  
A0  
SDA Line  
S
0
0
1
0
By nvSRAM  
Data Byte  
A
A
A
S
T
0
A
P
P
Data Byte N  
when the lock bit is set, a NACK is returned and write is not  
performed.  
Serial Number  
Serial number is an 8 byte memory space provided to the user  
to uniquely identify this device. It typically consists of a two byte  
customer ID, followed by five bytes of unique serial number and  
one byte of CRC check. However, nvSRAM does not calculate  
the CRC and it is up to the user to utilize the eight byte memory  
space in the desired format. The default values for the eight byte  
locations are set to ‘0x00’.  
Serial Number Lock  
After writes to serial number registers is complete, the master is  
responsible for locking the serial number by setting the serial  
number lock bit to ‘1’ in the Memory Control Register (0x00). The  
content of Memory Control Register and serial number are  
secured on the next STORE operation (STORE or AutoStore). If  
AutoStore is not enabled, user must perform the STORE  
operation to secure the lock bit status.  
Serial Number Write  
The serial number can be accessed through the Control  
Registers Slave Device. To write the serial number, master  
transmits the Control Registers Slave address after the START  
condition and writes to the address location from 0x01 to 0x08.  
The content of Serial Number registers is secured to nonvolatile  
memory on the next STORE operation. If AutoStore is enabled,  
nvSRAM automatically stores the serial number in the  
nonvolatile memory on power-down. However, if AutoStore is  
disabled, user must perform a STORE operation to secure the  
contents of Serial Number registers.  
If a STORE was not performed, the serial number lock bit will not  
survive the power cycle. The serial number lock bit and 8-byte  
serial number is defaults to ‘0’ at power-up.  
Serial Number Read  
Serial number can be read back by a read operation of the  
intended address of the Control Registers Slave. The Control  
Registers Device loops back from the last address (excluding the  
Command Register) to 0x00 address location while performing  
burst read operation. The serial number resides in the locations  
from 0x01 to 0x08. Even if the serial number is not locked, a  
serial number read operation returns the current values written  
to the serial number registers. The master may perform a serial  
number read operation to confirm if the correct serial number is  
written to the registers before setting the lock bit.  
Note If the serial number lock (SNL) bit is not set, the serial  
number registers can be re-written regardless of whether or not  
a STORE has happened. After the serial number lock bit is set,  
no writes to the serial number registers are allowed. If the master  
tries to perform a write operation to the serial number registers  
Document Number: 001-65230 Rev. *G  
Page 18 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Device ID  
Device ID is a 4-byte code consisting of JEDEC assigned manufacturer ID, product ID, density ID, and die revision. These registers  
are set in the factory and are read only registers for the user.  
Table 6. Device ID  
Device ID Description  
Device ID  
(4 bytes)  
31–21  
(11 bits)  
20–7  
(14 bits)  
6–3  
(4 bits)  
2–0  
(3 bits)  
Device  
Manufacturer ID  
00000110100  
00000110100  
00000110100  
Product ID  
Density ID  
0010  
Die Rev  
000  
CY14C256I  
CY14B256I  
CY14E256I  
0x0681E290  
0x0681EA90  
0x0681F290  
00001111000101  
00001111010101  
00001111100101  
0010  
000  
0010  
000  
The device ID is divided into four parts as shown in Table 6:  
1. Manufacturer ID (11 bits)  
4. Die Rev (3 bits)  
This is used to represent any major change in the design of the  
product. The initial setting of this is always 0x0.  
This is the JEDEC assigned manufacturer ID for Cypress.  
JEDEC assigns the manufacturer ID in different banks. The first  
three bits of the manufacturer ID represent the bank in which ID  
is assigned. The next eight bits represent the manufacturer ID.  
Executing Commands Using Command Register  
The Control Registers Slave allows different commands to be  
executed by writing the specific command byte in the Command  
Register (0xAA). The command byte codes for each command  
are specified in Table 5 on page 8. During the execution of these  
commands the device is not accessible and returns a NACK if  
any of the three slave devices is selected. If an invalid command  
is sent by the master, the nvSRAM responds with an ACK  
indicating that the command has been acknowledged with NOP  
(No Operation). The address will rollover to 0x00 location.  
Cypress manufacturer ID is 0x34 in bank 0. Therefore the  
manufacturer ID for all Cypress nvSRAM products is as given  
below:  
Cypress ID - 000_0011_0100  
2. Product ID (14 bits)  
The product ID for device is shown in the Table 6.  
3. Density ID (4 bits)  
The 4-bit density ID is used as shown in Table 6 for indicating the  
256 Kb density of the product.  
Figure 35. Command Execution using Command Register  
S
T
A
R
T
S
T
O
P
Control Register  
Slave Address  
Command Register Address  
Command Byte  
By Master  
SDA Line  
1
A2 A1  
A0  
S
0
0
1
P
0
1
1
0
1
0
1
0
0
By nvSRAM  
A
A
A
Document Number: 001-65230 Rev. *G  
Page 19 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
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.  
Real Time Clock Operation  
nvTIME Operation  
The CY14X256I 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 clock and the timer information 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.  
Backup Power  
The RTC in the CY14X256I 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.  
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.  
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.  
During backup operation, the CY14X256I consumes a 0.45 µ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. Nominal backup times are  
approximately two times longer.  
Table 7. RTC Backup Time  
Reading the Clock  
Backup Time  
Capacitor Value  
The double buffered RTC register structure reduces the chance  
of reading incorrect data from the clock. Internal updates to the  
CY14X256I 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.  
(CY14B256I)  
0.1 F  
0.47 F  
1.0 F  
60 hours  
12 days  
25 days  
When a read sequence of RTC device is initiated, the update of  
the user timekeeping registers stops and does not restart until a  
STOP or a Repeated START condition is generated. The RTC  
registers are read while the internal clock continues to run. After  
the end of read sequence, all the RTC registers are  
simultaneously updated within 20 ms.  
Using a capacitor has the obvious advantage of recharging the  
backup source each time the system is powered up. If a battery  
backup is used, a 3-V lithium battery is recommended and the  
CY14X256I sources current only from the battery when the  
primary power is removed. However, the battery is not recharged  
at any time by the CY14X256I. The battery capacity must be  
chosen for total anticipated cumulative down time required over  
the life of the system.  
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  
cleared by writing ‘0’ to it and a STOP or Repeated START  
condition is encountered, the values of timekeeping registers are  
transferred to the actual clock counters after which the clock  
resumes normal operation. If a valid STOP or Repeated START  
condition is not generated by the master, the time written to the  
RTC registers is never transferred to the actual clock counters.  
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.  
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 CY14X256I 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  
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.  
V
SWITCH) the OSCEN bit is checked for the ‘enabled’ status. If  
Note After ‘W’ bit is set to ‘0’, values written into the timekeeping,  
alarm, calibration, and interrupt registers are transferred to the  
the OSCEN bit is enabled and the oscillator is not active within  
Document Number: 001-65230 Rev. *G  
Page 20 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
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  
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.  
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.  
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.  
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.  
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  
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.  
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 the market  
typically have an error of +20 ppm to +35 ppm. However,  
CY14X256I 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.  
To set, clear or enable an alarm, set the ‘W’ bit (in 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.  
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 the 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.  
Note CY14X256I 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.  
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.  
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.  
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  
(001010b) must be loaded into the Calibration register to offset  
this error.  
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  
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 36 on page 22. Note that  
setting the watchdog time out value to ‘0’ disables the watchdog  
function.  
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.  
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  
Document Number: 001-65230 Rev. *G  
Page 21 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
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 user reads  
the flag registers.  
is set in the event of backup voltage falling lower than VBAKFAIL  
The backup power is monitored even while the RTC is running  
in backup mode. Low voltage detected during backup mode is  
flagged through the BPF flag. BPF can hold the data only until a  
defined low level of the back up voltage (VDR).  
.
Figure 36. Watchdog Timer Block Diagram  
Interrupts  
The CY14X256I 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  
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.  
Clock  
Oscillator  
1 Hz  
Divider  
32.768 KHz  
32 Hz  
Zero  
Compare  
WDF  
Counter  
Load  
WDS  
Register  
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.  
Q
D
WDW  
Q
Watchdog  
Register  
write to  
Watchdog  
Register  
Programmable Square Wave Generator  
The square wave generator block uses the crystal output to  
generate a desired frequency on the INT pin of the device. The  
output frequency can be programmed to be one of the following:  
1. 1 Hz  
Interrupts are only generated while working on normal power and  
are not triggered when system is running in backup power mode.  
2. 512 Hz  
3. 4096 Hz  
4. 32768 Hz  
Note CY14X256I generates valid interrupts only after the  
Powerup RECALL sequence is completed. All events on INT pin  
must be ignored for tFA duration after powerup.  
The square wave output is not generated while the device is  
running on backup power.  
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.  
Power Monitor  
The CY14X256I provides a power management scheme with  
power fail interrupt capability. It also controls the internal switch  
to back up power for the clock and protects the memory from low  
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 the flags register.  
V
CC access. The power monitor is based on an internal band gap  
reference circuit that compares the VCC voltage to VSWITCH  
threshold.  
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 the flags  
register.  
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.  
Square Wave Enable (SQWE): When set to ‘1’, a square wave  
of programmable frequency is generated on the INT pin. The  
frequency is decided by the SQ1 and SQ0 bits of the interrupts  
register. This bit is nonvolatile and survives power cycle. The  
SQWE bit overrides all other interrupts. However, CAL bit will  
take precedence over the square wave generator. This bit  
defaults to ‘0’ from the factory.  
When operating from the backup source, read and write opera-  
tions 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 are  
available to the user after VCC is restored to the device (see  
nvSRAM Specifications on page 33).  
High/Low (H/L): When set to a ‘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.  
Backup Power Monitor  
The CY14X256I provides a backup power monitoring system  
that detects the backup power (either battery or capacitor  
backup) failure. The backup power fail flag (BPF) is issued on  
the next power-up in case of backup power failure. The BPF flag  
Document Number: 001-65230 Rev. *G  
Page 22 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Pulse/Level (P/L): When set to a ‘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.  
Following is a summary table that shows the state of the INT pin,  
Table 9. State of the INT pin  
WIE/AIE/  
CAL  
SQWE  
INT Pin Output  
PFE  
SQ1 and SQ0. These bits are used together to fix the frequency  
of square wave on INT pin output when SQWE bit is set to ‘1’.  
These bits are nonvolatile and survive power cycle. The output  
frequency is decided as illustrated in this table.  
1
0
0
0
X
1
0
0
X
512 Hz  
Square wave output  
Alarm  
X
1
Table 8. SQW Output Selection  
0
HI-Z  
SQ1 SQ0 Frequency  
Comment  
1 Hz signal  
0
0
1
1
0
1
0
1
1 Hz  
Flags Register  
512 Hz  
4096 Hz  
512 Hz clock output  
4 kHz clock output  
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 after 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 20).  
32768 Hz Oscillator output frequency  
When an enabled interrupt source activates the INT pin, an  
external host reads the flag registers 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.  
Document Number: 001-65230 Rev. *G  
Page 23 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Figure 37. RTC Recommended Component Configuration [4]  
Recommended Values  
Y1 = 32.768 KHz (12.5 pF)  
C
C
= 12 pF  
= 69 pF  
1
2
X
X
C1  
C2  
out  
in  
Y1  
Note: The recommended values for C1 and C2 include  
board trace capacitance.  
Figure 38. Interrupt Block Diagram  
WIE  
Watchdog  
Timer  
WDF  
PFE  
VCC  
P/L  
Power  
Monitor  
WDF - Watchdog timer flag  
WIE - Watchdog interrupt  
enable  
PF  
512 Hz  
Clock  
Pin  
INT  
AIE  
Driver  
Mux  
Clock  
Alarm  
PF - Power fail flag  
PFE - Power Fail Enable  
Square  
Wave  
AF  
HI-Z  
Control  
H/L  
VSS  
AF - Alarm fag  
AIE - Alarm interrupt enable  
SEL Line  
P/L - Pulse level  
H/L - High/Low  
SQWE - Square wave enable  
SQWE  
CAL  
Priority  
Encoder  
WIE/PIE/  
AIE  
Note  
4. For nonvolatile static random access memory (nvSRAM) real time clock (RTC) design guidelines and best practices , refer application note AN61546.  
Document Number: 001-65230 Rev. *G  
Page 24 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Table 10. RTC Register Map [5, 6]  
Register  
BCD Format Data  
Function/Range  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x0F  
0x0E  
10s years  
Years  
Years: 00–99  
0
0
0
10s  
months  
Months  
Months: 01–12  
0x0D  
0x0C  
0x0B  
0x0A  
0x09  
0x08  
0
0
0
0
0
0
0
0
10s day of month  
Day of month  
Day of week  
Day of month: 01–31  
Day of week: 01–07  
Hours: 00–23  
0
0
0
10s hours  
Hours  
Minutes  
Seconds  
10s minutes  
10s seconds  
Minutes: 00–59  
Seconds: 00–59  
Calibration Values [7]  
OSCEN  
(0)  
0
Cal Sign  
(0)  
Calibration (00000)  
0x07  
0x06  
WDS (0) WDW (0)  
WDT (000000)  
Watchdog [7]  
Interrupts [7]  
WIE (0)  
AIE (0)  
PFE (0)  
SQWE  
(0)  
H/L (1)  
P/L (0)  
SQ1 (0) SQ0 (0)  
0x05  
0x04  
0x03  
0x02  
0x01  
0x00  
M (1)  
M (1)  
M (1)  
M (1)  
0
0
10s alarm date  
10s alarm hours  
Alarm day  
Alarm, day of month: 01–31  
Alarm, hours: 00–23  
Alarm, minutes: 00–59  
Alarm, seconds: 00–59  
Centuries: 00–99  
Alarm hours  
Alarm minutes  
Alarm seconds  
Centuries  
10s alarm minutes  
10s alarm seconds  
10s centuries  
WDF  
AF  
PF  
OSCF[8]  
BPF[8]  
CAL (0)  
W (0)  
R (0)  
Flags [7]  
Notes  
5. ( ) designates values shipped from the factory.  
6. The unused bits of RTC registers are reserved for future use and should be set to ‘0’.  
7. This is a binary value, not a BCD value.  
8. When user resets OSCF and BPF flag bits, the flags register will be updated after t  
time.  
RTCp  
Document Number: 001-65230 Rev. *G  
Page 25 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Table 11. Register Map Detail  
Register  
Description  
Time Keeping - Years  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x0F  
10s years  
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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x0E  
0x0D  
0
0
0
10s month  
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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0
0
10s day of month  
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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0
0
0
0
0
Day of week  
0x0C  
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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x0B  
0x0A  
0
0
10s hours  
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  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0
10s minutes  
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  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x09  
0X08  
0
10s seconds  
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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
OSCEN  
0
Calibration  
sign  
Calibration  
OSCEN 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-65230 Rev. *G  
Page 26 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Table 11. Register Map Detail (continued)  
Register  
Description  
Calibration These five bits control the calibration of the clock.  
Watchdog Timer  
0x07  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
WDS  
WDW  
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 21.  
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  
SQWE  
H/L  
P/L  
SQ1  
SQ0  
WIE  
AIE  
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.  
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.  
SQWE  
Square Wave Enable. When set to ‘1’, a square wave is driven on the INT pin with frequency programmed using SQ1  
and SQ0 bits. The square wave output takes precedence over interrupt logic. If the SQWE bit is set to ‘1’. when an  
enabled interrupt source becomes active, only the corresponding flag is raised and the INT pin continues to drive the  
square wave.  
H/L  
P/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.  
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.  
SQ1, SQ0 SQ1, SQ0. These bits are used to decide the frequency of the Square wave on the INT pin output when SQWE bit is  
set to ‘1’. The following is the frequency output for each combination of (SQ1, SQ0):  
(0, 0) - 1 Hz  
(0, 1) - 512 Hz  
(1, 0) - 4096 Hz  
(1, 1) - 32768 Hz  
Alarm - Day  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
Alarm date  
D0  
0x05  
M
0
10s 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  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
Alarm hours  
D0  
0x04  
M
0
10s 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.  
Document Number: 001-65230 Rev. *G  
Page 27 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Table 11. Register Map Detail (continued)  
Register  
Description  
Alarm - Minutes  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x03  
M
10s alarm minutes  
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.  
Alarm - Seconds  
D7  
D6  
D5  
D4  
D3  
D2  
D1  
D0  
0x02  
M
10s alarm seconds  
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  
10s centuries  
D4  
D3  
D2  
D1  
Centuries  
D0  
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  
BPF  
CAL  
W
R
WDF  
AF  
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  
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  
when the flags register is read.  
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 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.  
BPF  
Backup Power Fail Flag. Set to ‘1’ on power-up if the backup power (battery or capacitor) failed. The backup power fail  
condition is determined by the voltage falling below their respective minimum specified voltage. BPF can hold the data  
only till a defined low level of the back up voltage (VDR). User must reset this bit to clear this flag. When user resets  
BPF flag bit, the bit will be updated after tRTCp time.  
CAL  
W
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 takes priority than SQ0/SQ1 and other functions. This bit defaults to ‘0’ (disabled) on power-up.  
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-65230 Rev. *G  
Page 28 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Transient voltage (< 20 ns) on  
any pin to ground potential ................. –2.0 V to VCC + 2.0 V  
Maximum Ratings  
Exceeding maximum ratings may shorten the useful life of the  
device. These user guidelines are not tested.  
Package power dissipation  
capability (TA = 25 °C) ................................................. 1.0 W  
Storage temperature ................................ –65 °C to +150 °C  
Maximum accumulated storage time  
Surface mount lead soldering  
temperature (3 seconds) ......................................... +260 °C  
DC output current (1 output at a time, 1s duration) .... 15 mA  
At 150 °C ambient temperature ...................... 1000 h  
At 85 °C ambient temperature ..................... 20 Years  
Maximum junction temperature ................................. 150 °C  
Static discharge voltage  
(per MIL-STD-883, Method 3015) ......................... > 2001 V  
Latch up current .................................................... > 140 mA  
Supply voltage on VCC relative to VSS  
CY14C256I: ......................................–0.5 V to +3.1 V  
CY14B256I: ......................................–0.5 V to +4.1 V  
CY14E256I: ......................................–0.5 V to +7.0 V  
DC voltage applied to outputs  
Operating Range  
Ambient  
Temperature  
Product  
Range  
VCC  
in high Z state .....................................0.5 V to VCC + 0.5 V  
CY14C256I Industrial –40 °C to +85 °C  
2.4 V to 2.6 V  
2.7 V to 3.6 V  
4.5 V to 5.5 V  
Input voltage .......................................0.5 V to VCC + 0.5 V  
CY14B256I  
CY14E256I  
DC Electrical Characteristics  
Over the Operating Range  
Parameter  
Description  
Power supply  
Test Conditions  
CY14C256I  
Min  
2.4  
2.7  
4.5  
Typ [9]  
2.5  
3.0  
5.0  
Max  
2.6  
3.6  
5.5  
1
Unit  
VCC  
V
V
CY14B256I  
CY14E256I  
V
ICC1  
Average VCC current  
fSCL = 3.4 MHz;  
mA  
Values obtained without output loads  
(IOUT = 0 mA)  
f
SCL = 1 MHz;  
CY14C256I  
400  
A  
Values obtained without CY14B256I  
output loads  
CY14E256I  
(IOUT = 0 mA)  
450  
3
A  
ICC2  
ICC4  
ISB  
Average VCC current during  
STORE  
All inputs don’t care, VCC = max  
mA  
Average current for duration tSTORE  
Average VCAP current during  
AutoStore cycle  
All inputs don't care. Average current  
for duration tSTORE  
3
mA  
VCC standby current  
SCL > (VCC – 0.2 V).  
250  
A  
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. fSCL = 0 MHz.  
IZZ  
Sleep mode current  
tSLEEP time after SLEEP Instruction is  
registered. All inputs are static and  
configured at CMOS logic level.  
8
A  
[10]  
IIX  
Input current in each I/O pin  
(except HSB)  
–1  
–100  
–1  
+1  
+1  
+1  
A  
A  
A  
0.1 VCC < Vi < 0.9 VCCmax  
Input current in each I/O pin (for  
HSB)  
IOZ  
Output leakage current  
Notes  
9. Typical values are at 25 °C, V = V  
. Not 100% tested.  
CC  
CC(Typ)  
10. Not applicable to WP, A2, A1 and A0 pins.  
Document Number: 001-65230 Rev. *G  
Page 29 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
DC Electrical Characteristics (continued)  
Over the Operating Range  
Parameter  
Ci  
Description  
Test Conditions  
Min  
Typ [9]  
Max  
Unit  
Capacitance for each I/O pin  
Capacitancemeasuredacrossallinput  
7
pF  
and output signal pin and VSS  
.
VIH  
VIL  
Input HIGH voltage  
Input LOW voltage  
Output LOW voltage  
0.7 × Vcc  
VCC + 0.5  
V
V
– 0.5  
0.3 × VCC  
VOL  
IOL = 3 mA  
IOL = 6 mA  
0
0.4  
0.6  
V
0
V
[11]  
Rin  
Input resistance (WP, A2, A1, A0) For VIN = VIL (Max)  
For VIN = VIH (Min)  
50  
1
K  
M  
V
Vhys  
Hysteresis of Schmitt trigger  
inputs  
0.05 × VCC  
[12]  
VCAP  
Storage capacitor  
Between VCAP pin and CY14C256I  
170  
42  
220  
47  
270  
180  
F  
F  
VSS  
CY14B256I  
CY14E256I  
[13, 14]  
VVCAP  
Maximum voltage driven on VCAP VCC = Max  
pin by the device  
CY14C256I  
CY14B256I  
VCC  
V
V
CY14E256I  
VCC– 0.5  
Data Retention and Endurance  
Over the Operating Range  
Parameter  
Description  
Min  
20  
Unit  
Years  
K
DATAR  
NVC  
Data retention  
Nonvolatile STORE operations  
1,000  
Thermal Resistance  
Parameter [13]  
Description  
Test Conditions  
16-pin SOIC Unit  
JA  
Thermal resistance  
(junction to ambient)  
Test conditions follow standard test methods and procedures  
for measuring thermal impedance, according to EIA / JESD51.  
56.68  
C/W  
JC  
Thermal resistance  
(junction to case)  
32.11  
C/W  
Notes  
11. The input pull-down circuit is stronger (50 k) when the input voltage is below V and weak (1 M) when the input voltage is above V  
.
IH  
IL  
12. Min V  
value guarantees that there is a sufficient charge available to complete a successful AutoStore operation. Max V  
value guarantees that the capacitor on  
CAP  
CAP  
V
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  
CAP  
is always recommended to use a capacitor within the specified min and max limits. Refer application note AN43593 for more details on V  
options.  
CAP  
13. Maximum voltage on V  
pin (V  
) is provided for guidance when choosing the V  
capacitor. The voltage rating of the V capacitor across the operating  
CAP  
VCAP  
CAP  
CAP  
temperature range should be higher than the V  
voltage.  
VCAP  
14. These parameters are guaranteed by design and are not tested.  
Document Number: 001-65230 Rev. *G  
Page 30 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
AC Test Loads and Waveforms  
Figure 39. AC Test Loads and Waveforms  
For 3.0 V (CY14B256I)  
For 5.0 V (CY14E256I)  
For 2.5 V (CY14C256I)  
2.5 V  
3.0 V  
5.0 V  
867  
1.6 K  
700   
OUTPUT  
OUTPUT  
OUTPUT  
100 pF  
50 pF  
100 pF  
AC Test Conditions  
Description  
Input pulse levels  
CY14C256I  
0 V to 2.5 V  
10 ns  
CY14B256I  
0 V to 3 V  
10 ns  
CY14E256I  
0 V to 5 V  
10 ns  
Input rise and fall times (10%–90%)  
Input and output timing reference levels  
1.25 V  
1.5 V  
2.5 V  
RTC Characteristics  
Over the Operating Range  
Parameter  
Description  
Min  
1.8  
Typ  
Max  
3.6  
0.45  
Units  
V
VRTCbat  
RTC battery pin voltage  
RTC backup current  
[15]  
IBAK  
TA (Min)  
25 °C  
µA  
µA  
µA  
V
0.45  
TA (Max)  
TA (Min)  
25 °C  
0.60  
3.6  
3.6  
3.6  
2.2  
[16]  
VRTCcap  
RTC capacitor pin voltage  
1.6  
1.5  
1.4  
1.8  
1.6  
3.0  
V
TA (Max)  
V
VBAKFAIL  
VDR  
Backup failure threshold  
BPF flag retention voltage  
RTC oscillator time to start  
V
V
tOCS  
1
2
sec  
ms  
tRTCp  
RTC processing time from end of ‘W’ bit set to ‘0’  
RTC backup capacitor charge current-limiting resistor  
1
RBKCHG  
350  
850  
Notes  
15. Current drawn from either V  
or V  
when V < V  
RTCcap  
RTCbat SWITCH.  
CC  
RTCcap  
16. If V  
> 0.5 V or if no capacitor is connected to V  
pin, the oscillator will start in t  
time. If a backup capacitor is connected and V < 0.5 V, the capacitor  
RTCcap  
RTCcap  
OCS  
must be allowed to charge to 0.5 V for oscillator to start.  
Document Number: 001-65230 Rev. *G  
Page 31 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
AC Switching Characteristics  
Over the Operating Range  
3.4 MHz [18]  
1 MHz [18]  
400 kHz [18]  
Parameter [17]  
Description  
Unit  
Min  
Max  
3400  
Min  
Max  
1000  
Min  
Max  
400  
fSCL  
Clock frequency, SCL  
kHz  
ns  
tSU; STA  
Setup time for Repeated START  
condition  
160  
250  
600  
tHD;STA  
tLOW  
Hold time for START condition  
LOW period of the SCL  
HIGH period of the SCL  
Data in setup time  
160  
160  
60  
10  
0
250  
500  
260  
100  
0
600  
1300  
600  
100  
0
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tHIGH  
tSU;DATA  
tHD;DATA  
tDH  
tr[19]  
tf[19]  
Data hold time (In/Out)  
Data out hold time  
0
0
0
Rise time of SDA and SCL  
Fall time of SDA and SCL  
Setup time for STOP condition  
Data output valid time  
ACK output valid time  
80  
80  
120  
120  
300  
300  
tSU;STO  
tVD;DATA  
tVD;ACK  
160  
250  
600  
130  
130  
80  
400  
400  
120  
900  
900  
250  
[19]  
tOF  
Output fall time from VIH min to  
VILmax  
tBUF  
tSP  
Bus free time between STOP  
and next START condition  
0.3  
0.5  
1.3  
us  
ns  
Pulse width of spikes that must  
be suppressed by input filter  
10  
50  
50  
Switching Waveforms  
Figure 40. Timing Diagram  
SDA  
t
r
t
f
t
SP  
t
t
VD;DAT  
BUF  
t
t
HIGH  
SU;DATA  
t
t
t
HD;STA  
SU;STO  
t
VD;ACK  
LOW  
SCL  
t
t
t
9th clock  
(ACK)  
f
r
HD;STA  
t
t
SU;STA  
HD;DATA  
S
S
Sr  
P
START condition  
STOP condition START condition  
Repeated START condition  
Note  
17. Test conditions assume signal transition time of 10 ns or less, timing reference levels of V /2, input pulse levels of 0 to V  
, and output loading of the specified  
CC(typ)  
CC  
I
and load capacitance shown in Figure 39.  
OL  
2
18. Bus Load (Cb) considerations; Cb < 500 pF for I C clock frequency (SCL) 100/400 KHz; Cb < 550 pF for SCL at 1000 kHz; Cb < 100 pF for SCL at 3.4 MHz.  
19. These parameters are guaranteed by design and are not tested.  
Document Number: 001-65230 Rev. *G  
Page 32 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
nvSRAM Specifications  
Over the Operating Range  
Parameter  
tFA  
Description  
Min  
150  
Max  
40  
20  
20  
8
Unit  
ms  
ms  
ms  
ms  
ns  
µs  
V
V
V
µs  
V
[20]  
Power-up RECALL duration  
CY14C256I  
CY14B256I  
CY14E256I  
[21]  
tSTORE  
STORE cycle duration  
[22]  
tDELAY  
tVCCRISE  
VSWITCH  
Time allowed to complete SRAM write cycle  
VCC rise time  
25  
[23]  
Low voltage trigger level  
CY14C256I  
CY14B256I  
CY14E256I  
2.35  
2.65  
4.40  
5
1.9  
500  
40  
20  
20  
8
100  
[23]  
tLZHSB  
HSB high to nvSRAM active time  
HSB output disable voltage  
[23]  
VHDIS  
tHHHD  
tWAKE  
[23]  
HSB HIGH active time  
ns  
ms  
ms  
ms  
ms  
µs  
Time for nvSRAM to wake up from SLEEP mode  
CY14C256I  
CY14B256I  
CY14E256I  
tSLEEP  
Time to enter low power mode after issuing SLEEP instruction  
Time to enter into standby mode after issuing STOP condition  
[23]  
tSB  
Switching Waveforms  
Figure 41. AutoStore or Power-Up RECALL [24]  
VCC  
VSWITCH  
VHDIS  
21  
Note  
21  
Note  
tVCCRISE  
tSTORE  
tSTORE  
tHHHD  
tHHHD  
25  
25  
Note  
Note  
HSB OUT  
AutoStore  
tDELAY  
tLZHSB  
tLZHSB  
tDELAY  
POWER-  
UP  
RECALL  
tFA  
tFA  
Read & Write  
Inhibited  
(RWI)  
Read & Write  
Read & Write  
POWER-UP  
RECALL  
BROWN  
OUT  
AutoStore  
POWER  
DOWN  
AutoStore  
POWER-UP  
RECALL  
Notes  
20. t starts from the time V rises above V  
SWITCH.  
FA  
CC  
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 t  
23. These parameters are guaranteed by design and are not tested.  
.
DELAY  
24. Read and Write cycles are ignored during STORE, RECALL, and while V is below V  
CC  
SWITCH.  
25. During power-up and power-down, HSB glitches when HSB pin is pulled up through an external resistor.  
Document Number: 001-65230 Rev. *G  
Page 33 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Software Controlled STORE/RECALL Cycles  
Over the Operating Range  
CY14X256I  
Parameter  
tRECALL  
Description  
Unit  
Min  
Max  
600  
500  
RECALL duration  
Software sequence processing time  
µs  
µs  
[26, 27]  
tSS  
Switching Waveforms  
Figure 42. Software STORE/RECALL Cycle  
DATA OUTPUT  
Command Reg Address  
acknowledge (A) by Slave  
Command Byte (STORE/RECALL)  
nvSRAM Control Slave Address  
BY MASTER  
acknowledge (A) by Slave  
acknowledge (A) by Slave  
SCL FROM  
MASTER  
2
8
9
1
2
8
9
1
2
8
9
1
P
S
START  
condition  
RWI  
t
t
STORE / RECALL  
Figure 43. AutoStore Enable/Disable Cycle  
DATA OUTPUT  
BY MASTER  
Command Reg Address  
acknowledge (A) by Slave  
Command Byte (ASENB/ASDISB)  
nvSRAM Control Slave Address  
acknowledge (A) by Slave  
acknowledge (A) by Slave  
SCL FROM  
MASTER  
2
8
9
1
2
8
9
1
2
8
9
1
P
S
START  
condition  
RWI  
t
SS  
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-65230 Rev. *G  
Page 34 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Hardware STORE Cycle  
Over the Operating Range  
CY14X256I  
Parameter  
Description  
Unit  
Min  
Max  
tPHSB  
Hardware STORE pulse width  
15  
ns  
Switching Waveforms  
Figure 44. Hardware STORE Cycle [28]  
Write Latch set  
t
PHSB  
HSB (IN)  
t
STORE  
t
t
HHHD  
DELAY  
HSB (OUT)  
RWI  
t
LZHSB  
Write Latch not set  
t
PHSB  
HSB (IN)  
HSB pin is driven HIGH to V  
only by Internal  
CC  
100 K: resistor, HSB driver is disabled  
SRAM is disabled as long as HSB (IN) is driven LOW.  
HSB (OUT)  
RWI  
t
DELAY  
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-65230 Rev. *G  
Page 35 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Ordering Information  
Ordering Code  
CY14B256I-SFXI  
Package Diagram  
Package Type  
Operating Range  
51-85022  
16-pin SOIC  
Industrial  
CY14B256I-SFXIT  
The above part is Pb-free. This table contains Final information. Contact your local Cypress sales representative for availability of these parts.  
Ordering Code Definitions  
CY 14 B 256 I - SF X I T  
Option:  
T - Tape and Reel  
Blank - Std.  
Temperature:  
I - Industrial (–40 to 85 °C)  
Pb-free  
Package:  
SF - 16-pin SOIC  
I - Serial (I2C) nvSRAM with RTC  
Density:  
256 - 256 Kb  
Voltage:  
C - 2.5 V  
B - 3.0 V  
E - 5.0 V  
14 - nvSRAM  
Cypress  
Document Number: 001-65230 Rev. *G  
Page 36 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Package Diagram  
Figure 45. 16-pin SOIC (0.413 × 0.299 × 0.0932) Inches Package Outline, 51-85022  
51-85022 *E  
Document Number: 001-65230 Rev. *G  
Page 37 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Acronyms  
Document Conventions  
Units of Measure  
Acronym  
Description  
ACK  
BCD  
CMOS  
CRC  
EIA  
Acknowledge  
Binary Coded Decimal  
Symbol  
°C  
Unit of Measure  
degree Celsius  
farad  
Complementary Metal Oxide Semiconductor  
Cyclic Redundancy Check  
Electronic Industries Alliance  
Inter-Integrated Circuit Bus  
Input/Output  
F
Hz  
kHz  
k  
MHz  
M  
A  
F  
µs  
hertz  
kilohertz  
I2C  
kilohm  
I/O  
megahertz  
megaohm  
microampere  
microfarad  
microsecond  
milliampere  
millisecond  
nanosecond  
ohm  
JEDEC  
LSB  
Joint Electron Devices Engineering Council  
Least Significant Bit  
MSB  
nvSRAM  
OSCF  
RoHS  
R/W  
Most Significant Bit  
Non-volatile Static Random Access Memory  
Oscillator Fail Flag  
mA  
ms  
ns  
Restriction of Hazardous Substances  
Read/Write  
RTC  
RWI  
Real Time Clock  
Read and Write Inhibited  
Serial Clock Line  
pF  
ppm  
V
picofarad  
parts per million  
volt  
SCL  
SDA  
SNL  
Serial Data Line  
Serial Number Lock  
W
watt  
SOIC  
SRAM  
WP  
Small Outline Integrated Circuit  
Static Random Access Memory  
Write Protect  
Document Number: 001-65230 Rev. *G  
Page 38 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Document History Page  
Document Title: CY14C256I, CY14B256I, CY14E256I, 256-Kbit (32 K × 8) Serial (I2C) nvSRAM with Real Time Clock  
Document Number: 001-65230  
Submission  
Date  
Orig. of  
Change  
Rev.  
ECN No.  
Description of Change  
**  
3089600  
3197569  
11/18/2010  
03/16/2011  
GVCH  
GVCH  
New data sheet.  
*A  
Updated AutoStore Operation (description).  
Updated Hardware STORE and HSB pin Operation (Added more clarity on  
HSB pin operation).  
Updated Table 6 (Product ID column).  
Updated Setting the Clock (description).  
Updated Figure 37 (C1, C2 values to 12pF, 69pF from 10pF, 67pF  
respectively).  
Updated Table 11 (‘W’ bit description).  
Updated .  
Updated RTC Characteristics (Added tRTCp parameter).  
Updated nvSRAM Specifications (description of tLZHSB parameter).  
Fixed Typo error in Figure 41.  
Updated in new template.  
*B  
*C  
3248510  
3394987  
05/05/2011  
11/28/2011  
GVCH  
GVCH  
Datasheet status changed from “Preliminary” to “Final”  
Updated Pin Definitions (SDA pin description).  
Added footnote 3  
Updated Command Register (SLEEP description on page 9).  
Updated Device ID (Added device ID (4 bytes) column in Table 6).  
Updated Executing Commands Using Command Register (description).  
Added footnote 4  
Updated DC Electrical Characteristics (Added ICC1 parameter value for 1 MHz  
frequency, changed ICC2 parameter value from 2 mA to 3 mA, removed ICC3  
parameter, added Note 12 and referred the note in the VCAP parameter).  
Updated RTC Characteristics table  
Updated AC Switching Characteristics (added Note 17 and referred the note  
in the Parameter column, updated tSP max value from 5 ns to 10 ns for  
3.4 MHz).  
Updated Software Controlled STORE/RECALL Cycles (Updated Figure 42  
and Figure 43).  
Updated Package Diagram.  
*D  
3676259  
07/25/2012  
GVCH  
Updated Real Time Clock Operation (description).  
Updated DC Electrical Characteristics (Added VVCAP parameter and its details,  
added Note 13 and referred the same note in VVCAP parameter, also referred  
Note 14 in VVCAP parameter).  
*E  
*F  
3757434  
3905097  
09/27/2012  
02/15/2013  
GVCH  
GVCH  
Updated Maximum Ratings (Removed “Ambient temperature with power  
applied” and included “Maximum junction temperature”).  
Updated Features:  
Added Note 1 and referred the same note in High-speed I2C interface”.  
Document Number: 001-65230 Rev. *G  
Page 39 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Document History Page  
Document Title: CY14C256I, CY14B256I, CY14E256I, 256-Kbit (32 K × 8) Serial (I2C) nvSRAM with Real Time Clock  
Document Number: 001-65230  
Submission  
Date  
Orig. of  
Change  
Rev.  
ECN No.  
Description of Change  
*G  
3985313  
05/02/2013  
GVCH  
Updated Features:  
Updated Note 1.  
Updated DC Electrical Characteristics:  
Added one more condition “IOL = 6 mA” for VOL parameter and added  
respective values.  
Updated RTC Characteristics:  
Changed maximum value of VBAKFAIL parameter from 2 V to 2.2 V.  
Updated AC Switching Characteristics:  
Updated Note 18.  
Changed value of tOF parameter from 300 ns to 250 ns for 400 kHz frequency.  
Updated Package Diagram:  
spec 51-85022 – Changed revision from *D to *E.  
Document Number: 001-65230 Rev. *G  
Page 40 of 41  
CY14C256I  
CY14B256I  
CY14E256I  
Sales, Solutions, and Legal Information  
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  
cypress.com/go/automotive  
cypress.com/go/clocks  
cypress.com/go/interface  
cypress.com/go/powerpsoc  
cypress.com/go/plc  
PSoC Solutions  
Clocks & Buffers  
Interface  
psoc.cypress.com/solutions  
PSoC 1 | PSoC 3 | PSoC 5  
Lighting & Power Control  
Memory  
cypress.com/go/memory  
cypress.com/go/image  
cypress.com/go/psoc  
Optical & Image Sensing  
PSoC  
Touch Sensing  
USB Controllers  
Wireless/RF  
cypress.com/go/touch  
cypress.com/go/USB  
cypress.com/go/wireless  
© Cypress Semiconductor Corporation, 2010-2013. 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-65230 Rev. *G  
Revised May 2, 2013  
Page 41 of 41  
All products and company names mentioned in this document may be the trademarks of their respective holders.  

相关型号:

CY14C256PA

256-Kbit (32 K x 8) SPI nvSRAM with Real Time Clock Infinite read, write, and RECALL cycles
CYPRESS

CY14C256PA_12

256-Kbit (32 K × 8) SPI nvSRAM with Real Time Clock
CYPRESS

CY14C256PA_13

256-Kbit (32 K x 8) SPI nvSRAM with Real Time Clock
CYPRESS

CY14C256Q

256-Kbit (32 K x 8) SPI nvSRAM Infinite read, write, and RECALL cycles
CYPRESS

CY14C256Q_12

256-Kbit (32 K × 8) SPI nvSRAM
CYPRESS

CY14C512I

512-Kbit (64 K x 8) Serial (I2C) nvSRAM with Real Time Clock
CYPRESS

CY14C512I_12

512-Kbit (64 K × 8) Serial (I2C) nvSRAM with Real Time Clock
CYPRESS

CY14C512I_13

512-Kbit (64 K x 8) Serial (I2C) nvSRAM with Real Time Clock
CYPRESS

CY14C512J

512-Kbit (64 K x 8) Serial (I2C) nvSRAM Infinite read, write, and RECALL cycles
CYPRESS

CY14C512J_12

512-Kbit (64 K × 8) Serial (I2C) nvSRAM
CYPRESS

CY14C512J_13

512-Kbit (64 K x 8) Serial (I2C) nvSRAM
CYPRESS

CY14C512PA

512-Kbit (64 K x 8) SPI nvSRAM with Real Time Clock Full-featured RTC
CYPRESS