Skip to main content
Associate II
July 12, 2023
Question

STM32U5 : Use FatFS and USB CDC VCP with FREERTOS

  • July 12, 2023
  • 2 replies
  • 1597 views

USB Device and FATFS not present in CubeMX. How can I add this in CubeMX (or in KEIL compiler )?

Do you have a working sample for this processor ? 

2 replies

Grant Bt
Associate III
July 12, 2023

I've been looking at the U5 as well and it seems they use/require the ThreadX middleware, at least for the CubeMX stuff. I have used libusb_stm32 on other STM32 parts and it's quite small and nice.

Markko67Author
Associate II
April 4, 2024

I use FREERTOS cmsis-2. I cannot use ThreadX. How to add FATFS on SD card connected in SPI mode on a STM32U585. 

Does anyone make that and have a sample program on U5 series ?

 

gbm
Lead III
April 4, 2024

My HAL- and RTOS-free USB device stack, may be easily adopted for RTOS - check if interested.

https://github.com/gbm-ii/gbmUSBdevice

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice