Skip to main content
Graduate
August 8, 2024
Question

USB Host mode Configuration in stm32h503rbt6 controller

  • August 8, 2024
  • 2 replies
  • 1156 views

@hi all, 

I newly working in USB Host mode configuration in stm32h503rbt6 controller using Keil software(without Hall code),

this isn't very easy for me, I can't understand, how to use this method.

actually, this implementation is to communicate (stm32 (Host)) with Tablet(device).

I spent one week to USB understand this concept but couldn't, so please can you suggest me and share some notes for achieve this configuration

Thanks,

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    September 27, 2024

    Hi @Mohan30 

    Which board are you using? I suggest you following the workshop on H5 STM32H5 workshop - 09 USB - USBX-CDC lab (experts) (youtube.com) If using Nucleo-H503, USB Host configuration is not recommended because it is not USB-C® compliant.

    However, if you would you like to use it for testing purposes you should set the following solder bridges :

    •  SB1 and SB7 ON
    • SB14 ON
    • SB4 and SB8 OFF
    Mohan30Author
    Graduate
    September 28, 2024

    @FBL  Thanks, dude.
    I searched a lot on Google, but I can't get the correct code, can you suggest a sample working code for the USB Device?
    I try to implement it but this isn't very clear to me. 

    Mohan30Author
    Graduate
    October 5, 2024

    @FBL  Thanks for helping me dude.