ESP8266 I2S 24bit INPUT?
Posted: Tue Jul 31, 2018 5:00 am
Hey,
anyone has experience using the I2S library to do a 24bit (32 works too) input? I am trying to hookup an I2S ADC and the bit depth is somewhat of an issue.
What I've tried so far is to set the FIFO config bits 16-18 to 010.
I2SFC &= ~(I2SDE | (0x5 << I2STXFM) | (0x5 << I2SRXFM));
However, this does not change the CLK at all.
Another issue that could arise is that the function i2s_read_sample takes in buffers of 16bits.
anyone has experience using the I2S library to do a 24bit (32 works too) input? I am trying to hookup an I2S ADC and the bit depth is somewhat of an issue.
What I've tried so far is to set the FIFO config bits 16-18 to 010.
I2SFC &= ~(I2SDE | (0x5 << I2STXFM) | (0x5 << I2SRXFM));
However, this does not change the CLK at all.
Another issue that could arise is that the function i2s_read_sample takes in buffers of 16bits.