Skip to main content
amar2
Associate
August 28, 2020
Solved

How to create/write/read text file into SD Card using SPI2 protocol in STM32F103RB using HAL drivers. I tried it but i am getting FR_NOT_READY error. can you please elp me to come out of this issue. If possible please share overview of sourcecode for

  • August 28, 2020
  • 1 reply
  • 1078 views

..

This topic has been closed for replies.
Best answer by Tesla DeLorean

ST has examples for the Adafruit Shield, with code in the BSP for the SPI interface, and FatFs examples for the Nucleo

STM32Cube_FW_F1_V1.8.0\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c

STM32Cube_FW_F1_V1.8.0\Drivers\BSP\STM32F1xx_Nucleo\stm32f1xx_nucleo.c

STM32Cube_FW_F1_V1.8.0\Projects\STM32F103RB-Nucleo\Demonstrations\Adafruit_LCD_1_8_SD_Joystick\Src\fatfs_storage.c

1 reply

Tesla DeLorean
Guru
August 28, 2020

ST has examples for the Adafruit Shield, with code in the BSP for the SPI interface, and FatFs examples for the Nucleo

STM32Cube_FW_F1_V1.8.0\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c

STM32Cube_FW_F1_V1.8.0\Drivers\BSP\STM32F1xx_Nucleo\stm32f1xx_nucleo.c

STM32Cube_FW_F1_V1.8.0\Projects\STM32F103RB-Nucleo\Demonstrations\Adafruit_LCD_1_8_SD_Joystick\Src\fatfs_storage.c

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..