Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
544
/
631
Bit field
name
describe
2
SSOEN
NSS output enable
0: Disable NSS output in master mode, the device can work in multi-master mode.
1: When the device is turned on, enable NSS output in the master mode, the device cannot work
in the multi-master device mode.
Note: Not used in I
2
S mode.
1
TDMAEN
Send buffer DMA enable
When this bit is set, a DMA request is issued as soon as the TE flag(SPI_STS.TE) is set
0: Disable send buffer DMA.
1: Enable send buffer DMA.
0
RDMAEN
Receive buffer DMA enable
When this bit is set, a DMA request is issued as soon as the RNE flag(SPI_STS.RNE) is set
0: Disable receive buffer DMA.
1: Enable receive buffer DMA.
SPI status register (SPI_STS)
Address: 0x08
Reset value: 0x0002
Bit field
name
describe
15:8
Reserved
Reserved, the reset value must be maintained.
7
BUSY
Busy flag
0: SPI is not busy.
1: SPI is busy communicating or the send buffer is not empty.
This bit is set or reset by hardware.
Note: special attention should be paid to the use of this sign,
see Section 24.3.3 and Section
24.3.4 for details.
6
OVER
Overflow flag
0: No overflow error.
1: An overflow error occurred.
Note:This bit is set by hardware and cleared according to the sequence of software operations.
For more information about software sequences, refer
24.4.5 for details.
5
MODERR
Mode error
0: No mode error.
1: A mode error occurred.
Note:This bit is set by hardware and cleared according to the sequence of software operations.
For more information about software sequences, refer to
24.3.7 for details.
Note: Not used in I
2
S mode.