
www.ti.com
4.1
Example of MSP430 Programming
Digital
Input(s)
Analog
Input
Func
#1
Func
#2
Func
#3
Vol
PWM
Output
Stereo
Splitter
Stereo
Mux(s) #2
I
2
C Addr 193 (0xC1)
1= Function
LED8 ON
2= Bypass
Switch S5 toggles
between Function
and Bypass
Stereo
Splitter
Stereo
Mux (s) #3
I
2
C Addr 194 (0xC2)
1= Function
LED9 ON
2= Bypass
Switch S6 toggles
between Function
and Bypass
Stereo
Mux(s) #1
I
2
C Addr 192 (0xC0)
1= Analog
LED7 ON
2= Digital
Switch S4 toggles
between Function
and Bypass
Stereo
Splitter
Stereo
Mux (s) #4
I
2
C Addr 195 (0xC3)
1= Function
LED10 ON
2= Bypass
Switch S7 toggles
between Function
and Bypass
Stereo Signal path
Optional Stereo Signal path
VOLUME
I
2
C Addr 198 (0xC6)
1= Function
2= Bypass
Switch S2 Increases Vol
Switch S3 Decreases Vol
I
2
C Addresses
196 (0xC4) Reserved
197 (0xC5) Reserved
199 (0xC7) Reserved
Example of MSP430 Programming
The MSP430 can be programmed to provide TAS3308 and power stage initialization and control. During
Initialization the MSP430 should wait for the TAS3308 to complete booting from EEPROM. It would then
send an initialization sequence to the TAS3308. At this point, the MSP430 would send I
2
C commands to
the TAS3308 when it receives an input from one of the onboard switches or the IR remote control.
The microcontroller has eight circuit board pushbuttons and LEDs to support user control functions.
These controls can be programmed to provide functions and indications, such as:
•
Select analog/digital source
•
Function 1 (surround effect) on/off
•
Function 2 (EQ) on/off
•
Function 3 (DRC) on/off
•
Volume up/volume down
Figure 4-1. MSP430 Control Example
30
MSP430 Programming
SLEU093 – March 2008