Hi,
Read section 24.0.
There is an on-board High Low Voltage Detection module present on the chip you are talking about.
You can use an external analogue input or the dedicated HLVD pin. Causes an interrupt. Store your values to the eeprom in the int itself. A high priority int would not int itself.
Take care not to get trapped by brownouts that affect your circuit but not the machine.
Shut off outputs turn off peripherals within 1uS and have ample time
Put an LED and see that the 2200 storage cap can give you over 2 seconds. You are asking for 20mS....
I used it as last memory for an industrial depth counter. Otherwise the eeprom could have weared out in a week. Not on 4550 though another PIC18.
PBP does not support oscillator switching, if you can handle it things become more sweeter... in terms of SLEEP.
Your PIC gets more ..... you get less, implementing it.![]()




Bookmarks