BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
624 / 1149
Rev.1.02
19.5.4
Slave sending
Slave transmission refers to the operation of the BAT32G135microcontroller to send data to other devices 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
Channel 0
for SCI0
Channel 1
of SCI0
Channel 2
of SCI0
Channel 3
of SCI0
Channel 0
for SCI1
Channel 1
of SCI1
Channel 0
for SCI2
Channel 1
of SCI2
The pins used
SCLK00,
SDO00
SCLK01,
SDO01
SCLK10,
SDO10
SCLK11,
SDO11
SCLK20,
SDO20
SCLK21,
SDO21
SCLK30,
SDO30
SCLK31,
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 bits
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 output when the serial clock starts running.
• DAPmn=1: Starts the data 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 1
pin input
external serial clock for sampling, so the maximum transfer rate is
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