HT46R23
Rev. 1.30
22
August 17, 2001
vice must write data to a bus as a transmitter. The SRW
is cleared to 0 means that the master wants to write
data to the I
2
C BUS, so the slave device must read data
from the I
2
C BUS as a receiver.
Acknowledge bit
Oneoftheslavedevicegeneratesanacknowledgesignal,
when the slave address is matched. The master device
can check this acknowledge bit to know if the slave device
accepts the calling address. If no acknowledge bit, the
mastermustsendaSTOPbitandendthecommunication.
When the I
2
C BUS status register bit 6 HAAS is high, it
means the address is matched, so the slave must check
SRW as a transmitter (set HTX) to 1 or as a receiver
(clear HTX) to 0 .
Data byte
The data is 8 bits and is sent after the slave device has
acknowledges the slave address. The first bit is MSB
and the 8th bit is LSB. The receiver sends the acknowl-
edge signal ( 0 ) and continues to receive the next one
byte data. If the transmitter checks and there s no ac-
knowledge signal, then it release the SDA line, and the
master sends a STOP signal to release the I
2
C BUS.
The data is stored in the HDR register. The transmitter
must write data to the HDR before transmit data and the
receiver must read data from the HDR after receiving
data.
Receive acknowledge bit
When the receiver wants to continue to receive the next
data byte, it generates an acknowledge bit (TXAK) at
the 9th clock. The transmitter checks the acknowledge
bit (RXAK) to continue to write data to the I
2
C BUS or
change to receive mode and dummy read the HDR reg-
ister to release the SDA line and the master sends the
STOP signal.
Stop bit
Start bit
) ! )> + )
! ) !
) ! > "
! ) !
! " " $ A
. ! ( %
) $ *> + )
Data stable and data allow change