EasyManua.ls Logo

Cmsemicon CMS32L051 - Procedure for Handling Errors During Clock-Synchronous Serial Communication with the Slave Selection Input Function

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 411 / 703
12.6.5 Procedure for handling errors during clock-synchronous serial communication with the
slave selection input function
The processing steps when an error occurs during clock-synchronous serial communication
that is subordinate to the select input function are shown in Figure 12-95.
Figure 12-95 Handling steps when an overflow error occurs
Software operation
Hardware status
Comments
Read the serial data register
mn(SDRMN).
The BFF m n bit of the SSRm n
register is 0 and channel n is
acceptable.
This is to prevent overflow errors
from ending the next reception during
mishandling.
Read the serial status register mn
(SSRmn).
The type of error is judged, and the
reading value is used to clear the
error flag.
Clear the trigger register mn to the
serial flag
Clear the error flag.
By writing the read value of the
SSRmn register directly to the
SDIRmn register, errors during read
operations can only be cleared.
Remark m: Unit number (m=0) n: Channel number (n=0).

Table of Contents

Related product manuals