I2C bus interface TDA7342
10/20
3 I
2
C bus interface
Data transmission from microprocessor to the TDA7342 and viceversa takes place thru the
2 wires I
2
C BUS interface, consisting of the two lines SDA and SCL (pull-up resistors to
positive supply voltage must be externally connected).
3.1 Data Validity
As shown in Figure 3, the data on the SDA line must be stable during the high period of the
clock. The HIGH and LOW state of the data line can only change when the clock signal on
the SCL line is LOW.
3.2 Start and Stop Conditions
As shown in Figure 5 a start condition is a HIGH to LOW transition of the SDA line while
SCL is HIGH. The stop condition is a LOW to HIGH transition of the SDA line while SCL is
HIGH.
A STOP conditions must be sent before each START condition.
3.3 Byte Format
Every byte transferred to the SDA line must contain 8 bits. Each byte must be followed by an
acknowledge bit. The MSB is transferred first.
3.4 Acknowledge
The master (µP) puts a resistive HIGH level on the SDA line during the acknowledge clock
pulse (see Figure 5). The peripheral (audioprocessor) that acknowledges has to pull-down
(LOW) the SDA line during the acknowledge clock pulse, so that the SDA line is stable LOW
during this clock pulse.
The audioprocessor which has been addressed has to generate an acknowledge after the
reception of each byte, otherwise the SDA line remains at the HIGH level during the ninth
clock pulse time. In this case the master transmitter can generate the STOP information in
order to abort the transfer.
3.5 Transmission without Acknowledge
Avoiding to detect the acknowledge of the audioprocessor, the P can use a simplier
transmission: simply it waits one clock without checking the slave acknowledging, and
sends the new data. This approach of course is less protected from misworking and
decreases the noise immunity.
TDA7342 I2C bus interface
11/20
Figure 3. Data Validity on the I
2
C BUS
Figure 4. Timing Diagram of I
2
C BUS
Figure 5. Acknowledge on the I
2
C BUS
Patent note: Purchase of I
2
C Components of STMicrolectronics,
conveys a license under the Philips I
2
C Patent Rights to
use these components in an I
2
C system, provided that the
system conforms to the I
2
C Standard Specifications as
defined by Philips.
SDA
SCL
DATA LINE
STABLE, DATA
VALID
CHANGE
DATA
ALLOWED
D99AU1031
SCL
SDA
START
I
2
CBUS
STOP
D99AU1032
SCL
1
MSB
23789
SDA
START
ACKNOWLEDGMENT
FROM RECEIVER
D99AU1033
Software specification TDA7342
12/20
4 Software specification
4.1 Interface Protocol
The interface protocol comprises:
?
A start condition (s)
?
A chip address byte, (the LSB bit determines read/write transmission)
?
A subaddress byte.
?
A sequence of data (N-bytes + acknowledge)
?
A stop condition (P)
Figure 6. Interface protocol
ACK = Acknowledge
S = Start
P = Stop
I = Auto Increment
X = Not used
A= I
2
C address value selectable according to ADDR pin status
ADDR = Open/GndA = O
ADDR = V
CC
A = I
MAX CLOCK SPEED 500kbits/s
4.2 Auto increment
If bit I in the subaddress byte is set to "1", the autoincrement of the subaddress is enabled
S 1 0 0 0 1 0 0 R/W
ACK
I ACK DATA ACK P
MSB
LSB
MSB LSB MSB LSB
CHIP ADDRESS
D05AU1575
XXX A
3
A
2
A
1
A
0
SUBADDRESS DATA 1 ... DATA n
Table 5. Subaddress (receive mode)
MSB LSB Function
X X X I A3 A2 A1 A0
0 0 0 0 Input Selector
0 0 0 1 Loudness
0 0 1 0 Volume
0 0 1 1 Bass, Treble
0 1 0 0 Speaker Attenuator LF
0 1 0 1 Speaker Attenuator LR
0 1 1 0 Speaker Attenuator RF
0 1 1 1 Speaker Attenuator RR
1 0 0 0 Mute

E-TDA7342NTR

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
IC AUDIO PROCESSOR 32-LQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet