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.

CC2642R: SPI_init and SD_init together

Part Number: CC2642R

Our project is to collect sensor data from SPI and log it in the SD card.

And we were planning to do select/ deselect the i2c pins whenever required. But the problem we face is - if SPI_init and SD_init are called together in a single project then neither the data collection from the sensor works nor the SD card logging. How can we work around this problem?

In the SPI_config table we have left the chip select pin to be unassigned and we are selecting/deselecting pins whenever we need in the code manually.