Skip to main content
Associate III
June 24, 2026
Question

STM32H573ZI with USB FS (non-OTG, and non-USB-C) microUSB question

  • June 24, 2026
  • 5 replies
  • 61 views

Greetings,

We have a new HW design based on the STM32H573ZI. We are using the USB port and have it

going to a 4-pin micro-USB connector with VBUS, D-, D+, and GND.

 

I would like to run an H5 Example application to verify that the HW is functional, something like the Ux_Device_HID example.

However the Ux_Device_HID examples I see seem to only support USB-C with USBPD (Power Delivery).

 

Are there any simple Device Only examples which natively support micro-USB, or USB-A?

 

Thanks

Ken Carlson

Draeger Medical Systems

 

5 replies

ST Technical Moderator
June 26, 2026

Hi ​@microcoder 

For STM32H573ZI, a simple USB Device only application using type C only (without PD ) or using micro B USB connector is absolutely feasible. However, we don’t provide direct example using USB legacy receptacle.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Associate III
June 26, 2026

Thank you!

ST Technical Moderator
June 29, 2026

Hello ​@microcoder 
Here is a simple HID device example that uses USBX and ThreadX without USB PD functionality. It moves the mouse cursor every second. It uses only the PA11 and PA12 pins. It has already been tested. It might help.
BR
Gyessine

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate III
August 27, 2026

Thank you so much!

This worked immediately, I can see the mouse movements, just like the button press example, except

with a timer!!

 

Much appreciated

Ken

 

Associate III
August 27, 2026

I used MXCube to “migrate” the above project, and now after re-compiling the newly generated code,

it doesn’t get enumerated by the Host PC anymore? Arghhh :-)

 

Thanks

Ken