Search found 2 matches

by FatherOfElectronics
Sun Feb 04, 2024 7:45 am
Forum: ESP32 Arduino
Topic: Missing samples in I2S readout
Replies: 2
Views: 691

Re: Missing samples in I2S readout

If your processing is taking a lot of time, I'd recommend that you put the i2s functionality into a task at high priority. Is there any difference if you remark the Serial.print statements? Those take a significant amount of cpu time, and may be slowing things down. As far as I understood, i2s_read...
by FatherOfElectronics
Sun Feb 04, 2024 12:50 am
Forum: ESP32 Arduino
Topic: Missing samples in I2S readout
Replies: 2
Views: 691

Missing samples in I2S readout

Hello all! I'm currently trying to read audio data from a PCM4222 ADC using I2S. I managed to get the ESP to read correct data from the ADC, however it seems like the ESP is skipping some samples, see image below. Screenshot 2024-02-04 012256.png This seems to always happen somewhere between sample ...