GD32F20x User Manual
575
a DMA request at corresponding DMA channel.
21.11.3.
Status register (SPI_STAT)
Address offset: 0x08
Reset value: 0x0002
This register has to be accessed by word(32-bit).
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
TRANS RXORERR CONFERR CRCERR TXURERR
I2SCH
TBE
RBNE
r
r
r
rc_w0
r
r
r
r
Bits
Fields
Descriptions
31:8
Reserved
Must be kept at reset value.
7
TRANS
Transmitting On-going Bit
0: SPI or I2S is idle.
1: SPI or I2S is currently transmitting and/or receiving a frame
This bit is set and cleared by hardware.
6
RXORERR
Reception Overrun Error Bit
0: No reception overrun error occurs.
1: Reception overrun error occurs.
This bit is set by hardware and cleared by a read operation on the SPI_DATA
register followed by a read access to the SPI_STAT register.
5
CONFERR
SPI Configuration error Bit
0: No configuration fault occurs
1: Configuration fault occurred. (In master mode, the NSS pin is pulled low in NSS
hardware mode or SWNSS bit is low in NSS software mode.)
This bit is set by hardware and cleared by a read or write operation on the SPI_STAT
register followed by a write access to the SPI_CTL0 register.
This bit is not used in I2S mode.
4
CRCERR
SPI CRC Error Bit
0: The SPI_RCRC value is equal to the last received CRC data.
1: The SPI_RCRC value is not equal to the last received CRC data.
This bit is set by hardware and is able to be cleared by writing 0.
This bit is not used in I2S mode.
3
TXURERR
Transmission underrun error Bit
0: No transmission underrun error occurs.
1: Transmission underrun error occurs.
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...