CMS32L051 User Manual |Chapter 12 Universal Serial Communication Unit
www.mcu.com.cn 338 / 703
12.5.2 Master reception
Master reception refers to the operation of this product output transmission clock and receiving data from
other devices.
Note 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 m: Unit number (m=0, 1) n: Channel number (n=0~3) p: SSPI number (p=00, 01, 10, 11, 20, 21)
mn=00~03, 10~11.
You can choose between an end-of-the-transmission interrupt (single-pass mode) or a buffer null
interrupt (continuous transfer mode).
Only the overflow error detection flag (OVFmn).
The length of the
transmitted data
Max. f
CLK
/2[Hz](Only.)SSPI00),f
CLK
/4[Hz]
Mi n.f
CLK
/(2
2
15
128)[Hz]f
CLK
: System clock frequency
It can be selected via the DAPmn bit of the SCRmn register.
DAPmn=0: Data output starts when the serial clock starts running.
DAPmn=1: Starts data output half a clock before the serial clock starts running.
It can be selected by the CKPmn bit of the SCRmn register.
CKPmn=0: Positive phase
CKPmn=1: Inverted phase
MSB preferred or LSB preferred