I had this problem and solved it by setting the USB clock frequency to 48MHz. In application note AN4879, section 2.4 Clock, it mentions that the USB needs a precise 48MHz clock. I looked at the clock section of the ioc interface of STM32CubeIDE and ...
Thanks, that was very helpful, but I had to clear out just about all the meta data to get the ioc file to load correctly again. I am using Linux Kubuntu 22.04.1 and STM32CubeIDE 1.15.0. I was getting the same problem.After closing or killing all stm3...