Skip to main content
Visitor II
September 13, 2024
Solved

How to interface or use STM32H563ZIT6 USB Host

  • September 13, 2024
  • 2 replies
  • 2003 views

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?

 

 

 

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

    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.

     

     

     

    2 replies

    Visitor II
    September 13, 2024

    sorry i Mis-understandingly mention the labels as STM32G0 Series.but The original Label is STM32H5 

    Technical Moderator
    September 13, 2024

    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:

    STM32H5 SW package 

    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.

     

    Visitor II
    September 24, 2024

    @Mike_ST 

    >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?

    Mike_STAnswer
    Technical Moderator
    September 25, 2024

    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.