BAT32G1x9 user manual | Chapter 21 Serial interface SPI
817 / 1149
Rev.1.02
Chapter 21 Serial interface SPI
The serial interface SPI function is a proprietary function of the BAT32G179.
21.1 The serial interface SPI functions
This product is equipped with two serial interfaces SPI0, SPI1, and has the following two modes.
(1)
Run stop mode
This is a mode used when serial transfer is not in progress and reduces power consumption.
(2)
3-wire serial I/O mode
This mode transmits 8-bit or 16-bit data to multiple devices via three lines of serial clock (SCK n) and
serial data bus (MISO n and MOSI n).
Note: n=0,1
21.2 Structure of the serial interface SPI
Figure 21-1
diagram of the serial interface SPI
移位寄存器
发送缓冲寄存器
接收缓冲寄存器
MOSI
MISO
内部总线
SCK
NSS
f
CLK
选
择
器
时钟控制电路
通信电路
SPI
Receive
buffer register
Transmit
buffer register
shift register
Communication
circuit
clock control
circuit
s
e
le
c
to
r
internal bus