Question
For STM32H563IIK6 USB Virtual configuration hanging in the code.
On Cubex Generated code, we added Virtual Com Port code.
But the code is going to Hard fault handler in USB_ActivateEndpoint.
HAL_StatusTypeDef USB_ActivateEndpoint(USB_DRD_TypeDef *USBx, USB_DRD_EPTypeDef *ep)
{
HAL_StatusTypeDef ret = HAL_OK;
uint32_t wEpRegVal;
wEpRegVal = PCD_GET_ENDPOINT(USBx, ep->num) & USB_EP_T_MASK;
Please can you suggest any thing is wrong.
