CY15B064J
Document Number: 002-10221 Rev. *B Page 4 of 17
Functional Overview
The CY15B064J is a serial F-RAM memory. The memory array
is logically organized as 8,192 × 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 CY15B064J 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 CY15B064J, the user addresses 8K
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) and a two-byte address. The upper 3 bits
of the address range are 'don't care' values. The complete
address of 13 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.
I
2
C Interface
The CY15B064J employs a bi-directional I
2
C bus protocol using
few pins or board space. Figure 2 illustrates a typical system
configuration using the CY15B064J 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
CY15B064J 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 on page 5 and Figure 4 on
page 5 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 CY15B064J 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 CY15B064J 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
SDA
SCL
DD
0A0A0A
A1
A1
A1
LCSLCSLCS
SDA
ADSADS
PWPWPW
#0
#1
#7
A2
A2
A2
Microcontroller
V
DD
V
DD
V
CY15B064J
Document Number: 002-10221 Rev. *B Page 5 of 17
Data/Address Transfer
All data transfers (including addresses) take place while the SCL
signal is HIGH. Except under the three 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 CY15B064J 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 CY15B064J 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
CY15B064J
Document Number: 002-10221 Rev. *B Page 6 of 17
Slave Device Address
The first byte that the CY15B064J expects after a START
condition is the slave address. As shown in Figure 6, the slave
address contains the device type or slave ID, the device select
address bits, and a bit that specifies if the transaction is a read
or a write.
Bits 7–4 are the device type (slave ID) and should be set to
1010b for the CY15B064J. These bits allow other function types
to reside on the I
2
C bus within an identical address range. Bits
3–1 are the device select address bits. They must match the
corresponding value on the external address pins to select the
device. Up to eight CY15B064J devices can reside on the same
I
2
C bus by assigning a different address to each. 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
After the CY15B064J (as receiver) acknowledges the slave
address, the master can place the memory address on the bus
for a write operation. The address requires two bytes. The
complete 13-bit address is latched internally. Each access
causes the latched address value to be incremented automati-
cally. The current address is the value that is held in the latch;
either a newly written value or the address following the last
access. The current address will be held for as long as power
remains or until a new value is written. Reads always use the
current address. A random read address can be loaded by
beginning a write operation as explained below.
After transmission of each data byte, just prior to the
acknowledge, the CY15B064J increments the internal address
latch. This allows the next sequential byte to be accessed with
no additional addressing. After the last address (1FFFh) is
reached, the address latch will roll over to 0000h. 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 CY15B064J can begin. For a
read operation the CY15B064J will place 8 data bits on the bus
then wait for an acknowledge from the master. If the
acknowledge occurs, the CY15B064J will transfer the next
sequential byte. If the acknowledge is not sent, the CY15B064J
will end the read operation. For a write operation, the
CY15B064J will accept 8 data bits from the master then send an
acknowledge. All data transfer occurs MSB (most significant bit)
first.
Memory Operation
The CY15B064J 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 CY15B064J 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 memory 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 1FFFh to 0000h.
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 CY15B064J 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 CY15B064J 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 A0A1
Device Select
Figure 7. Single-Byte Write
S ASlave Address 0 Address MSB A Data Byte A P
By Master
By F-RAM
Start Address & Data
Stop
Acknowledge
Address LSB A

CY15B064J-SXA

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