Skip to main content
Visitor II
April 29, 2021
Question

STM32L562E-DK - SD card as USB Mass Storage Device

  • April 29, 2021
  • 2 replies
  • 848 views

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!

    This topic has been closed for replies.

    2 replies

    Graduate II
    April 29, 2021

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

    ABois.11Author
    Visitor II
    April 29, 2021

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