2016-03-21 07:41 AM
Hello ,
Having configured External Codec in I2S master mode , ST -I2S has been configured as slave with full duplex for audio application In our environment , Sample Freq = 8 KHz , Data-length = 16 bit ,Clock Polarity low and Phillips Standard have been used. Right now I am having issue with I2S3_ext line which is connected to microphone line of Codec.RX interrupt enabled for I2S3_ext line . Sometimes We received the proper audio signal through this and while other times we got only noisy signal and this noisy signal lasts till user action . What could be the reason for this ? I went through ST errata sheet and this could be related to synchronization.Right now based on user action , we start capture data from microphone . In this scenario how can i implement work-around that is mentioned in ST errata sheet ? Is there anything I am missing or if anything else please let me know ? - Pinkesh #i2s #sync #i2s-i2s2ext #stm32f4072016-03-21 03:18 PM
Simply wait until WS is in its inactive state and only then enable I2S.
JW2016-03-21 10:53 PM
Hi , Jan
We have configured I2S Phillips Standard . What is the inactive state of WS line ? - Pinkesh2016-03-22 01:51 AM
''Inactive'' is maybe not a good word in context of I2S, but according to said errata:
The I2S peripheral must be enabled when the external master sets the WS line at: • High level when the I2S protocol is selected. I2S = Philips in this context. JW2016-03-31 07:26 AM