-->
Page 1 of 1

SPI master

PostPosted: Thu Oct 16, 2014 12:29 pm
by Jostikas
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.

Re: SPI master

PostPosted: Fri Oct 17, 2014 6:31 am
by Jostikas
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?

:?