AT89C51ID2-SLSIM Atmel, AT89C51ID2-SLSIM Datasheet - Page 102

no-image

AT89C51ID2-SLSIM

Manufacturer Part Number
AT89C51ID2-SLSIM
Description
C51ID2 64KF TWI 32KHZ PLCC44 3-5.5V IND.
Manufacturer
Atmel
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
TI
Quantity:
5 510
Figure 39. Data Transmission Format (CPHA = 0)
Figure 40. Data Transmission Format (CPHA = 1)
Figure 41. CPHA/SS Timing
4289C–8051–11/05
MOSI (from Master)
SCK Cycle Number
MISO (from Slave)
MOSI (from Master)
SCK (CPOL = 0)
SCK (CPOL = 1)
MISO (from Slave)
SCK Cycle Number
SPEN (Internal)
SCK (CPOL = 1)
SCK (CPOL = 0)
Capture Point
SPEN (Internal)
SS (to Slave)
Capture Point
SS (to Slave)
MISO/MOSI
(CPHA = 0)
(CPHA = 1)
Master SS
Slave SS
Slave SS
As shown in Figure 39, the first SCK edge is the MSB capture strobe. Therefore, the
Slave must begin driving its data before the first SCK edge, and a falling edge on the SS
pin is used to start the transmission. The SS pin must be toggled high and then low
between each Byte transmitted (Figure 41).
Figure 40 shows an SPI transmission in which CPHA is ’1’. In this case, the Master
begins driving its MOSI pin on the first SCK edge. Therefore, the Slave uses the first
SCK edge as a start transmission signal. The SS pin can remain low between transmis-
sions (Figure 41). This format may be preffered in systems having only one Master and
only one Slave driving the MISO data line.
MSB
MSB
MSB
1
MSB
1
2
bit6
bit6
2
bit6
bit6
Byte 1
3
bit5
bit5
3
bit5
bit5
bit4
bit4
4
bit4
4
bit4
Byte 2
bit3
5
bit3
bit3
bit3
5
6
bit2
bit2
6
bit2
bit2
Byte 3
7
bit1
bit1
7
bit1
bit1
LSB
8
8
LSB
LSB
LSB
AT89C51ID2
102

Related parts for AT89C51ID2-SLSIM