EasyManua.ls Logo

Cmsemicon CMS32L051 - Arbitration

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 512 / 703
Hi-
Z
Hi-
Z
14.5.12 Arbitration
When multiple master devices generate start conditions at the same time (in the case of STTn is 1
before the STDn bit becomes 1), the communication of the master device is carried out while adjusting the
clock until the data is different. This operation is called arbitration.
In case of arbitration failure, the master device with arbitration failure sets the arbitration failure flag
(ALDn) in the IICA status register n (IICSn) to "1" and sets both the SCLAn and SDAAn lines to the high
impedance state to release the bus.
In the event of the next interrupt request (e.g. a stop condition detected on the 8th or 9th clock), the
software is passed through the ALDn bit as 1 to detect the failure of arbitration.
For the generation timing of interrupt requests, refer to 16.5.8 Generation Timing and Wait Control for
Interrupt Requests (INTIICAn).
Note STDn: bit1 of the IICA status register n (IICSn).
STTn: Bit1 of IICA control register n0 (IICCTLn0).
Figure 14-20 Example of arbitration timing
SCLAn
SDAAn
SCLAn
SDAAn
SCLAn
SDAAn
Note n=0
Master
device
1
Master
device
2
Conveyor
lines

Table of Contents

Related product manuals