Part Number: MSP432P401R
Tool/software: TI-RTOS
Hi,
I have a project that needs to read some data over SPI and than write it on the SD card.
Reading from SPI works, writing to the SD card also (separately).
The problem is that I cannot read correctly the data of the SPI sensor after I init the SD card.
If I don't call the mount function I'm able to read the data normally. If I call mount function the SPI data is strange..
void mount() { /* Mount and register the SD Card */ SDSPI_Params_init(&sdspiParams); sdspiHandle = SDSPI_open(Board_SDSPI0, DRIVE_NUM, &sdspiParams); if (sdspiHandle == NULL) { System_printf("Error starting the SD card\n"); System_flush(); while (1); } else { System_printf("Drive %u is mounted\n", DRIVE_NUM); System_flush(); } }
Any help?
Version:
Simplelink 1.30