I am trying to access microSD card with NucleoL476RG board using SPI interface. I am using FatFs third party library with code (generated from stm32cubemx software). I did everything but it is not working. It is getting stuck in "f_mkfs" function in main.c file. And returning the value "FR_NOT_READY". What should I do?
I have attached the project files here. Waiting for answers/suggestions.