I know this is an old thread, but I'm having the same issue. I believe my problem is with USB signal integrity. In my case, I changed layers on the USB traces on a 4-layer board with a ground and power plane. The return path for the USB signals has t...
Khouloud,That was the problem exactly. I was set to "Output Compare Cx CNx", not the PWM mode. Once I changed it, it is working fine.Maybe I get an award for the most baseless post of the week?Thanks for you help!David Walker
Khouloud,It is attached. Note that I manually changed the .ioc file to include the correct PWM parameters and the STM32Cube generates the correct code. Its just that now the STM32Cube program complains about invalid properties with the configuration ...