cancel
Showing results for 
Search instead for 
Did you mean: 

stm32u5 ux host hid with no vbus power

tommyliu
Visitor

Hi,

I try to migrate the  UX_Host_HID example on STM32U575I-EV to nucleo-u575zi-q.

STM32CubeIDE Version: 1.17.0

STM32CubeMX Version: 6.13.0

I duplicate all the settings relating to USB host options to mine.

tommyliu_0-1737104641221.pngtommyliu_1-1737104671399.pngtommyliu_2-1737104689752.png

In the middleware:

tommyliu_3-1737104744759.pngtommyliu_4-1737104768241.png

tommyliu_5-1737104800940.pngtommyliu_6-1737104833337.png

and then copy the source code from the Ux_Host_HID

tommyliu_7-1737104935184.png

After programming the firmware to my ev board, i plug the hid device to the CN15 USB connector. There is noting happened and no power react on my hid device.

tommyliu_8-1737105169818.png

Did i miss any settings to setup the USB host example??

how can i provide power to the hid device???

 

Any response will be appreciated.

 

 

 

 

 

1 REPLY 1
FBL
ST Employee

Hi @tommyliu 

It is an expected behavior. VBUS should be powered by the USB Host and the Nucleo-144 U575 board works as a USB Device. However, the eval board can work as usb host or device. Refer to section 7.13.1 Description in UM2854 and section 6.11 USB Type-C® FS/HS in UM2861 for more details.

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.