Skip to main content
amar2
Associate
Aug 28, 2020 5:42 PM UTC
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

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 28, 2020 8:39 PM UTC

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

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Aug 28, 2020 8:39 PM UTC

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