cancel
Showing results for 
Search instead for 
Did you mean: 

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 it.

amar2
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

1 REPLY 1

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 Venmo
Up vote any posts that you find helpful, it shows what's working..