Skip to main content
Graduate
July 26, 2024
Question

Starting USB device in STM32H753I Eval 2 development board

  • July 26, 2024
  • 1 reply
  • 872 views

Hi 

We are trying to test USB Device - CDC standalone example with STM32H753i eval2 board. Our main.c code is enclosed herewith, 

Issue: if we call USBD_START() function in the main the LED Toggling code which is written below is not executing.

In Debug mode the system hangs at HAL_GPIO_WritePin.

If USBD_Start call is Commented, then Toggling of LED Observed in both run and debug modes.

Clock Configuration can be verified with the code.

Kindly share your suggestions.

 

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    August 8, 2024

    Hi @bsn_14 

    Could you please help us by reformulating the code to provide a minimal example that isolates the issue? We would like to see the essential parts of the code that are necessary.