STM32L552 USB CDC not working with HAL V. 1.4.0. /Cube 6.3.0
We created a new project with STM32L552 using STM3CubeMX V. 6.3.0 and HAL Version 1.4.0.
We activated Middleware USB CDC and used the identical software add-ons as in the last project for the same processor. The last project was done using HAL V. 1.2.0. and worked perfectly.
Now with the new release we can not get the CFC to work.
After all initialisations are done, the USB port state is set to "Suspended".
The PC can not connect to the USB device via VCP. (USB Device was not detected)
The error message on the PC appears as soon as
USB_DevConnect(hpcd->Instance);
is called in HAL_PCD_Start().
Has anybody an idea what could be the reason?