EasyManua.ls Logo

Cmsemicon CMS32L051 - Slave Send and Receive

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 368 / 703
12.5.6 Slave send and receive
Slave transmit and receive refers to the operation of the microcontroller and other devices of this
product to transmit and receive data in the state of transmitting clocks from other devices.
3-wire serial I/O
SSPI00
SSPI01
SSPI10
SSPI11
SSPI20
SSPI21
Object channel
SCI0
Channel 0
SCI0
Channel 1
SCI0
Channel 2
SCI0
Channel 3
SCI1
Channel 0
SCI1
Channel 1
The pin used
SCLK00,
SDI00,
SDO00
SCLK01,
SDI01,
SDO01
SCLK10,
SDI10,
SDO10
SCLK11,
SDI11,
SDO11
SCLK20,
SDI20,
SDO20
SCLK21,
SDI21,
SDO21
interrupt
INTSSPI00
INTSSPI01
INTSSPI10
INTSSPI11
INTSSPI20
INTSSPI21
You can select either a transmit-end interrupt (single-pass mode) or a buffer null interrupt (continuous
transfer mode).
Error detection flag
Only the Overflow Error Detection Flag (OVFmn).
The length of the
transmitted data
7 or 8 bits
Transfer rate
Max.f
MCK
/6[Hz]Note
1, 2
Data phase
It can be selected via the DAPmn bit of the SCRmn register.


Clock phase
It can be selected via the CKPmn bit of the SCRmn register.
CKPmn=0: Normal
CKPmn=1: Inverted
Data direction
MSB first or LSB first
Note 1. The maximum transfer rate fMCK/6 [Hz] is used because the external serial clock input from SCLK00, SCLK01,
SCLK10, SCLK11, SCLK20, and SCLK21 pins is sampled internally and then used.
2. It must be used within the scope of the peripheral functional characteristics that meet this condition and meet the
electrical characteristics (refer to the data sheet).
Remark 1. f
MCK
: The operating clock frequency of the object channel
2.m: Unit number (m=0, 1) n: channel number (n=0~3)mn=00~03 , 10~11

Table of Contents

Related product manuals