2018-02-27 03:25 AM
Hello!
Our customer has a problem:
'We tried to connect m66-ds modem to STM32F207VE, scheme in attachments. I2S initalization code is generated in CubeMX. We tried to work with I2S interface using interrupts, it worked but eventually synchronization left (synchro impulse and start of data packet are diverged in time).
There are solutions of the problem in errata, but they didn't help us.'
2018-02-27 08:08 AM
synchronization left (synchro impulse and start of data packet are diverged in time)
What is synchro impulse and what is data packet in this particular application?
Do you mean the WS at the beginning of each 16-bit word? But as STM32 is slave here, synchronicity of these two is given by the master, i.e. the modem. Am I overlooking something?
JW
2018-02-27 11:01 PM
Customer said that STM32 doesn't react on WS from master.
2018-02-28 01:33 AM
Do you have I2S slave examples for STM32F207?
2018-02-28 01:53 AM
Customer said that STM32 doesn't react on WS from master.
That's true. It's the essence of quoted erratum: in the 'F2s and the respective 'classic' 'F4s, the I2S module in slave mode uses the WS input only for initial synchronization, and does that in a dumb way (level sensitive rather than edge sensitive).
This
https://community.st.com/0D50X00009XkW2ISAV
be different in the newer chips, e.g. 'F4You may also want to examine the working of SPI_SR.FRE and whether and how it can be used for synchronism recovery.
You may also want to look at SAI in those newer devices.
I have no experience with PCM in particular, I used I2S only for 'Philips' I2S.
JW