BAT32G1x9 user manual | Chapter 19 Universal serial communication unit
563 / 1149
Rev.1.02
19.1 Functions of the Universal Serial Communication Unit
The characteristics of each serial interface supported by this product are as follows.
19.1.1
3 wire serial I/O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20, SSPI21, SSPI30, SSPI31)
Data is sent and received synchronously with the serial clock (SCLK) output of the master device.
This is a total of 1 Serial Clock (SCLK), 1 Transmit Serial Data (SDO), and 1 Receive Serial Data (SDI).
Clock synchronization communication function for communication by 3 communication lines.
For specific setup examples, refer to "19.53-wire serial I/O (SSPI00, SSPI01, SSPI10, SSPI11, SSPI20,
SSPI20, SSPI20, SSPI20, Operation of SSPI21, SSPI30, SSPI31
)".
[Sending and receiving data].
•
7-bit or
8-bit data length (SCI0
).
•
Data length of 7-16 bits (SCI1
and
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
) characteristic. Please refer to the
data sheet
for details.