Skip to main content
Visitor II
August 12, 2024
Solved

USB HS configuration does not work

  • August 12, 2024
  • 1 reply
  • 957 views

On the STM32H7S3V8T6 custom board, I connected the DM and DP of HS USB to the JST connector, connected it with the Unified Daughterboard (JST TO C, https://github.com/Unified-Daughterboard/UDB-C-Legacy), and then connected it to the computer with USB A to C. However, on the computer, the device is not recognized at all. Am I wrong with the circuit configuration or the software configuration?

here's my settings

11.png22.png스크린샷 2024-08-12 032706.png

44.png33.png

This message appears in the debug below

Program received signal SIGINT, Interrupt.
USB_CoreReset (USBx=0x40040000) at C:/Users/USER/STM32CubeIDE/workspace_1.16.0/TEST/Drivers/STM32H7RSxx_HAL_Driver/Src/stm32h7rsxx_ll_usb.c:1426
1426 if (count > HAL_USB_TIMEOUT)

Program received signal SIGINT, Interrupt.
0x080048f6 in USB_CoreReset (USBx=0x40040000) at C:/Users/USER/STM32CubeIDE/workspace_1.16.0/TEST/Drivers/STM32H7RSxx_HAL_Driver/Src/stm32h7rsxx_ll_usb.c:1430
1430 } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST);

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

    Hi @cyn7 

    I'm not sure this JST connector is suitable to run at 60MHz. Maybe, USB PHY is not even clocked, or something is wrong with your hardware. Check line length matching maybe noise on VBUS, it is recommended to add a 100pF capacitor between VBUS and GND close to the Type-C connector.

    1 reply

    FBLAnswer
    Technical Moderator
    September 25, 2024

    Hi @cyn7 

    I'm not sure this JST connector is suitable to run at 60MHz. Maybe, USB PHY is not even clocked, or something is wrong with your hardware. Check line length matching maybe noise on VBUS, it is recommended to add a 100pF capacitor between VBUS and GND close to the Type-C connector.