cancel
Showing results for 
Search instead for 
Did you mean: 

STA311B - I2S out not working

jeliazkob
Associate II
Posted on February 29, 2016 at 22:26

Hello,

I am testing a new STA311 design and I cannot get I2S output from the IC. I have I2S input running at 48kHz with BCK, LRCK and System clock (12.288MHz) present (coming from an ADC). I2S output is enabled but I don't have BCK or LRCK coming out.

PWM output works in binary mode but I have no signal output in FFX mode. 

For the test, I use the APWorkbench to generate the register values and I program them via my own uC. I2C bus communication runs without errors, PWDN and RESET pins are high.

Do you have any ideas what else I can try?

Regards,

J.

5 REPLIES 5
Nickname1623_O
Associate II
Posted on March 01, 2016 at 01:52

Hi J

First , could you share your APC file , the configuration file for apworkbench , then we can understand your register setting for STA311B.

and based on your description :

1) looks like volume setting is in mute status , then there are no PWM output in FFX mode , but 50% duty cycle PWM signal in binary mode .

2) if you have APWlink board , the USB interface board for ST audio device contorl by APWorkbench , you can connect I2C bus and ground to your application board , then use APworkbench to tune STA311B register setting . and for more info of APWlink , please check below link :

http://www.st.com/web/en/catalog/tools/FM116/CL1620/SC1028/PF253187?s_searchtype=keyword

Thanks

YT

jeliazkob
Associate II
Posted on March 16, 2016 at 17:40

Thank you for the reply!

it was a cold solder joint. However, now I have I2S out only on SDO_12 and SDO_34 while I have I2S data coming to all SDIs. I also mapped all the SDOs to be the same a SDO_1 (using reg 0x37 ..0x3A) but nothing changed. Is there another register I should check, or I should suspect cold solder joint again?

Regards,

J.

jeliazkob
Associate II
Posted on March 17, 2016 at 18:45

Hi YT,

Please find attached my test configuration file. With this file I am getting PWM on all 8 outputs but I2S only on SDO_12 and SDO_ I tested this on 4 PCBs and they all behave the same way.

Regards,

J

________________

Attachments :

testSTA311.apc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hsz5&d=%2Fa%2F0X0000000aIF%2F6CewoWUZHMnbcJpDCf.XH3Rm2Vx2eDFE86SwDVaVYpU&asPdf=false
jeliazkob
Associate II
Posted on March 17, 2016 at 19:54

its register 0x81 - SID1.

what setting in the GUI controls this?
Nickname1623_O
Associate II
Posted on March 25, 2016 at 08:08

hi J ,

yes , the default value of 0x81 register is 0x05 hex , then SDO56 and SDO78 had been used for pop free control function.

thanks

YT