7. I
2
C Interface > Error Handling
174
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
7.9
Error Handling
The Tsi578 handles a number of I
2
C errors and reports them with status bits, as summarized in
Table 21: I
2
C Error Handling
Error Cause
Access Type
Tsi578 Response
Interrupt Status Bit
(Events)
a
Master Access Errors
Master arbitration timeout
expired. Tsi578 could not
successfully arbitrate for the
I2C bus; Arbitration lost
during device addressing
phase.
Master read or write initiated
using I2C_MST_CNTRL
register
The I2C transaction is
aborted.
MA_ATMO
Tsi578 determined that it lost
arbitration for the I2C bus
after the device addressing
phase
Read or Write
The I2C transaction is
aborted.
MA_COL
No device ACK’d the slave
address, or target device
NACK’d a peripheral address
or write data byte.
Any read or write access
during slave address phase
or peripheral address phase,
or any write access during
the data phase.
Access aborted, STOP
generated. The
I2C_ACC_STAT register
indicates where transaction
was on error.
MA_NACK
Timeout expired (I2C_SCLK
Low, Byte or Transaction).
Target device was too slow,
or some device was
interfering with the I2C_SCLK
signal.
Any transfer to or from the
Tsi578
Access aborted. The
I2C_ACC_STAT register
indicates where transaction
was on error. For Byte or
Transaction, master issues
STOP at first legal
opportunity. For I2C_SCLK
Low, bus is hung, software
must recover.
MA_TMO (MSCLTO, MBTTO
or MTRTO)
Slave Access Errors
Peripheral Address selects
reserved external address
space
Read operation
Peripheral Address byte is
acknowledged, 0x00 is
returned as data.
SA_OK
Write operation
Peripheral Address byte is
acknowledged. Write data is
ignored.
Peripheral Address selects a
defined register, but data
burst continues into reserved
address
Read operation
0x00 is returned as data.
SA_OK
Write operation
Write data is ignored