EasyManua.ls Logo

Cmsemicon CMS32L051 - Page 518

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 14 Serial interface IICA
www.mcu.com.cn 518 / 703
The timing of the communication reservation is shown in the following figure.
Figure 14-24 Timing of communication reservation
SCLAn
SDAAn
hardware
processing.
program
processing.
communi
cation
preserve
STTn=1
Write
IICAn
STDnset
to '1'
SPDn and
INTIICAn
set to '1'
generated by master device occupied the bus.
Note IICAn: IICA shift register n
STTn: bit1 of IICA control register n0 (IICCTLn0).
STDn: bit1 of IICA status register n (IICSn).
SPDn: bit0 of IICA status register n (IICSn).
The communication reservation is accepted by the timing sequence shown in Figure 14-25. After bit 1
(STDn) of the IICA status register n (IICSn) becomes "1" and before the stop condition is detected, set bit 1
(STTn) of the IICA control register n0 (IICCTLn0) to "1 " for communication reservation.
Figure 14-25 Receiving timing of communication reservation
SCLAn
SDAAn
STDn
SPDn
stanndby (during this, can preserve communication via setting STTn bit to 
The steps to communicate a reservation is shown in Figure 14-26.
Remark n=0

Table of Contents

Related product manuals