Hello,
I have two I2S devices that need to communicate.
Device 1 I2S Output: BCLK=512kHz, 16-bit data, 2 channels, 16kHz sample rate, 32-bit frame (2x16-bit)
---- (microcontroller in between trying to convert) ----
Device 2 I2S Input (speaker): BCLK=2.048MHz, 24-bit data, 2 channels, 32kHz sample rate, 64-bit frame (2x32-bit)
The microcontroller is receiving the data from device 1 and bit shifting left by 8 (<< 8) and sending the modified data to Device 2 (twice to account for slow Device 1 settings).
I can faintly here my voice on the speaker but it has a high level of 'noisy' static sound coming from it.
I've been hitting this one for a few weeks trying to tweak settings and measuring waveforms on the scope, but no success.
Any suggestions will be appreciated.
Thanks!
I have two I2S devices that need to communicate.
Device 1 I2S Output: BCLK=512kHz, 16-bit data, 2 channels, 16kHz sample rate, 32-bit frame (2x16-bit)
---- (microcontroller in between trying to convert) ----
Device 2 I2S Input (speaker): BCLK=2.048MHz, 24-bit data, 2 channels, 32kHz sample rate, 64-bit frame (2x32-bit)
The microcontroller is receiving the data from device 1 and bit shifting left by 8 (<< 8) and sending the modified data to Device 2 (twice to account for slow Device 1 settings).
I can faintly here my voice on the speaker but it has a high level of 'noisy' static sound coming from it.
I've been hitting this one for a few weeks trying to tweak settings and measuring waveforms on the scope, but no success.
Any suggestions will be appreciated.
Thanks!
Last edited: