Page 1 of 1

Support for external spi flash on the esp32-s2

Posted: Fri Sep 03, 2021 8:18 am
by aowron
Hi,

We're currently looking into adding external storage to an upcoming PCB revision, and we're using the ESP32-S2. However, when looking at the possibility of using vfat on an external SPI NOR flash chip, I stumbled a comment in the following file: https://github.com/espressif/esp-idf/bl ... eLists.txt
# external SPI flash driver not currently supported for ESP32-S2
From what I can see of the Git history, the comment was added in April 2020, and I do therefore wonder: is this still the case or has support for ESP32-S2 been implemented in the SPI Flash driver (in ESP IDF)?

Re: Support for external spi flash on the esp32-s2

Posted: Mon Oct 11, 2021 5:25 pm
by nilesh-dryad
I am using External Flash with ESP32S2 since 4 months. So far no problems but When I try to share that SPI bus with my SPI Ethernet, it does not work out of the box. Seems like I will have to link both flash and Ethernet driver to use the same SPI bus. Ideally It should work out of the box with some bus configuration.

Anyway external flash being the only device on SPI bus works fine without any issue.