MCU: TM4C1294NCPDT
TI-RTOS: v2.01.00.03
CCS: v6.0.1.0040
SPI slave: W25X80AV (serial Flash memory)
SDSPI slave: SD Card (8 GB)
Hello,
I am going to connect an SD card & a serial Flash memory to a SPI (SSI) port of Tiva MCU. Both these memory devices will be connected using common SPI bus (SCLK, MOSI & MISO); only CS (chip select) pin is different. For CS, MCU's GPIO pins will be used. For, the serial flash, I intend to use SPI driver from TI-RTOS & for SD card I will do so using the SDSPI driver of TI-RTOS.
Is concurrent access possible on the same SPI port (SSI0 in my case). By concurrent access, I mean, at a time I will access only the serial flash or the SD card, but do I need to call SDSPI_close before I can access the serial flash by calling SPI_open? OR Can I keep both the drivers open by calling SDSPI_open & SPI_open one after the another & access both the memory card & flash memory (but not both at the same time)?
Thanks
Regards
Soumyajit Das