This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1352R: How can I change the SD driver to use other SPI module?

Part Number: CC1352R

Tool/software: TI-RTOS

Hi, 

I am using one SPI interface from the Sensor Controller domain to communicate to a sensor. But I need to use an SD card to store the data. For this purpose, I am using the SD driver available from TI drivers from SDK package (SD.h).

But this driver uses the same SPI pins that Sensor Controller uses. My question is: how can I use the other SPI instance? How can I change it in the driver?

The technical reference manual of CC1352R says it has 2 SSI modules, that can be configured as SPI, but in the file Board.html (present in whichever example project), there's always one instance of SPI for all examples. 

Thanks in advance,

Sara

  • Hello Sara,

    In order to change this, you will need to go into the SD driver configuration found in the LAUNCHXL.c file.
    In here you will be able to change pins and the actual SSI port you want to use for the SD driver.

    I hope this helps,
    AB