cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 I2S Out of sync Issue .

RFadi
Associate

Hi,

We are using STM32F407 Discovery kit with CC2564. We are having two problems

1) When we are sending PCM Data to the CC2564 in the I2S Bus our data is out of sync with respect to the WS Signal. We are only sending data on the left channel and in the right channel we are sending 0x00 mute sound . We are using I2S philips protocol. 8KHz 16 bit data. Because of out of sync we are hearing too much noise on the other side. What we are doing is we are enabling the TXE Event interrupt and we are sending data on that event. When the event interrupt occur we check the L & R side and the send data. But we observe that our data of TXE is out of sync with the WS high low.

So How can we make that data in the WS sync.

2) One more thing we want to send data 8KHz 8 bit data on I2S But but we have observe that we only have 16 bit minimum requirement . So How can we send the 8KHz 8 bit data on I2S?

Regards

Rutvik Fadia

1 REPLY 1

What mode, master or slave?

Have you read the In I2S Slave mode, WS level must be set by the external master

when enabling the I2S erratum?

> How can we send the 8KHz 8 bit data on I2S?

You can't in a simple way. You may want to look at the SAI module, e.g. in 'F446.

JW