how to reset PLL_POWER bit of PLL_SIC register

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to reset PLL_POWER bit of PLL_SIC register

426 Views
HuangJames
Contributor I

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.

Labels (1)
0 Kudos
1 Reply

403 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that you can power down the USBx_PHY with the PDRUNCFG0 register.

Pls refer to Table 311. Power configuration register 0 (PDRUNCFG0, offset = 0xB8) (Reset by: PoR, pin reset, Brown Out Detectors reset, deep-power down reset, software reset) in UM11126.pdf which is UM for LPC556x/552x.

The bit 11 in the register is PDEN_USBFSPHY, bit 12 is PDEN_USBHSPHY, setting the bit, USB PHY is powered-down, clearing the bit, USB  PHY is powered.

Hope it can help you

BR

XiangJun Rong

 

0 Kudos