SX48 want sleep
Hi, Im trying to put the SX48 into sleep mode. Im assuming I just use SLEEP command. Im running at 4MHZ internal. When programmed I read 7mA which is normal current for 4MHZ operation.
Sleep clock is disabled. any ideas what Im doing wrong
thanks
·
Sleep clock is disabled. any ideas what Im doing wrong
thanks
·
Comments
1. Make all port bits outputs, low, so they are not sourcing any current.
2. Eventhough only 4 bits of portA are pinned out on the SX48, all 8 bits are active so turn them into outputs.... you can actually also use them as flags.
3. Pull RTCC to ground.
4. Make the MCLR/ resistor to Vcc 1 Megohm or more
5. Turn WDT off.
6. Keep SLEEPCLOCK off during sleep.
7. Run on 3 Volts of power
8. When you do all this, you will have a sleep current of 1 micro Amp or so.
Cheers,
Peter (pjv)
some pins I have to have High as there connected to other devices to put them in low power mode.
RTC is tired high directly to VCC, no resistor, does this need to be low for sleep.!. If IO lines are set for input with pullups on, there should on be bias currents of a few micro amps Im assuming.