You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to connect two INMP441, and change channelformat = I2S.RIGHT_LEFT, rise error below:
E (39778) I2S: Error malloc dma buffer
/home/miket/micropython_projects/esp-idf-v4-0-2-e5f754b/components/freertos/queue.c:1802 (vQueueDelete)- assert failed!
abort() was called at PC 0x40091e37 on core 0
Is it support record stero MIC to file currently?
The text was updated successfully, but these errors were encountered:
The I2S implementation works with two MICs. The error you see might be caused by the ESP32 running out of DMA capable memory when I2S is initialized. You can try to fix the problem by reducing the values of dmalen and dmacount in the I2S initialization call. That change will reduce the amount of DMA capable memory that is allocated during initialization.
Thanks for the followup. I'm glad you got it working. Reducing dmalen and dmacount reduces the amount of DMA capable memory that is used. I'm surprised that reducing NUM_SAMPLES_IN_DMA_BUFFER fixed the problem as the error message message you got does not suggest this fix would work.
I try to connect two INMP441, and change
channelformat = I2S.RIGHT_LEFT
, rise error below:Is it support record stero MIC to file currently?
The text was updated successfully, but these errors were encountered: