New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does I2S Stereo in Slave mode have no channel synchronization? #81
Comments
Without a reset, the i2s will not re-sync.
After reset and initialization, you cannot stop DMA or clear the I2S FIFO, or turn RX off and on - сhannel synchronization will be broken. The described problem is reliably solved by turning off the external I2S source, resetting the I2S controller, initializing I2S, starting the external source. Channel synchronization will work in such a session. |
If your pcm data is 8 bits or 16 bits, you can use the channel merge feature to solve this problem |
You also need to change the bit width of the DMA's transmitted data. |
24 bits are used. |
When I2S is initialized in the DMA receive buffer, there is no certainty as to whether the receive data address is even or odd for the L or R channel. Depends on the I2S turn-on time. How to synchronize channels?
This is a hardware defect of all Bouffalo Lab chips?
The text was updated successfully, but these errors were encountered: