English
Language : 

MC912DG128ACPVE Datasheet, PDF (322/478 Pages) Freescale Semiconductor, Inc – Upward compatible with M68HC11 instruction set
Inter IC Bus
Freescale Semiconductor, Inc.
receive mode. The slave will drive SCL low in-between byte transfers,
SCL is released when the IBDR is accessed in the required mode.
In slave transmitter routine, the received acknowledge bit (RXAK) must
be tested before transmitting the next byte of data. Setting RXAK means
an 'end of data' signal from the master receiver, after which it must be
switched from transmitter mode to receiver mode by software. A dummy
read then releases the SCL line so that the master can generate a STOP
signal.
17.7.7 Arbitration Lost
If several masters try to engage the bus simultaneously, only one master
wins and the others lose arbitration. The devices which lost arbitration
are immediately switched to slave receive mode by the hardware. Their
data output to the SDA line is stopped, but SCL is still generated until the
end of the byte during which arbitration was lost. An interrupt occurs at
the falling edge of the ninth clock of this transfer with IBAL=1 and
MS/SL=0. If one master attempts to start transmission while the bus is
being engaged by another master, the hardware will inhibit the
transmission; switch the MS/SL bit from 1 to 0 without generating STOP
condition; generate an interrupt to CPU and set the IBAL to indicate that
the attempt to engage the bus is failed. When considering these cases,
the slave service routine should test the IBAL first and the software
should clear the IBAL bit if it is set.
Technical Data
322
MC68HC912DT128A — Rev 4.0
Inter IC Bus
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA