AT32F425
Series Reference Manual
2022.03.30
Page 183
Ver 2.01
I2S mode.
Bit 3
Reserved
0x0
resd
Kept at its default value
Bit 2
HWCSOE
0x0
rw
Hardware CS output enable
This bit is valid only in master mode. When this bit is set,
the I/O output on the CS pin is low; when this bit is 0, the
I/O input on the CS pin must be set high.
0: Disabled
1: Enabled
Bit 1
DMATEN
0x0
rw
DMA transmit enable
0: Disabled
1: Enabled
。
Bit 0
DMAREN
0x0
rw
DMA receive enable
0: Disabled
1: Enabled
13.4.3 SPI status register (SPI_STS)
Bit
Register
Reset value
Type
Description
Bit 15: 9
Reserved
0x00
resd
Forced 0 by hardware
Bit 8
CSPAS
0x0
ro
CS pulse abnormal setting flag
0: CS pulse flag normal
1: CS pulse flag is set abnormally
Note: This bit is used for TI slave mode. It is cleared by
reading the STS register.
Bit 7
BF
0x0
ro
Busy flag
0: SPI is not busy.
1: SPI is busy.
Bit 6
ROERR
0x0
ro
Receiver overflow error
0: No overflow error
1: Overflow error occurs.
Bit 5
MMERR
0x0
ro
Master mode error
This bit is set by hardware and cleared by software
(read/write access to the SPI_STS register, followed by
write operation to the SPI_CTRL1 regitser)
0: No mode error
1: Mode error occurs.
Bit 4
CCERR
0x0
rw0c
CRC error
Set by hardware, and cleared by software.
0: No CRC error
1: CRC error occurs.
Bit 3
TUERR
0x0
ro
Transmitter underload error
Set by hardware, and cleared by software (read the
SPI_STS register).
0: No underload error
1: Underload error occurs.
Note: This bit is only used in I
2
S mode.
Bit 2
ACS
0x0
ro
Audio channel state
This bit indicates the status of the current audio channel.
0: Left channel
1: Right channel
Note: This bit is only used in I
2
S mode.
Bit 1
TDBE
0x1
ro
Transmit data buffer empty
0: Transmit data buffer is not empty.
1: Transmit data buffer is not empty.