
NUC126
Aug. 08, 2018
Page
592
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
SPIx_SS
TXEMPTY
(SPIx_STATUS[16])
SS
(SPIx_SSCTL[0])
SPIx_CLK
1 SPI clock
1.5 SPI clock
The last transaction
Figure 6.16-6 Automatic Slave Selection (SSACTPOL = 0, SUSPITV > 0x2)
SPIx_SS
TXEMPTY
(SPIx_STATUS[16])
SS
(SPIx_SSCTL[0])
SPIx_CLK
One transaction
One transaction
The last
transaction
Figure 6.16-7 Automatic Slave Selection (SSACTPOL = 0, SUSPITV < 0x3)
6.16.5.3 Byte Reorder and Suspend Function
When the transfer is set as MSB first (LSB = 0) and the REORDER (SPIx_CTL[19]) is set to 1, the
data stored in the TX buffer and RX buffer will be rearranged in the order as [Byte0, Byte1, Byte2,
Byte3] in 32-bit transfer (DWIDTH = 0). The sequence of transmitted/received data will be Byte0,
Byte1, Byte2, and then Byte3. If the DWIDTH is set as 24-bit transfer mode, the data in TX buffer and
RX buffer will be rearranged as [unknown byte, Byte0, Byte1, Byte2]. The SPI controller will
transmit/receive data with the sequence of Byte0, Byte1 and then Byte2. Each byte will be
transmitted/received with MSB first. The rule of 16-bit mode is the same as above. Byte Reorder
function is only available when DWIDTH is configured as 16, 24, and 32 bits.