Skip to main content
Visitor II
August 14, 2025
Question

Unable to initialize under USB_SH_HOST of H7R7

  • August 14, 2025
  • 1 reply
  • 228 views

while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST);

The code failed to run, as referenced< https://community.st.com/t5/stm32-mcus/faq-troubleshooting-a-usb-core-soft-reset-stuck-on-an-stm32/ta-p/803224 >This article has been configured, but it still cannot be initialized successfully

Requesting your assistance

MECHO_0-1755171344097.png

MECHO_1-1755171373282.pngMECHO_2-1755171386029.png

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 21, 2025

    Hi @MECHO 

    I suggest you follow examples provided and pay attention to the hardware changes made in your custom hardware.