cancel
Showing results for 
Search instead for 
Did you mean: 

SD card interfacing with stm32l432kc

kushal
Associate

Hi, 

I am using STM32l432kc board with sd card module. I have 16gb class 10 sd card.  I have used cubemx ide for coding and configuration purpose. I am using @https://microcontrollerslab.com/microsd-card-module-stm32-blue-pill-stm32cubeide/ and also seen various tutorials on youtube. still i am not able read or write on sd card. Please note that i am using SPI protocol. I got FR_OK for mount but for find_volume, I get FR_NOT_READY. 

can anybody have successfully interface them before? Please help in this regards. 

1 REPLY 1
jiangfan
ST Employee

You may refer to microSD application projects based on STM32L496G-Discovery and STM32L476G-EVAL. Both boards are different than your board from hardware point of view, but I suppose there are some similar points: STM32L4 and SD and FatFs.

STM32CubeL4/Projects/32L496GDISCOVERY/Applications/FatFs/FatFs_uSD_Standalone at master · STMicroelectronics/STM32CubeL4 · GitHub

STM32CubeL4/Projects/STM32L476G-EVAL/Applications/FatFs/FatFs_uSD_Standalone at master · STMicroelectronics/STM32CubeL4 · GitHub