Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Jostikas
#1725 Hi all!
Anyone have any experience with connecting stuff other than the serial flash module to the SPI interface?
I'm interested in pairing the ESP8266 with an SPI RTC for an IoT smartplug-like scheduled switching thingie, but I'm wondering whether I actually CAN use SPI, as the code is running off the Flash.

Also, as the flash is Quad-SPI, is there any code-juggling I have to do before I can talk to normal SPI slaves?

Level of experience: zero, this is my first project with IC-s on them.
User avatar
By Jostikas
#1748 Okay, reading spi_master.c and eagle_soc.h, it seems there are two SPI-s? One of them muxed with SDIO? And SDIO is actually the thing used to talk to the flash? And stuff relating to that is in ROM? Can I assume, that if I at some point configure the SDIO pins to act like SPI, then the rom will, when access to flash is needed, do magic to still access the flash?

:?