I
2
C BUS interface TDA7348
10/20
3 I
2
C BUS interface
Data transmission from microprocessor to the TDA7348 and vice-versa takes place through
the 2 wires of the I
2
C BUS interface, consisting of the two lines SDA and SCL (pull-up
resistors to the 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 4. 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 (microprocessor) 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 acknowledgement
The microprocessor can use a simpler transmission, if it avoids detection of the
acknowledgement from the audio processor. It simply waits one clock pulse without
checking the slave acknowledgment, and sends the new data.
This approach of course is less protected from errors, increases the possibility of
interference, and decreases the immunity to noise.
Obsolete Product(s) - Obsolete Product(s)
TDA7348 I
2
C 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
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
Obsolete Product(s) - Obsolete Product(s)
Software specification TDA7348
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)
ACK = Acknowledge
S = Start
P = Stop
I = Auto Increment
X = Not used
Max clock speed 500kbits/s
4.2 Auto increment
If bit I in the subaddress byte is set to "1", the auto-increment of the subaddress is enabled
Chip address Subaddress Data 1 to data n
MSB LSB MSB LSB MSB LSB
S 1 000100R/WACK X XXIA3A2A1A0ACK DATA ACKP
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
Obsolete Product(s) - Obsolete Product(s)

TDA7348D013TR

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

Products related to this Datasheet