BAT32G1x9 user manual | Chapter 21 Serial interface SPI
822 / 1149
Rev.1.02
21.3.4
SPI status register (SPISn).
The SPIS register is used to confirm the communication status of the SPI.
SPISn can be read by 8-bit storage operation instructions.
A reset signal is generated to clear the register to 00H.
Figure 21-4 status register (SPISn).
Address: SPI0: 0x40046C10 SPI1:0x40047010
After reset:
00H R
symbol
7
6
5
4
3
2
1
0
LISTn
-
-
-
-
-
-
SDRIFn
SPTFn
SDRIFn
Receive buffer non-null flag bits
0
There is no new valid data in the receive cache
1
There is valid data received in the receive cache. When the register SDRI
is read, the bit
is cleared to
0
SPTFnNote1
Communication status flag bits
0
Communication interrupt
1
Communication is in progress
Note 1 When SPTF=1
(during serial communication), rewriting
of TRMD,
DIR, NSSE is prohibited.
2.n=0.1