CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 380 / 703
12.6 Operation of clock-synchronous serial communication with slave selection input
function
Channel 0 of SCI0 is the channel that supports clock-synchronous serial communication with the slave
select input function.
[Transmit and receive data]
7-bit or 8-bit data length
Phase control of sending and receiving data
•
MSB/LSB preferred choice
Level settings for sending and receiving data
[Clock control].
Phase control of input/output clocks
Sets the transfer period generated by the prescaler and the in-channel counter.
Maximum transfer rate
Note
for slave communication: Max.f
MCK
/6
[Interrupt function].
End of transfer interrupt, buffer empty interrupt
[Error detection flag].
Overflow error
Note it must be used within the scope of the SCLK Cycle Time (t
KCY
) characteristics. Please refer to the
data sheet for details.
The slave select input function operates in three types of communication:
Slave transmission (see 12.6.1).
Slave reception (see 12.6.2).
Slave transmission and reception (see 12.6.3).