Hi support:
There are 50ma current after set PLL_POWER bit of PLL_SIC register when the function of USB_DeviceApplicationInit is called. I want to reset PLL_POWER bit of PLL_SIC register after usb is plugged out.
But the PLL_POWER bit of PLL_SIC register can not be reset when USB1_IRQHandler is triggered by Usb plugged out. code as blow:
USBPHY->PLL_SIC_SET &= 0xFFFFEFFF;
The bit of PLL_POWER discription is
Power PLL: Power up the USB PLL. The real PLL power up is also controlled by hardware. Hardware will power down PLL when USB issuspended and the device doesn’t use it.
The bit of PLL_LOCK is 1.
I want to know how to reset PLL_POWER bit of PLL_SIC register after usb is plugged out.
Thanks.