Overview of the USB Mass Storage (MSC) Standalone Application
masterThe USB MSC Standalone application demonstrates how to use the STM32G4xx USB Device peripheral to implement a Mass Storage Class (MSC) device. The STM32 MCU acts as a bridge between a PC Host and a storage medium (such as a microSD card) using Bulk Only Transfer (BOT) and SCSI transparent commands.
When running, the device is enumerated by the PC Host as a removable drive, allowing standard read, write, and format operations.
Key Technical Details:
- USB Speed: Full Speed (FS).
- Clocking: The FS USB module requires an internal 48-MHz clock generated from an internal PLL.
- Storage: Uses a microSD card as the underlying media.
- Hardware Target: Tested on STM32G474E-EVAL Rev B, but portable to other STM32G4xx devices.