SDCard Not Working (FR_NOT_READY) on CubeIDE 1.10.1
Hello Guys,
Last week I tried to add an SDCard Module on my STM32L476 project and i followed this tutorial: embetronicx.com/tutorials/microcontrollers/stm32/stm32-sd-card-interfacing-with-example/
I can't read the SD in fact I get back FR_NOT_READY when I execute the f_mount method.
Please Note that: The project already contains FREERTOS and it used TIM1 as a timebase source for SYS as it was recommanded so i had to add my timers function in the timer interruption call back like this:
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
/* USER CODE BEGIN Callback 0 */
if (htim->Instance == TIM1) {
if(Timer1 > 0)
Timer1--;
if(Timer2 > 0)
Timer2--;
}
/* USER CODE END Callback 0 */
if (htim->Instance == TIM1) {
HAL_IncTick();
}
/* USER CODE BEGIN Callback 1 */
if (htim->Instance == TIM2) {
DebounceHWTimerHandle(&Joystick);
}
/* USER CODE END Callback 1 */
}
This is the setup i am using on cubeMX:


I used similar tutorials with the same steps in previous CubeIDE versions and on SWB4ST32 and it worked fine
