BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
599 / 1149
Rev.1.02
19.5 3-wire serial I/O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20, SSPI20, SSPI20, SSPI20,
Operation of SSPI21, SSPI30, SSPI31) communication
This is a clock synchronization communication function implemented by three lines of serial clock (SCLK)
and serial data (SDI and SDO).
[Sending and receiving data].
• 7-bit or 8-bit data length (SCI0).
Data length
of 7 to 16
bits (SCI1/SCI2).
• Phase control of sending and receiving data
•
MSB/LSB preferred
[Clock Control].
• Master or Slave selection
• Phase control of input/output clocks
• Set the transmission period generated by the prescaler and the internal counter of the channel.
• Maximum transfer rate
note
Master communication: Max.f
CLK
/2
Slave communication: Max.f
MCK
/6
[Interrupt function].
• Transmit end interrupt, buffer empty interrupt
[Error Detection Flag].
• Overflow error
Note must be used within the range that satisfies the SCLK
Cycle Time (t
KCY
) characteristics. Please refer to the
data sheet
for details.
Channels 0 to 3 for SCI0, channels 0 to 1 for SCI1, and channels for SCI2 0~1 is supported for 3-wire serial
I/O (SSPI00, SSPI01, SSPI01 SSPI10, SSPI11, SSPI20, SSPI21, SSPI30, SSPI31) channel.
3-wire serial I/O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20, SSPI20, SSPI20, SSPI20, SSPI21, SSPI30,
SSPI31) has the following 6 types of communication operation:
•
Master send (see 19.5.1).
•
Master receive (see 19.5.2).
•
Master sending and receiving (cf. 19.5.3).
•
Slave sending (cf19.5.4).
•
Slave reception (cf19.5.5).
•
Slave sending and receiving (cf19.5.6).