Skip to main content
Visitor 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 ? 

    This topic has been closed for replies.

    2 replies

    Graduate II
    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
    Visitor 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 ?

     

    Graduate
    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