Hello,
I interfaced nRF9160 and SD card using SPI. I started with this sample: ncs/zephyr/samples/subsys/fs/fat_fs.
Now once the files from SD card are read, I want to uninitialize this SPI, so it can be used by other peripheral. So how can I disable or uninitialize this SPI?
I found that by using "sdhc_spi_set_cs(data, 1)" function, I can deassert chip select pin. But using this function in main program gives the error. I included the header files, still it shows error.
Code: