External SPI Flash (Winbond) and SPI Ethernet are not working on the same bus.
Posted: Thu Oct 21, 2021 10:11 am
Hello ESP developers,
I connected external SPI flash (W25Q32JV) to ESP32S2. Standalone example just works fine on ESP32S2. I am able to read/write into file.
I also connected SPI Ethernet (WIZ850io - W5500) to ESP32S2. Standalone example also works fine with ESP32S2. I am getting IP and able to ping to my ESP32S2 from my network.
But when I try to use external SPI flash and SPI Ethernet on the same bus together. None of them are working. I am getting flash error (wl_erase_range failed) while writing into any file and ESP is also not getting any IP.
Is there any configuration change required in order to make it work together on the same bus.
Note: There are two SPI bus on ESP32S2 but I am using dedicated SPI bus for LoRa. I also tried to share Ethernet and External Flash with LoRa SPI bus but that didn't work either.
It looks like spi flash driver and spi Ethernet driver does not support any other SPI device on bus. Is it true?
I connected external SPI flash (W25Q32JV) to ESP32S2. Standalone example just works fine on ESP32S2. I am able to read/write into file.
I also connected SPI Ethernet (WIZ850io - W5500) to ESP32S2. Standalone example also works fine with ESP32S2. I am getting IP and able to ping to my ESP32S2 from my network.
But when I try to use external SPI flash and SPI Ethernet on the same bus together. None of them are working. I am getting flash error (wl_erase_range failed) while writing into any file and ESP is also not getting any IP.
Is there any configuration change required in order to make it work together on the same bus.
Note: There are two SPI bus on ESP32S2 but I am using dedicated SPI bus for LoRa. I also tried to share Ethernet and External Flash with LoRa SPI bus but that didn't work either.
It looks like spi flash driver and spi Ethernet driver does not support any other SPI device on bus. Is it true?