English
Language : 

UDA1384 Datasheet, PDF (22/55 Pages) NXP Semiconductors – Multichannel audio coder-decoder
Philips Semiconductors
UDA1384
Multichannel audio coder-decoder
The write cycle is used to write groups of two bytes to the internal registers for the
settings. It is also possible to read the registers for the device status information.
10.11 Write cycle
The I2C-bus configuration for a write cycle is shown in Table 18. The write cycle is used to
write the data to the internal registers. The device and register addresses are one byte
each, the setting data is always a pair of two bytes.
The format of the write cycle is as follows:
1. The microcontroller starts with a start condition (S).
2. The first byte (8 bits) contains the device address ‘0011 000’ and a logic 0 (write) for
the R/W bit.
3. This is followed by an acknowledge (A) from the UDA1384.
4. After this the microcontroller writes the 8-bit register address (ADDR) where the
writing of the register content of the UDA1384 must start.
5. The UDA1384 acknowledges this register address (A).
6. The microcontroller sends 2 bytes data with the Most Significant (MS) byte first and
then the Least Significant (LS) byte. After each byte an acknowledge is followed from
the UDA1384.
7. If repeated groups of 2 bytes data are transmitted, then the register address is auto
incremented. After each byte an acknowledge is followed from the UDA1384.
8. Finally, the UDA1384 frees the I2C-bus and the microcontroller can generate a stop
condition (P).
Table 18: Master transmitter writes to UDA1384 registers in the I2C-bus mode
Device R/W
address
Register Data 1
address
Data 2 [1]
Data n [1]
S 0011 000 0 A ADDR A MS1 A LS1 A MS2 A LS2 A MSn A LSn A P
A = acknowledge from UDA1384
[1] Auto increment of register address.
10.12 Read cycle
The read cycle is used to read the data values from the internal registers. The I2C-bus
configuration for a read cycle is shown in Table 19.
The format of the read cycle is as follows:
1. The microcontroller starts with a start condition (S).
2. The first byte (8 bits) contains the device address ‘0011 000’ and a logic 0 (write) for
the R/W bit.
3. This is followed by an acknowledge (A) from the UDA1384.
4. After this the microcontroller writes the 8-bit register address (ADDR) where the
reading of the register content of the UDA1384 must start.
5. The UDA1384 acknowledges this register address.
6. Then the microcontroller generates a repeated start (Sr).
9397 750 14366
Product data sheet
Rev. 02 — 17 January 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
22 of 55