How to deal with blocking code #1647
-
I am using RFID-Sensors, which block the loop for around 25ms. they are sharing the SPI interface with the sd card, which in turn is used to play wav audio files. Is there a way to buffer 25ms worth of audio in a high quality like 48khz,32bit? on the ESP32? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That sounds absolutely unreasonable: For stereo you are talking about 48000232/1000*25 = 76.800 kbytes |
Beta Was this translation helpful? Give feedback.
That sounds absolutely unreasonable: For stereo you are talking about 48000232/1000*25 = 76.800 kbytes
Put the SD card on a separate dedicated SPI interface!