
M451
May. 4, 2018
Page
753
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
Example 1
DWIDTH =0
LSB = 1
TXEMPTY = 1
Data 0
TXEMPTY = 0
Write
1 Data
TXEMPTY = 1
H/W load TX
Buffer into
Shift Register
Data 0
TXEMPTY = 1
Data 0
b0
b1
b2
TXEMPTY = 1
Data 0
TXEMPTY = 0
Write
3 Data
Data 1
TXEMPTY = 0
TXFULL = 1
Data 2
1. H/W load TX
Buffer into
Shift Register
2. Write 6 Data
Data 0
1. H/W load
Shift Register
into Skew
Buffer
2. Write 1 Data
Data 0
b0
b1
b2
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
Data 8
TXEMPTY = 0
TXFULL = 1
Example 2
DWIDTH =0
LSB = 1
TX Buffer
TX Shift Register
TX Skew Buffer
H/W load Shift
Register into
Skew Buffer
TX Buffer
TX Shift Register
TX Skew Buffer
Figure 6.16-18 Transmit FIFO Buffer Example
The subsequent transactions will be triggered automatically if the transmitted data are updated in
time. If the SPI_TX register does not be updated after all data transfer are done, the transfer will
stop.
In Master mode, during receiving operation, the serial data are received from SPIn_MISO0/1 pin
and stored to receive FIFO buffer.
The receive data (Data
0’s b0, b1, …b31) is stored into skew buffer first according the serial clock
(SPIn_CLK) and then is shifted into the shift register bit by bit. The core logic will load the data in
shift register into FIFO buffer when the receive data bit reach the value of DWIDTH
(SPI_CTL[12:8]). The RXEMPTY (SPI_STATUS[8]) will be cleared to 0 while the receive FIFO
buffer contains unread data (see the Example 1 of Receive FIFO Buffer Example). The received
data can be read by software from SPI_RX register as long as the RXEMPTY (SPI_STATUS[8])
is 0. If the receive FIFO buffer contains 8 unread data, the RXFULL (SPI_STATUS[9]) will be set
to 1 (see the Example 2 of Receive FIFO Buffer Example).
Содержание ARM Cortex NuMicro M451 Series
Страница 301: ...M451 May 4 2018 Page 301 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL...
Страница 324: ...M451 May 4 2018 Page 324 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL Figure 6 4 18 Checksum Calculation Flow...
Страница 355: ...M451 May 4 2018 Page 355 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL 2 0 Reserved Reserved...
Страница 625: ...M451 May 4 2018 Page 625 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL 00 5 bits 01 6 bits 10 7 bits 11 8 bits...
Страница 721: ...M451 May 4 2018 Page 721 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL the SCL line 1 0 Reserved Reserved...
Страница 1001: ...M451 May 4 2018 Page 1001 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 64L 10x10x1 4 mm footprint 2 0 mm 9 2...
Страница 1002: ...M451 May 4 2018 Page 1002 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 64L 7x7x1 4 mm footprint 2 0 mm 9 3...
Страница 1003: ...M451 May 4 2018 Page 1003 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 48L 7x7x1 4mm footprint 2 0mm 9 4...