STM32F756 USB and WFI
I have a problem with STM32F756 USB CDC (HS with FS PHY) device and core sleeping. I isolated all other code and left only the USB driver and main loop calling WFI instruction. If there is no call to WFI, USB is working properly, but if I call WFI in the main loop, USB stops responding. USB clock is not stopped on entering in sleep. Any advise?
#__wfi #stm32f7 #sleep #usb