I am using the STM32F723 with custom, self-powered PCB interfaced to a host using USB HS. Everything worked fine with with CubeMX 6.12, but after upgrading to more recent versions, I noticed that the following functions are no longer generated within HAL_PCD_MspInit() (file usbd_conf.c):
__HAL_RCC_USB_OTG_HS_CLK_ENABLE();
__HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE();
and also the corresponding clock-disabling functions in HAL_PCD_MspDeInit(). If I manually re-insert these calls, everything works again.
Anyone knows the reason why these functions are not generated, and if I am missing any USB_HS setting in more recent CubeMX versions that should be taking care of this issue? Thanks!