Hi there!
First of all; I'm using ESP-IDF 4.2 with the ESP-ADF and have two CMM4030D microphones connected to an ESP32-WROVER-E on a custom board. These microphones should record a wav file to an SPI-Connected SD card.
And that works flawless! But not when PSRAM is enabled, should initialize on boot (which it does) and is allocatable using heap_caps_alloc(). The frequency of PSRAM, as wel as that of the SPI Flash, is set at 80MHz and there isn't anything connected to pins 16 and 17.
So, to conclude; when PSRAM is enabled (boots on startup and is allocatable using heap_caps_alloc), the recording is choppy, but when it's disabled (but still running the same code) it works fine... What on earth could be the cause of this issue?
Kind regards,
A confused Jochem
ESP-ADF with PSRAM results in choppy recording
Re: ESP-ADF with PSRAM results in choppy recording
Small status-update. I've investigated a little further and found out that the example shows the same behaviour. Simply enabling PSRAM results in a choppy recording. Opened an issue on GitHub.
Re: ESP-ADF with PSRAM results in choppy recording
I'm happy to announce that I've managed to implement a workaround. This workaround consists of initializing PSRAM after startup preventing the ESP-ADF to allocate buffers in PSRAM. More details can be found in the issue over at GitHub.
Who is online
Users browsing this forum: No registered users and 45 guests