2024-09-13 04:10 AM - last edited on 2024-09-13 07:15 AM by Mike_ST
Hi, I tried to configure the USB Host for a project, but it’s difficult to configure, and I am not finding any online support available for the STM32H5 series controller.
My requirement: I configured PB4 as an output, which is connected to a green LED. Whenever I plug the USB into my controller, the green light turns on, and whenever I remove the USB from the controller, the green light turns off.
I’ve tried some methods, but they are not working. Can anyone please help me?
Solved! Go to Solution.
2024-09-25 07:27 AM
Hello,
>> it is applicable for Customized board STM32H563ZIT6 Controller?
No.
As per STM32H563 reference manual , there is a "Universal serial bus full-speed host/device interface"
So, host mode is supported on that chip, if you've made a design of your own, it should work.
2024-09-13 04:14 AM
sorry i Mis-understandingly mention the labels as STM32G0 Series.but The original Label is STM32H5
2024-09-13 08:09 AM
Hello,
you can find an USB HOST example for STM32H5 in the Projects\STM32H573I-DK\Applications\USBX\Ux_Host_HID_CDC_ACM folder of the software package availbable here:
Your project seems to make use of an old package v1.1.1 when v1.3.0 is available.
Just in case you're using a Nucleo 144 with STM32H563ZIT6, host mode is not supported on that board.
2024-09-24 06:09 AM
>Just in case you're using a Nucleo 144 with STM32H563ZIT6, host mode is not supported on that board.
it is applicable for Customized board STM32H563ZIT6 Controller?
2024-09-25 07:27 AM
Hello,
>> it is applicable for Customized board STM32H563ZIT6 Controller?
No.
As per STM32H563 reference manual , there is a "Universal serial bus full-speed host/device interface"
So, host mode is supported on that chip, if you've made a design of your own, it should work.