I do not really understand what you did in the last step, could you please elaborate. Does the USB peripheral not enter power down unless initialized first?
If my unused USB peripheral is wasting power i am interested in reducing that.
It appears that not configuring the USB peripheral leads to
excess power usage during power down.
First, I need to update my guidelines. I achieved low current
draw from the LPC2148 during power down by:
- Making sure my IO pins were not sinking current through their pullups.
- Eliminating all floating inputs.
- Turning off unused peripherals.
- Pulling the USB pin D+ to VCC with 1.5k Ohms.
- Pulling the USB pin D- to ground with 100k Ohms.
- Initializing the USB peripheral:
- Configure PLL1 to supply 48MHz, and wait for it to lock.
- Connect PLL1 to the USB peripheral.
- Wait for USBIntSt:usb_need_clk to go low.
- Disable the USB peripheral in PCONP.
I’ve re-drawn my boards to include these changes and I’ll investigate more on the new revision.