Page 1 of 1

Read 24Bit Data from SPIFFS and send with DMA I2S?

Posted: Tue Mar 08, 2022 2:01 pm
by Tobi82m
Hello,

i have a Data File with 24Bit Data. I have to send the Data parallel to my Hardware. I choose the i2s parallel driver from Tobleminer:

https://github.com/TobleMiner/esp_i2s_parallel

I have generated sample data like: 0x0000 and 0xFFFF and the Data where send parallel with up to 2MHz stable.

Now i want to send my Data File. The data file contains 50000 samples with 24bit data.
I upload my file via SPIFFS. How can i read my file into the dma buffer for sending the data with 2MHz? What is the max buffer size?