English
Language : 

STA304 Datasheet, PDF (20/30 Pages) STMicroelectronics – DIGITAL AUDIO PROCESSOR WITH MULTICHANNEL DDX™
STA304
and read or write mode.
The 7 most significant bits are the device address identifier, corresponding to the I2C bus definition.
The STA304 I2C interface address is 0011110 .
The 8th bit (LSB) is the read or write operation RW, this bit is set to 1 in read mode and 0 for write mode. After
a START condition the STA304 identifies on the bus the device address and, if a match is found, it acknowledg-
es the identification on SDA bus during the 9th bit time. The following byte after the device identification byte is
the internal space address.
12.3 WRITE OPERATION
Following a START condition the master sends a device select code with the RW bit set to 0. The STA304 ac-
knowledges this and waits for the byte of internal address. After receiving the internal bytes address the STA304
again responds with an acknowledge.
12.3.1Byte write
In the byte write mode the master sends one data byte, this is acknowledged by STA304. The master then ter-
minates the transfer by generating a STOP condition.
12.3.2Multibyte write
The multibyte write mode can start from any internal address. The transfer is terminated by the master gener-
ating a STOP condition.
Figure 13. Write Mode Sequence
BYTE
WRITE
START
MULTIBYTE
WRITE
START
DEV-ADDR
DEV-ADDR
ACK
RW
ACK
RW
SUB-ADDR
ACK
SUB-ADDR
ACK
DATA IN
DATA IN
ACK
STOP
ACK
DATA IN
D98AU825B
ACK
STOP
Figure 14. Read Mode Sequence
CURRENT
ADDRESS
READ
START
RANDOM
ADDRESS
READ
START
SEQUENTIAL
CURRENT
READ
START
SEQUENTIAL
RANDOM
READ
START
ACK
DEV-ADDR
DEV-ADDR
RW
ACK
DEV-ADDR
RW
RW= ACK
HIGH
DEV-ADDR
ACK
RW
DATA
SUB-ADDR
DATA
NO ACK
STOP
ACK
DEV-ADDR
START
ACK
DATA
ACK
RW
ACK
SUB-ADDR
ACK
START
DEV-ADDR
ACK
RW
DATA
DATA
DATA
NO ACK
STOP
NO ACK
ACK
STOP
DATA
ACK
D98AU826A
DATA
NO ACK
STOP
20/30