Skip to main content
Associate
September 10, 2026
Question

STM32H563ZI can read/write SD Card, but USB MSC is not recognized by PC

  • September 10, 2026
  • 2 replies
  • 62 views

I am currently developing a USB Mass Storage application using the STM32H563ZI with the following architecture:

PC ← USB ← NUCLEO-H563ZI ← SD Card

The SD Card and USB Device have both been tested separately, and each works correctly on its own.

However, after integrating the two, I would like to use USB MSC to expose the SD Card connected to the STM32H563ZI as a removable storage device on the PC. The PC is currently unable to recognize the SD Card properly.

I would like to ask if there is any example code or reference project for the STM32H563ZI that demonstrates USB MSC with an SD Card.

Thank.

2 replies

ST Technical Moderator
September 11, 2026

Hello ​@YU-Ben 
The STM32H573-DK MSC application can be used as an example on which to base the project.
BR
Gyessine

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
YU-BenAuthor
Associate
September 14, 2026

Hello Gyessine,

Thank you for your reply and for providing the example.

I will test my project based on this example.

I’m wondering if the issue could be related to an access conflict between the MCU and the PC when both are accessing the SD card. This might be why the SD card is not recognized correctly by the PC.

BR,
YU-Ben