Open kurogedelic opened 12 hours ago
Please try the git master
version, not the official release. There was an I2S input timing change to better match the spec which affects the left/right word clock (which would possibly cause data shifts). See the docs for full info, it's simple to get git
running for most folks.
Hello. First, I should mention that I'm not an I2S expert, so I might be missing something fundamental. I'm trying to receive audio data from a V4220M/CS4220 codec using the Arduino-Pico I2S library, but I'm experiencing issues with the input data. Interestingly, I2S output to the same codec works perfectly fine.
Hardware Setup:
Clock Configuration:
Code:
The received data shows an unusual pattern:
The data seems to alternate between very small values (0x00000X) and larger values (0x03FFXX), which doesn't look like normal audio data. I've tried:
The fact that output works perfectly suggests the clock setup is correct. Am I missing something important in the I2S input configuration? Since I'm relatively new to I2S, there might be some fundamental concept I'm overlooking.
Any help or suggestions would be greatly appreciated!