at25df161 ATMEL Corporation, at25df161 Datasheet - Page 47

no-image

at25df161

Manufacturer Part Number
at25df161
Description
16-megabit 2.7-volt Minimum Spi Serial Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT25DF161
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df161-MH
Manufacturer:
ATMEL
Quantity:
165
Part Number:
at25df161-MH-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df161-MH-Y
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df161-SH
Manufacturer:
atmel
Quantity:
40 000
Part Number:
at25df161-SH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at25df161-SH-T
Quantity:
12 000
Part Number:
at25df161-SSH-B
Manufacturer:
ROHM
Quantity:
40 000
Part Number:
at25df161-SSH-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at25df161-SSHF
Manufacturer:
ATMEL
Quantity:
32
13. RapidS Implementation
Figure 13-1. RapidS Operation
3687B–DFLASH–11/08
MOSI = Master Out, Slave In
The Master is the ASIC/MCU and the Slave is the memory device.
The Master always clocks data out on the rising edge of SCK and always clocks data in on the falling edge of SCK.
The Slave always clocks data out on the falling edge of SCK and always clocks data in on the rising edge of SCK.
Slave
A.
B.
C. Master clocks out second bit of BYTE A on the same rising edge of SCK.
D. Last bit of BYTE A is clocked out from the Master.
E.
F.
G. Master clocks in first bit of BYTE B.
H. Slave clocks out second bit of BYTE B.
I.
MOSI
MISO
SCK
Master clocks out first bit of BYTE A on the rising edge of SCK.
Slave clocks in first bit of BYTE A on the next rising edge of SCK.
Last bit of BYTE A is clocked into the slave.
Slave clocks out first bit of BYTE B.
Master clocks in last bit of BYTE B.
CS
A
To implement RapidS and operate at clock frequencies higher than what can be achieved in a
viable SPI implementation, a full clock cycle can be used to transmit data back and forth across
the serial bus. The AT25DF161 is designed to always clock its data out on the falling edge of the
SCK signal and clock data in on the rising edge of SCK.
For full clock cycle operation to be achieved, when the AT25DF161 is clocking data out on the
falling edge of SCK, the host controller should wait until the next falling edge of SCK to latch the
data in. Similarly, the host controller should clock its data out on the rising edge of SCK in order
to give the AT25DF161 a full clock cycle to latch the incoming data in on the next rising edge of
SCK.
Implementing RapidS allows a system to run at higher clock frequencies since a full clock cycle
is used to accommodate a device’s clock-to-output time, input setup time, and associated
rise/fall times. For example, if the system clock frequency is 100 MHz (10 ns cycle time) with a
50% duty cycle, and the host controller has an input setup time of 2 ns, then a standard SPI
implementation would require that the slave device be capable of outputting its data in less than
3 ns to meet the 2 ns host controller setup time [(10 ns x 50%) – 2 ns] not accounting for rise/fall
times. In an SPI mode 0 or 3 implementation, the SPI master is designed to clock in data on the
next immediate rising edge of SCK after the SPI slave has clocked its data out on the preceding
falling edge. This essentially makes SPI a half-clock cycle protocol and requires extremely fast
clock-to-output times and input setup times in order to run at high clock frequencies. With
a RapidS implementation of this example, however, the full 10 ns cycle time is available which
gives the slave device up to 8 ns, not accounting for rise/fall times, to clock its data out. Like-
wise, with RapidS, the host controller has more time available to output its data to the slave
since the slave device would be clocking that data in a full clock cycle later.
1
B
MSB
MISO = Master In, Slave Out
2
C
3
4
BYTE A
t
V
5
6
7
D
8
E
LSB
F
1
G
MSB
2
AT25DF161 [Preliminary]
H
3
4
BYTE B
5
6
7
8
I
LSB
1
47

Related parts for at25df161