Showing results for 
Search instead for 
Did you mean: 

NUCLEO-H743ZI2 USB Device not working with standard USB OTG configuration

Associate III

I tried to port some code from an STM32F4 development board to an STM32H743 NUCLEO development board. I noticed that the code for the USB Mass Storage Device Class was no longer working. After spending hours of troubleshooting I found out that the "Battery charging" option in the USB_OTG_FS Parameter Settings needs to be disabled to make it work. I freshly generated the code in CubeIDE for the new project with default settings and only took over my user code (which is working fine).

Why is the board behaving this way? Am I doing something wrong or am I misunderstanding something? And why is this option enabled by default?