STM32H5 USB internal PU resistor on USB DP line "floating"
Hello,
I've developed a custom board based on the STM32H573RI MCU. Everything on the board is operating properly except the USB C, which is far from working out of the box.
The problem that I'm experiencing is that after the initialization (enable the USB_BCDR_DPPU bit) of the USB driver the DP pin in not pulled high (3.3V), it's stays low/floating at 0.160V (which is different from the behaviour on the e.g Nulceo H503 board, where the DP pin is at expected 3.3V). The USB driver implementation is based on the following article:
How to use STMicroelectronics classic USB device m... - STMicroelectronics Community
The DP and DM pins are not shorted and from the CubeMX perspective the USB, both peripheral and pins, are configured with default values (e.g alternating function/no pull up for pins).
Screenshot of the USB connector:

Screenshot of the STM32 USB pins:

And here are screenshots from CubeMX configuration:



And the intialization of the USB from the code perspective:

If someone has an idea of what I did wrong or has an explanation why the DP pin stays low, I would appraciate any input. Thanks in advance!


