cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L562E-DK - SD card as USB Mass Storage Device

ABois.11
Associate II

Hi there,

I am trying to make my STM32L562 Discovery Kit an USB device to read and write files in a SD card as a mass storage device.

Can anyone tell me if it is effectively possible with this board? If yes, how can I do it?

I have tried different settings in CubeMX (USB device as Mass Storage Class, activate or not USB FS global interrupt, using or not FATFS...) but I still can't detect the SD Card from a PC.

Thanks in advance for your help!

2 REPLIES 2

STM32Cube_FW_L5_V1.3.0\Projects\STM32L562E-DK\Applications\USB_Device\MSC_Standalone\readme.txt

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ABois.11
Associate II

Thank you very much @Community member​, I will reuse this basic example for my application.