CY15E016J
Document Number: 002-10553 Rev. *B Page 4 of 18
Functional Overview
The CY15E016J is a serial F-RAM memory. The memory array
is logically organized as 2,048 × 8 bits and is accessed using an
industry-standard I
2
C interface. The functional operation of the
F-RAM is similar to serial (I
2
C) EEPROM. The major difference
between the CY15E016J and a serial (I
2
C) EEPROM with the
same pinout is the F-RAM’s superior write performance, high
endurance, and low power consumption.
Memory Architecture
When accessing the CY15E016J, the user addresses 2K
locations of eight data bits each. These eight data bits are shifted
in or out serially. The addresses are accessed using the I
2
C
protocol, which includes a slave address (to distinguish other
non-memory devices), a row address, and a segment address.
The row address consists of 8-bits that specify one of the 256
rows. The 3-bit segment address specifies one of the 8 segments
within each row. The complete address of 11-bits specifies each
byte address uniquely.
The access time for the memory operation is essentially zero,
beyond the time needed for the serial protocol. That is, the
memory is read or written at the speed of the I
2
C bus. Unlike a
serial (I
2
C) EEPROM, it is not necessary to poll the device for a
ready condition because writes occur at bus speed. By the time
a new bus transaction can be shifted into the device, a write
operation is complete. This is explained in more detail in the
interface section.
Note that the CY15E016J contains no power management
circuits other than a simple internal power-on reset. It is the
user’s responsibility to ensure that V
DD
is within data sheet
tolerances to prevent incorrect operation.
I
2
C Interface
The CY15E016J employs a bi-directional I
2
C bus protocol using
few pins or board space. Figure 2 illustrates a typical system
configuration using the CY15E016J in a microcontroller-based
system. The industry standard I
2
C bus is familiar to many users
but is described in this section.
By convention, any device that is sending data onto the bus is
the transmitter while the target device for this data is the receiver.
The device that is controlling the bus is the master. The master
is responsible for generating the clock signal for all operations.
Any device on the bus that is being controlled is a slave. The
CY15E016J is always a slave device.
The bus protocol is controlled by transition states in the SDA and
SCL signals. There are four conditions including START, STOP,
data bit, or acknowledge. Figure 3 and Figure 4 illustrates the
signal conditions that specify the four states. Detailed timing
diagrams are shown in the electrical specifications section.
STOP Condition (P)
A STOP condition is indicated when the bus master drives SDA
from LOW to HIGH while the SCL signal is HIGH. All operations
using the CY15E016J should end with a STOP condition. If an
operation is in progress when a STOP is asserted, the operation
will be aborted. The master must have control of SDA in order to
assert a STOP condition.
START Condition (S)
A START condition is indicated when the bus master drives SDA
from HIGH to LOW while the SCL signal is HIGH. All commands
should be preceded by a START condition. An operation in
progress can be aborted by asserting a START condition at any
time. Aborting an operation using the START condition will ready
the CY15E016J for a new operation.
If during operation the power supply drops below the specified
V
DD
minimum, the system should issue a START condition prior
to performing another operation.
Figure 2. System Configuration using Serial (I
2
C) nvSRAM
SCL
SDA
SCLSCL
SDA
SDA
CY15E016J
Other Slave Device
Microcontroller
DD
V
CY15E016J
Document Number: 002-10553 Rev. *B Page 5 of 18
Data/Address Transfer
All data transfers (including addresses) take place while the SCL
signal is HIGH. Except under the two conditions described
above, the SDA signal should not change while SCL is HIGH.
Acknowledge/No-acknowledge
The acknowledge takes place after the 8th data bit has been
transferred in any transaction. During this state the transmitter
should release the SDA bus to allow the receiver to drive it. The
receiver drives the SDA signal LOW to acknowledge receipt of
the byte. If the receiver does not drive SDA LOW, the condition
is a no-acknowledge and the operation is aborted.
The receiver would fail to acknowledge for two distinct reasons.
First is that a byte transfer fails. In this case, the no-acknowledge
ceases the current operation so that the device can be
addressed again. This allows the last byte to be recovered in the
event of a communication error.
Second and most common, the receiver does not acknowledge
to deliberately end an operation. For example, during a read
operation, the CY15E016J will continue to place data onto the
bus as long as the receiver sends acknowledges (and clocks).
When a read operation is complete and no more data is needed,
the receiver must not acknowledge the last byte. If the receiver
acknowledges the last byte, this will cause the CY15E016J to
attempt to drive the bus on the next clock while the master is
sending a new command such as STOP.
Figure 3. START and STOP Conditions
full pagewidth
SDA
SCL
P
STOP Condition
SDA
SCL
S
START Condition
Figure 4. Data Transfer on the I
2
C Bus
handbook, full pagewidth
S
or
P
SDA
S
P
SCL
STOP or
START
condition
S
START
condition
2 3 4 - 8 9
ACK
9
ACK
78
12
MSB
Acknowledgement
signal from slave
Byte complete
Acknowledgement
signal from receiver
1
Figure 5. Acknowledge on the I
2
C Bus
handbook, full pagewidth
S
START
Condition
9821
Clock pulse for
acknowledgement
No Acknowledge
Acknowledge
DATA OUTPUT
BY MASTER
DATA OUTPUT
BY SLAVE
SCL FROM
MASTER
CY15E016J
Document Number: 002-10553 Rev. *B Page 6 of 18
Slave Device Address
The first byte that the CY15E016J expects after a START
condition is the slave address. As shown in Figure 6, the slave
address contains the device type, the page of memory to be
accessed, and a bit that specifies if the transaction is a read or
a write.
Bits 7-4 are the device type and should be set to 1010b for the
CY15E016J. These bits allow other function types to reside on
the I
2
C bus within an identical address range. Bits 3-1 are the
page select. It specifies the 256-byte block of memory that is
targeted for the current operation. Bit 0 is the read/write bit
(R/W
). R/W = ‘1’ indicates a read operation and R/W = ‘0’
indicates a write operation.
Addressing Overview (Word Address)
After the CY15E016J (as receiver) acknowledges the slave
address, the master can place the word address on the bus for
a write operation. The word address is the lower 8-bits of the
address to be combined with the 3-bits page select to specify
exactly the byte to be written. The complete 11-bit address is
latched internally. No word address occurs for a read operation,
though the 3-bit page select is latched internally. Reads always
use the lower 8-bits that are held internally in the address latch.
That is, reads always begin at the address following the previous
access. A random read address can be loaded by doing a write
operation as explained below.
After transmission of each data byte, just prior to the
acknowledge, the CY15E016J increments the internal address
latch. This allows the next sequential byte to be accessed with
no additional addressing. After the last address (7FFh) is
reached, the address latch will roll over to 000h. There is no limit
to the number of bytes that can be accessed with a single read
or write operation.
Data Transfer
After the address bytes have been transmitted, data transfer
between the bus master and the CY15E016J can begin. For a
read operation the CY15E016J will place 8 data bits on the bus
then wait for an acknowledge from the master. If the
acknowledge occurs, the CY15E016J will transfer the next
sequential byte. If the acknowledge is not sent, the CY15E016J
will end the read operation. For a write operation, the
CY15E016J will accept 8 data bits from the master then send an
acknowledge. All data transfer occurs MSB (most significant bit)
first.
Memory Operation
The CY15E016J is designed to operate in a manner very similar
to other I
2
C interface memory products. The major differences
result from the higher performance write capability of F-RAM
technology. These improvements result in some differences
between the CY15E016J and a similar configuration EEPROM
during writes. The complete operation for both writes and reads
is explained below.
Write Operation
All writes begin with a slave address, then a word address. The
bus master indicates a write operation by setting the LSB of the
slave address (R/W bit) to a '0'. After addressing, the bus master
sends each byte of data to the memory and the memory
generates an acknowledge condition. Any number of sequential
bytes may be written. If the end of the address range is reached
internally, the address counter will wrap from 7FFh to 000h.
Unlike other nonvolatile memory technologies, there is no
effective write delay with F-RAM. Since the read and write
access times of the underlying memory are the same, the user
experiences no delay through the bus. The entire memory cycle
occurs in less time than a single bus clock. Therefore, any
operation including read or write can occur immediately following
a write. Acknowledge polling, a technique used with EEPROMs
to determine if a write is complete is unnecessary and will always
return a ready condition.
Internally, an actual memory write occurs after the 8th data bit is
transferred. It will be complete before the acknowledge is sent.
Therefore, if the user desires to abort a write without altering the
memory contents, this should be done using START or STOP
condition prior to the 8th data bit. The CY15E016J uses no page
buffering.
The memory array can be write-protected using the WP pin.
Setting the WP pin to a HIGH condition (V
DD
) will write-protect
all addresses. The CY15E016J will not acknowledge data bytes
that are written to protected addresses. In addition, the address
counter will not increment if writes are attempted to these
addresses. Setting WP to a LOW state (V
SS
) will disable the write
protect. WP is pulled down internally.
Figure 7 and Figure 8 on page 7 below illustrate a single-byte
and multiple-byte write cycles.
Figure 6. Memory Slave Device Address
handbook, halfpage
R/W
LSBMSB
Slave ID
10
1
0
A2
A0
A1
Page Select
Figure 7. Single-Byte Write
S ASlave Address 0
Word Address
A Data Byte A P
By Master
By F-RAM
Start Address & Data Stop
Acknowledge

CY15E016J-SXET

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
F-RAM F-RAM Memory Serial
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet