Im using C5515ezDSP and I have connected an additional aic3204 codec via i2s2 extension pin. The aic3204 is configured as slave and c5515 as master.
With the aic3204 test code, I can access to a pair of stereo input and output at all time. However, I was wondering how to add in one more stereo-in so I can do some processing down mix.
Below is a table that i have compiled for the ADC/DAC routing from the C5515 ezDSP and C5515 EVM. Was wondering what's the difference between 0x34/0x37 and 0x52/0x54.
EzDSP C5515:
IN1_L |
AIC3204_rset(0x34, 0xc0) |
IN1_R |
AIC3204_rset(0x37, 0xc0) |
IN2_L |
AIC3204_rset(0x34, 0x30) |
IN2_R |
AIC3204_rset(0x37, 0x30) |
IN3_L |
AIC3204_rset(0x34, 0x0c) |
IN3_R |
AIC3204_rset(0x37, 0x0c) |
OUT1_HPL |
AIC3204_rset(0x12, 0x08) |
OUT1_HPR |
AIC3204_rset(0x13, 0x08) |
OUT2_LOL |
AIC3204_rset(0x14, 0x08) |
OUT2_LOR |
AIC3204_rset(0x15, 0x08) |
IN1_L |
AIC3204_rset(0x52, 0xc0) |
IN1_R |
AIC3204_rset(0x55, 0xc0) |
IN2_L |
AIC3204_rset(0x52, 0x30) |
IN2_R |
AIC3204_rset(0x55, 0x30) |
IN3_L |
AIC3204_rset(0x52, 0x0c) |
IN3_R |
AIC3204_rset(0x55, 0x0c) |
OUT1_HPL |
AIC3204_rset(0x52, 0x08) |
OUT1_HPR |
AIC3204_rset(0x55, 0x08) |
OUT2_LOL |
AIC3204_rset(0x52, 0x08) |
OUT2_LOR |
AIC3204_rset(0x55, 0x08) |