CS49300 Family DSP
3) After each byte (including the address and each
data byte) the host must release the data line
and provide a ninth clock for the CS493XX to
acknowledge. The CS493XX will drive the
data line low during the ninth clock to
acknowledge. If for some reason the CS493XX
does not acknowledge, it means that the last
byte sent was not received and should be resent.
If the resent byte fails to produce an
acknowledge, a stop condition should be sent
and the device should be reset.
CS493XX will (and must) acknowledge each
byte that it receives which means that after each
byte the host must provide an acknowledge
clock pulse on SCCLK and release the data
line, SCDIO.
5) At the end of a data transfer a stop condition
must be sent. The stop condition is defined as
the rising edge of SCDIO while SCCLK is
high.
6.1.2.2.Reading in I2C®
A read operation is necessary when the CS493XX
signals that it has data to be read. It does this by
dropping its interrupt request line (INTREQ) low.
4) The host should then clock data into the device
most significant bit first, one byte at a time. The
2 ®
When reading from the device in I C , the same
SEND I2C START:
DROP SCDIO LOW
WHILE SCCLK IS HIGH
protocol will be used whether reading a single byte
or multiple bytes. The examples shown in this
document can be expanded to fit any read situation.
2 ®
Figure 23 shows a typical I C read sequence
2 ®
WRITE ADDRESS BYTE
WITH MODE BIT
1) An I C read transaction is initiated by the
CS493XX dropping INTREQ, signaling that it
has data to be read.
SET TO 0 FOR WRITE
2 ®
2) The host responds by sending an I C start
condition which is SCDIO dropping while
SCCLK is held high.
GET ACK
3) The start condition is followed by a 7-bit
address and the read/write bit set high for a
read. The address for the CS493XX defaults to
0000000b. It is necessary to clock this address
in prior to any transfer in order for the
CS493XX to acknowledge the read. In other
words a byte of 0x01 should be clocked into the
device preceding any read. The 0x01 byte
represents the 7 bit address 0000000b and a
read/write bit set to 1 to designate a read.
SEND DATABYTE
GET ACK
Y
MORE DATA?
N
4) After the falling edge of the serial control clock
(SCCLK) for the read/write bit of the address
byte, an acknowledge must be read in by the
host. The CS493XX will drive SCDIO low to
acknowledge the address byte and to indicate
that it is ready for a read operation. If an
I2C STOP:
RAISE SCDIO HIGH
WHILE SCCLK IS HIGH
Figure 22. I2C® Write Flow Diagram
DS339PP4
37