Search found 2 matches
- Wed Feb 14, 2024 10:55 am
- Forum: ESP-IDF
- Topic: The read I2S buffer will only be loaded with half of the data
- Replies: 2
- Views: 607
Re: The read I2S buffer will only be loaded with half of the data
Decently sure the 'size' argument to i2s_channel_read is in bytes, while you're feeding it the number of words you want to read. Thank you very much, it worked, I made the following change: i2s_channel_read(rx_chan,r_buf, sizeof(r_buf), &r_bytes, portMAX_DELAY)!= ESP_OK) Instead of setting the size...
- Wed Feb 14, 2024 2:24 am
- Forum: ESP-IDF
- Topic: The read I2S buffer will only be loaded with half of the data
- Replies: 2
- Views: 607
The read I2S buffer will only be loaded with half of the data
I am trying to read an I2S buffer of 1024 elements, which will be 512 per channel, but instead of receiving 512 I receive only 128 elements with information per channel. https://i.imgur.com/dNzNRTg.png I have read the data sent with a logic analyzer and the information is complete (a little ugly due...