I am using a ESP32 Wrover which has 4MB SPI flash and 8MB PSRAM, I am able to make PSRAM works by using the (uint16_t*)ps_malloc(153600) to acxcess the PSRAM . However, I had hard time to use the SPI flash.
I had include the https://github.com/espressif/arduino-es ... pi_flash.h into my program and use the esp_rom_spiflash_write(uint32_t dest_addr, const uint32_t *src, int32_t len); and esp_rom_spiflash_read(uint32_t src_addr, uint32_t *dest, int32_t len); to do write an dread the SPI flash but it seems not working
Is there a SPI Flash test code that I can use for testing?
ESP32 Wrover SPI flash erase and write function fail under Arduino IDE
Who is online
Users browsing this forum: No registered users and 83 guests