Skip to main content
Graduate II
November 21, 2024
Solved

Standalone implementation of USBX ,MTP Support, STM32 USB Middleware

  • November 21, 2024
  • 2 replies
  • 1581 views

Hello ST Community,

 

for the STM32H5, STM32U5 and STM32U0 series, it is already possible to use USBX without ThreadX using CubeMX. After my research, I have a few questions:

  • Why was this limited to these STM32 series only? Are there plans to support the other series in the future?
  • Is it possible to generate a CubeMX project for the STM32H5 with standalone USBX and simply port the USB part for STM32F7 projects?
  • Will there be support for MTP Device USBX projects in the future?
  • Why is it not possible to configure an MTP device project with the ST own USB stack in CubeMX and why is there not a single example for a simple MTP USB device project?
  • Are there plans for ST's USB stack to receive safety certificates such as IEC 61508 SIL4, IEC 62304 Class C etc. similar to USBX?

Thank you very much

    This topic has been closed for replies.
    Best answer by FBL

    Hi @Rookie38 

    1. Some products have this flexibility to use USBX without ThreadX.
    2. Indeed, using H5 you can build USBX standalone application by simply unchecking ThreadX checkbox under Middleware and Software Packs
    3. Using USBX stack, MTP class standalone is defined as PIMA MTP in device mode. 
    4. For example, this stack is licensed under SLA0044 Rev5/February 2018

    FBL_0-1732207027241.png

    This class is supported in ST Library stack with no examples in device mode. If you could justify the necessity, in application level 

    Here is a project provided in host mode : TM32CubeF7/Projects/STM32F769I_EVAL/Applications/USB_Host/MTP_Standalone at master · STMicroelectronics/STM32CubeF7

    2 replies

    FBLAnswer
    Technical Moderator
    November 21, 2024

    Hi @Rookie38 

    1. Some products have this flexibility to use USBX without ThreadX.
    2. Indeed, using H5 you can build USBX standalone application by simply unchecking ThreadX checkbox under Middleware and Software Packs
    3. Using USBX stack, MTP class standalone is defined as PIMA MTP in device mode. 
    4. For example, this stack is licensed under SLA0044 Rev5/February 2018

    FBL_0-1732207027241.png

    This class is supported in ST Library stack with no examples in device mode. If you could justify the necessity, in application level 

    Here is a project provided in host mode : TM32CubeF7/Projects/STM32F769I_EVAL/Applications/USB_Host/MTP_Standalone at master · STMicroelectronics/STM32CubeF7

    Graduate II
    November 21, 2024

    https://github.com/STMicroelectronics/stm32-usbx-examples/tree/main/Projects/STM32H735G-DK/Applications/USBX/Ux_Device_PIMA_MTP

     

    >>Are there plans for ST's USB stack to receive safety certificates such as IEC 61508 SIL4, IEC 62304 Class C etc. similar to USBX?

    If such thing have perceived value, perhaps there are commercial options?