CY15B102Q
2-Mbit (256 K × 8) Serial (SPI) Automotive
F-RAM
2-Mbit (256 K × 8) Serial (SPI) Automotive F-RAM
Features
■
Functional Overview
The CY15B102Q is a 2-Mbit nonvolatile memory employing an
advanced ferroelectric process. F-RAM is nonvolatile and
performs reads and writes similar to a RAM. It provides reliable
data retention for 121 years while eliminating the complexities,
overhead, and system-level reliability problems caused by serial
flash, EEPROM, and other nonvolatile memories.
Unlike serial flash and EEPROM, the CY15B102Q performs
write operations at bus speed. No write delays are incurred. Data
is written to the memory array immediately after each byte is
successfully transferred to the device. The next bus cycle can
commence without the need for data polling. In addition, the
product offers substantial write endurance compared with other
nonvolatile memories. The CY15B102Q is capable of supporting
10
13
read/write cycles, or 10 million times more write cycles than
EEPROM.
These capabilities make the CY15B102Q ideal for nonvolatile
memory applications requiring frequent or rapid writes.
Examples range from data collection, where the number of write
cycles may be critical, to demanding industrial controls where the
long write time of serial flash or EEPROM can cause data loss.
The CY15B102Q provides substantial benefits to users of serial
EEPROM or flash as a hardware drop-in replacement. The
CY15B102Q uses the high-speed SPI bus, which enhances the
high-speed write capability of F-RAM technology. The device
incorporates a read-only Device ID that allows the host to
determine the manufacturer, product density, and product
revision. The device specifications are guaranteed over an
Automotive-E temperature range of –40
C
to +125
C.
2-Mbit ferroelectric random access memory (F-RAM) logically
organized as 256 K × 8
13
❐
High-endurance 10 trillion (10 ) read/writes
❐
121-year data retention (See the
Data Retention and
Endurance
table)
❐
NoDelay™ writes
❐
Advanced high-reliability ferroelectric process
Very fast serial peripheral interface (SPI)
❐
Up to 25 MHz frequency
❐
Direct hardware replacement for serial flash and EEPROM
❐
Supports SPI mode 0 (0, 0) and mode 3 (1, 1)
Sophisticated write protection scheme
❐
Hardware protection using the Write Protect (WP) pin
❐
Software protection using Write Disable instruction
❐
Software block protection for 1/4, 1/2, or entire array
Device ID
❐
Manufacturer ID and Product ID
Low power consumption
❐
5 mA active current at 25 MHz
❐
750
A
standby current
❐
20
A
sleep mode current
Low-voltage operation: V
DD
= 2.0 V to 3.6 V
Automotive-E temperature: –40
C
to +125
C
8-pin small outline integrated circuit (SOIC) package
AEC Q100 Grade 1 compliant
Restriction of hazardous substances (RoHS) compliant
■
■
■
■
■
■
■
■
■
Logic Block Diagram
WP
CS
HOLD
SCK
Instruction Decoder
Clock Generator
Control Logic
Write Protect
256 K x 8
F-RAM Array
Instruction Register
Address Register
Counter
SI
18
8
Data
I/
O Register
3
Nonvolatile Status
Register
SO
Cypress Semiconductor Corporation
Document Number: 001-89166 Rev. *F
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised April 20, 2017
CY15B102Q
Contents
Pinout ................................................................................ 3
Pin Definitions .................................................................. 3
Overview............................................................................ 4
Memory Architecture........................................................ 4
Serial Peripheral Interface - SPI Bus .............................. 4
SPI Overview............................................................... 4
SPI Modes................................................................... 5
Power Up to First Access ............................................ 6
Command Structure .................................................... 6
WREN - Set Write Enable Latch ................................. 6
WRDI - Reset Write Enable Latch............................... 6
Status Register and Write Protection ............................. 7
RDSR - Read Status Register..................................... 7
WRSR - Write Status Register .................................... 7
Memory Operation............................................................ 8
Write Operation ........................................................... 8
Read Operation ........................................................... 8
Fast Read Operation ................................................... 8
HOLD Pin Operation ................................................. 10
Sleep Mode ............................................................... 10
Device ID................................................................... 11
Endurance ................................................................. 11
Maximum Ratings........................................................... 12
Operating Range............................................................. 12
DC Electrical Characteristics ........................................
Data Retention and Endurance .....................................
Example of an F-RAM Life Time in an
AEC-Q100 Automotive Application...............................
Capacitance ....................................................................
Thermal Resistance........................................................
AC Test Conditions ........................................................
AC Switching Characteristics .......................................
Power Cycle Timing .......................................................
Ordering Information......................................................
Ordering Code Definitions .........................................
Package Diagrams..........................................................
Acronyms ........................................................................
Document Conventions .................................................
Units of Measure .......................................................
Document History Page .................................................
Sales, Solutions, and Legal Information ......................
Worldwide Sales and Design Support.......................
Products ....................................................................
PSoC® Solutions ......................................................
Cypress Developer Community.................................
Technical Support .....................................................
12
13
13
13
13
13
14
16
17
17
18
19
19
19
20
22
22
22
22
22
22
Document Number: 001-89166 Rev. *F
Page 2 of 22
CY15B102Q
Pinout
Figure 1. 8-pin SOIC Pinout
CS
1
2
3
4
Top View
not to scale
8
7
6
5
VDD
HOLD
SCK
SI
SO
WP
VSS
Pin Definitions
Pin Name
SCK
I/O Type
Input
Description
Serial Clock.
All I/O activity is synchronized to the serial clock. Inputs are latched on the rising edge
and outputs occur on the falling edge. Because the device is synchronous, the clock frequency may be
any value between 0 and 25 MHz and may be interrupted at any time.
Chip Select.
This active LOW input activates the device. When HIGH, the device enters the low-power
standby mode, ignores other inputs, and the output is tristated. When LOW, the device internally
activates the SCK signal. A falling edge on CS must occur before every opcode.
Serial Input.
All data is input to the device on this pin. The pin is sampled on the rising edge of SCK
and is ignored at other times. It should always be driven to a valid logic level to meet IDD specifications.
Serial Output.
This is the data output pin. It is driven during a read and remains tristated at all other
times including when HOLD is LOW. Data transitions are driven on the falling edge of the serial clock.
Write Protect.
This active LOW pin prevents write operation to the Status Register when WPEN is set
to ‘1’. This is critical because other write protection features are controlled through the Status Register.
A complete explanation of write protection is provided on
Status Register and Write Protection on page
7.
This pin must be tied to V
DD
if not used.
HOLD Pin.
The HOLD pin is used when the host CPU must interrupt a memory operation for another
task. When HOLD is LOW, the current operation is suspended. The device ignores any transition on
SCK or CS. All transitions on HOLD must occur while SCK is LOW. This pin must be tied to V
DD
if not
used.
CS
Input
SI
[1]
SO
[1]
WP
Input
Output
Input
HOLD
Input
V
SS
V
DD
Power supply Ground for the device. Must be connected to the ground of the system.
Power supply Power supply input to the device.
Note
1. SI may be connected to SO for a single-pin data interface
.
Document Number: 001-89166 Rev. *F
Page 3 of 22
CY15B102Q
Overview
The CY15B102Q is a serial F-RAM memory. The memory array
is logically organized as 262,144 × 8 bits and is accessed using
an industry-standard serial peripheral interface (SPI) bus. The
functional operation of the F-RAM is similar to serial flash and
serial EEPROMs. The major difference between the
CY15B102Q and a serial flash or EEPROM with the same pinout
is the F-RAM's superior write performance, high endurance, and
low power consumption.
master is the opcode. Following the opcode, any addresses and
data are then transferred. The CS must go inactive after an
operation is complete and before a new opcode can be issued.
The commonly used terms in the SPI protocol are as follows:
SPI Master
The SPI master device controls the operations on a SPI bus. An
SPI bus may have only one master with one or more slave
devices. All the slaves share the same SPI bus lines and the
master may select any of the slave devices using the CS pin. All
of the operations must be initiated by the master activating a
slave device by pulling the CS pin of the slave LOW. The master
also generates the SCK and all the data transmission on SI and
SO lines are synchronized with this clock.
SPI Slave
The SPI slave device is activated by the master through the Chip
Select line. A slave device gets the SCK as an input from the SPI
master and all the communication is synchronized with this
clock. An SPI slave never initiates a communication on the SPI
bus and acts only on the instruction from the master.
The CY15B102Q operates as an SPI slave and may share the
SPI bus with other SPI slave devices.
Chip Select (CS)
To select any slave device, the master needs to pull down the
corresponding CS pin. Any instruction can be issued to a slave
device only while the CS pin is LOW. When the device is not
selected, data through the SI pin is ignored and the serial output
pin (SO) remains in a high-impedance state.
Note
A new instruction must begin with the falling edge of CS.
Therefore, only one opcode can be issued for each active Chip
Select cycle.
Serial Clock (SCK)
The Serial Clock is generated by the SPI master and the
communication is synchronized with this clock after CS goes
LOW.
The CY15B102Q enables SPI modes 0 and 3 for data commu-
nication. In both of these modes, the inputs are latched by the
slave device on the rising edge of SCK and outputs are issued
on the falling edge. Therefore, the first rising edge of SCK
signifies the arrival of the first bit (MSB) of a SPI instruction on
the SI pin. Further, all data inputs and outputs are synchronized
with SCK.
Data Transmission (SI/SO)
The SPI data bus consists of two lines, SI and SO, for serial data
communication. SI is also referred to as Master Out Slave In
(MOSI) and SO is referred to as Master In Slave Out (MISO). The
master issues instructions to the slave through the SI pin, while
the slave responds through the SO pin. Multiple slave devices
may share the SI and SO lines as described earlier.
The CY15B102Q has two separate pins for SI and SO, which can
be connected with the master as shown in
Figure 2.
Memory Architecture
When accessing the CY15B102Q, the user addresses 256K
locations of eight data bits each. These eight data bits are shifted
in or out serially. The addresses are accessed using the SPI
protocol, which includes a chip select (to permit multiple devices
on the bus), an opcode, and a three-byte address. The upper 6
bits of the address range are 'don't care' values. The complete
address of 18 bits specifies each byte address uniquely.
Most functions of the CY15B102Q are either controlled by the
SPI interface or are handled by on-board circuitry. 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 SPI bus. Unlike a serial flash or
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.
Serial Peripheral Interface - SPI Bus
The CY15B102Q is a SPI slave device and operates at speeds
up to 25 MHz. This high-speed serial bus provides high-perfor-
mance serial communication to a SPI master. Many common
microcontrollers have hardware SPI ports allowing a direct
interface. It is quite simple to emulate the port using ordinary port
pins for microcontrollers that do not. The CY15B102Q operates
in SPI Modes 0 and 3.
SPI Overview
The SPI is a four-pin interface with Chip Select (CS), Serial Input
(SI), Serial Output (SO), and Serial Clock (SCK) pins.
The SPI is a synchronous serial interface, which uses clock and
data pins for memory access and supports multiple devices on
the data bus. A device on the SPI bus is activated using the CS
pin.
The relationship between chip select, clock, and data is dictated
by the SPI mode. This device supports SPI modes 0 and 3. In
both of these modes, data is clocked into the F-RAM on the rising
edge of SCK starting from the first rising edge after CS goes
active.
The SPI protocol is controlled by opcodes. These opcodes
specify the commands from the bus master to the slave device.
After CS is activated, the first byte transferred from the bus
Document Number: 001-89166 Rev. *F
Page 4 of 22
CY15B102Q
For a microcontroller that has no dedicated SPI bus, a
general-purpose port may be used. To reduce hardware
resources on the controller, it is possible to connect the two data
pins (SI and SO) together and tie off (HIGH) the HOLD and WP
pins.
Figure 3
shows such a configuration, which uses only three
pins.
Most Significant Bit (MSB)
The SPI protocol requires that the first bit to be transmitted is the
Most Significant Bit (MSB). This is valid for both address and
data transmission.
The 2-Mbit serial F-RAM requires a 3-byte address for any read
or write operation. Because the address is only 18 bits, the first
six bits that are fed in are ignored by the device. Although these
six bits are ‘don’t care’, Cypress recommends that these bits be
set to 0s to enable seamless transition to higher memory
densities.
Serial Opcode
After the slave device is selected with CS going LOW, the first
byte received is treated as the opcode for the intended operation.
CY15B102Q uses the standard opcodes for memory accesses.
Invalid Opcode
If an invalid opcode is received, the opcode is ignored and the
device ignores any additional serial data on the SI pin until the
next falling edge of CS, and the SO pin remains tristated.
Status Register
CY15B102Q has an 8-bit Status Register. The bits in the Status
Register are used to configure the device. These bits are
described in
Table 3 on page 7.
Figure 2. System Configuration with SPI Port
SCK
MOSI
MISO
SCK
SPI
Microcontroller
SI
SO
SCK
SI
SO
CY15B102Q
CS HOLD WP
CY15B102Q
CS HOLD WP
CS1
HO LD 1
WP1
CS2
HO LD 2
WP2
Figure 3. System Configuration without SPI Port
P1.0
P1.1
SCK
Microcontroller
SI
SO
CY15B102Q
CS HOLD WP
P1.2
SPI Modes
CY15B102Q may be driven by a microcontroller with its SPI
peripheral running in either of the following two modes:
■
■
SPI Mode 0 (CPOL = 0, CPHA = 0)
SPI Mode 3 (CPOL = 1, CPHA = 1)
For both these modes, the input data is latched in on the rising
edge of SCK starting from the first rising edge after CS goes
active. If the clock starts from a HIGH state (in mode 3), the first
rising edge after the clock toggles is considered. The output data
is available on the falling edge of SCK.The two SPI modes are
shown in
Figure 4 on page 6
and
Figure 5 on page 6.
Document Number: 001-89166 Rev. *F
Page 5 of 22