Atmel SAM4L-EK Atmel ATSAM4L-EK ATSAM4L-EK Data Sheet
Product codes
ATSAM4L-EK
610
42023E–SAM–07/2013
ATSAM4L8/L4/L2
ter/slave pair must use the same configuration, and the master must be reconfigured if it is to
communicate with slaves using different configurations. See
communicate with slaves using different configurations. See
.
Figure 24-43. SPI Transfer Format (CPHA=1, 8 bits per transfer)
Figure 24-44. SPI Transfer Format (CPHA=0, 8 bits per transfer)
Table 24-16. SPI Bus Protocol Modes
MR.CPOL
MR.CPHA
SPI Bus Protocol Mode
0
1
0
0
0
1
1
1
2
1
0
3
CLK cycle (for reference)
CLK
(CPO L= 1)
M O SI
SPI M aster ->TXD
SPI Slave ->RXD
M ISO
SPI M aster ->RXD
SPI Slave ->TXD
NSS
SPI M aster ->RTS
SPI Slave ->CTS
M SB
M SB
1
CLK
(CPO L= 0)
3
5
6
7
8
LSB
1
2
3
4
6
6
5
5
4
3
2
1
LSB
2
4
CLK cycle (for reference)
CLK
(CPO L= 0)
CLK
(CPO L= 1)
M O SI
SPI M aster -> TXD
SPI Slave -> RXD
M ISO
SPI M aster -> RXD
SPI Slave -> TXD
NSS
SPI M aster -> RTS
SPI Slave -> CTS
M SB
6
5
M SB
6
5
4
4
3
3
2
2
1
1
LSB
LSB
8
7
6
5
4
3
2
1