269
MC97F60128
ABOV Semiconductor Co., Ltd.
Figure 11.76
Clock Synchronization during Arbitration Procedure (USIn, where n = 0 and 1)
Figure 11.77
Arbitration Procedure of Two Masters (USIn, where n = 0 and 1)
11.13.29
USI0/1 I2C Operation
The I2C is byte-oriented and interrupt based. Interrupts are issued after all bus events except for a transmission of a
START condition. Because the I2C is interrupt based, the application software is free to carry on other operations
during a I2C byte transfer.
Note that when a I2C interrupt is generated, IICnIFR flag in USInCR4 register is set, it is cleared when all interrupt
source bits in the USInST2
register are cleared to “0b”.
When I2C interrupt occurs, the SCLn line is hold LOW until
clearing
“0b” all interrupt source bits in USInST2 register. When the IICnIFR flag is set, the USInST2 contains a value
indicating the current state of the I2C bus. According to the value in USInST2, software can decide what to do next.
I2C can operate in 4 modes by configuring master/slave, transmitter/receiver. The operating mode is configured by a
winning master. A more detailed explanation follows below.
Device1
DataOut
SCLn on BUS
Device2
DataOut
SDAn on BUS
S
Arbitration Process
not adaped
Device 1 loses
Arbitration
Device1 outputs
High
High Counter
Reset
Fast Device
SCLOUT
Slow Device
SCLOUT
SCLn
Wait High
Counting
Start High
Counting
Содержание MC97F60128
Страница 17: ...17 MC97F60128 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 100 pin LQFP 1414 Package...
Страница 18: ...18 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 2 80 Pin LQFP 1212 Package...
Страница 19: ...19 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 3 80 Pin LQFP 1414 Package...
Страница 20: ...20 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 4 64 Pin LQFP 1414 Package...