cancel
Showing results for 
Search instead for 
Did you mean: 

Starting USB device in STM32H753I Eval 2 development board

bsn_14
Associate II

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.

 

 

1 REPLY 1
FBL
ST Employee

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.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.