SPI interfaces
Posted: Tue Nov 05, 2019 4:45 am
I read from the data sheet that there are 4 SPI interfaces. I assume that one is used by FLASH (internal or external?). That leaves 3? What about the pSRAM and external FLASH (on WROOM or WROVER modules)? How many are left? I'm reading an SPI sample program that displays an image to an LCD. It calls spi_bus_initialize().
I found the reference:
https://docs.espressif.com/projects/esp ... _config_ti
There seems to be no mention of WHICH SPI interface is being used in the call, only the pins the interface uses. My goal is to read files in from say an SPI interfaced sd card and flash the content to an atmega328 via SPI interface.
If I run spi_bus_initialize() AFTER I initialized and mounted sd card (SPI interface), will the spi_bus_initialize() mess up the sd card access? I'm used to each SPI bus with a different name such as SPI0, SPI1 etc.
Thank you!
I found the reference:
https://docs.espressif.com/projects/esp ... _config_ti
There seems to be no mention of WHICH SPI interface is being used in the call, only the pins the interface uses. My goal is to read files in from say an SPI interfaced sd card and flash the content to an atmega328 via SPI interface.
If I run spi_bus_initialize() AFTER I initialized and mounted sd card (SPI interface), will the spi_bus_initialize() mess up the sd card access? I'm used to each SPI bus with a different name such as SPI0, SPI1 etc.
Thank you!