at89lp2052-20xi ATMEL Corporation, at89lp2052-20xi Datasheet - Page 47

no-image

at89lp2052-20xi

Manufacturer Part Number
at89lp2052-20xi
Description
At89lp2052 8-bit Microcontroller With 2/4-kbyte Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP2052-20XI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Figure 19-4. SPI Transfer Format with CPHA = 0
Note:
Figure 19-5. SPI Transfer Format with CPHA = 1
Note:
19.4
3547H–MICRO–5/07
*Not defined but normally MSB of character just received
(FOR REFERENCE)
*Not defined but normally LSB of previously transmitted character
SPI Pin Configuration
(FROM MASTER)
SCK (CPOL = 0)
SCK (CPOL = 1)
SS (TO SLAVE)
(FROM SLAVE)
SCK CYCLE #
MOSI
MISO
Before using the Serial Peripheral Interface the four SPI pins – SCK, MISO, MOSI and SS –
must be properly configured for the desired functionality. See
tions” on page
bidirectional or output, with P1.7 and P1.5 set to “1”. MISO should be input-only, or bidirectional
with P1.6 set to “1”. When the SPI is in Slave mode, SCK, MOSI and SS must be configured as
input-only, or as bidirectional with P1.7, P1.6 and P1.4 set to “1”. MISO should be set as bidirec-
tional or output, with P1.6 set to “1”. If all four pins are set as bidirectional and their respectively
port bits are all “1”, it is possible to switch between Master and Slave mode without reconfiguring
the pins.
*
MSB
MSB
1
22. When the SPI is in Master mode, SCK and MOSI must be configured as
2
6
6
3
5
5
4
4
4
5
3
3
6
2
2
AT89LP2052/LP4052
Section 15.7 “Port Alternate Func-
7
1
1
8
LSB
LSB
47

Related parts for at89lp2052-20xi