cancel
Showing results for 
Search instead for 
Did you mean: 

Standalone implementation of USBX ,MTP Support, STM32 USB Middleware

Rookie38
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


I'm out of offce with limited access to my emails.
Happy New Year!

View solution in original post

2 REPLIES 2
FBL
ST Employee

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

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


I'm out of offce with limited access to my emails.
Happy New Year!

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..