BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
638 / 1149
Rev.1.02
19.5.6
Slave sending and receiving
Slave transmit and receive refers to the operation of data transmission and reception by microcontrollers
and other devices of this product in the state of transmitting clocks from other device inputs.
3-wire serial
I/O
SSPI00
SSPI01
SSPI10
SSPI11
SSPI20
SSPI21
SSPI30
SSPI31
Object channels
SCI0
Channel 0
SCI0
Channel 1
SCI0
Channel 2
SCI0
Channel 3
SCI1
Channel 0
SCI1
Channel 1
SCI2
Channel 0
SCI2
Channel 1
The pins used
SCLK00,
SDI00,
SDO00
SCLK01,
SDI01,
SDO01
SCLK10,
SDI10,
SDO10
SCLK11,
SDI11,
SDO11
SCLK20,
SDI20,
SDO20
SCLK21,
SDI21,
SDO21
SCLK30,
SDI30,
SDO30
SCLK31,
SDI31,
SDO31
interrupt
INTSSPI00
INTSSPI01
INTSSPI10
INTSSPI11
INTSSPI20 INTSSPI21 INTSSPI30
INTSSPI31
Selectable end-of-transmit interrupt (single-pass mode) or buffer-empty interrupt (continuous transfer
mode).
Error detection
flags
There are only overflow error detection flags (OVFmn).
The length of the
transferred data
SCI0: 7
or
8
bits
SCI1/SCI2: 7
to 16
digits
Transfer rate
Max.f
MCK
/6[Hz]
Note1, 2
Data phase
It can be selected by the DAPmn bit of the SCRmn register.
•DAPmn=0: Starts data input/output when the serial clock starts running.
•DAPmn=1: Starts data input/output half a clock before the serial clock starts running.
Clock phase
It can be selected by the CKPmn bit of the SCRmn register.
• CKPmn=0: Normal phase
• CKPmn=1: Inverted
Data direction
MSB priority or
LSB
priority
Note 1
Because internally to
SCLK00,
SCLK01,
SCLK10,
SCLK11,
SCLK20,
SCLK21 ,
SCLK30,
SCLK3 31
pin input of
the external serial clock for sampling after sampling, so the maximum transmission rate
f
MCK
/ 6[Hz]
。
2. Must be used within the scope of peripheral functional characteristics (refer to data sheet) that meet this condition
and meet the electrical characteristics.
Note 1.f
MCK
: The operating clock frequency of the object channel
2.m:unit number(m=0~2)n:channel number(n=0~3)mn=00~03, 10~11, 20~21