Search found 3 matches

by davekrum
Wed Oct 30, 2024 8:36 pm
Forum: ESP-IDF
Topic: External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board
Replies: 3
Views: 466

Re: External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board

We found that setting the PSRAM CS pin to HIGH solved the issue and now we are able to use the external flash properly. :) The reason for this was that all the time we initialized and used only the internal PSRAM in the ESP32-S3-WROOM-1U module (SPI1), not the one we connected to SPI2, which was int...
by davekrum
Fri Oct 25, 2024 9:44 am
Forum: ESP-IDF
Topic: External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board
Replies: 3
Views: 466

Re: External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board

We found that when using this example https://github.com/nopnop2002/esp-idf-w25q64 the flash initializes and works correctly. BUT the example uses driver/spi_master.h and spi_bus_add_device instead of esp_flash spi_bus_add_flash_device . The problem is that spi_bus_add_device returns different type ...
by davekrum
Mon Oct 21, 2024 4:17 pm
Forum: ESP-IDF
Topic: External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board
Replies: 3
Views: 466

External SPI flash error ESP_ERR_FLASH_NOT_INITIALISED on ESP32-S3 custom board

Dear forumers! We are developing a custom board with ESP32-S3-WROOM-1U 16R8 module with an additional external ESP-PSRAM64 and a Winbond 25Q128 SPI FLASH. However in the first prototypes there is a problem with initialization of the external flash, we test it by running an ESP-IDF example https://gi...