SPI INTERFACE S3C2410A
22-4
SPI Transfer Format
The S3C2410A supports 4 different format to transfer the data. Figure 22-2 shows four waveforms for SPICLK..
*
LSB of previously transmitted character
Cycle
MOSI
1 2 3 4 5 6 7 8
MSB 6 5 4 3 2 1 LSB
6 5 4 3 2 1 LSB
SPICLK
MISO MSB
CPOL = 1, CPHA = 1 (Format B)
*
MSB of character just received
Cycle
MOSI
1 2 3 4 5 6 7 8
MSB 6 5 4 3 2 1 LSB
6 5 4 3 2 1 LSB MSB
*
SPICLK
MISO
CPOL = 1, CPHA = 0 (Format A)
Cycle
MOSI
1 2 3 4 5 6 7 8
6 5 4 3 2 1 LSB
6 5 4 3 2 1 LSB
*
SPICLK
MISO *LSB
CPOL = 0, CPHA = 1 (Format B)
*
MSB of character just received
Cycle
MOSI
1 2 3 4 5 6 7 8
MSB 6 5 4 3 2 1 LSB
6 5 4 3 2 1 LSB MSB
*
SPICLK
MISO MSB
CPOL = 0, CPHA = 0 (Format A)
*
LSB of previously transmitted character
*LSB
MSB
MSB
MSB
Figure 22-2. SPI Transfer Format