Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
Interrupt on Rising Edge at less than V logic high
Posted: Wed Mar 01, 2006 2:30 pm
Hello All,
I apologize for a request for some spoon feeding but I'm not even sure which terminology to search on.
I need to wake a 18F4620 on a rising edge at a V level less than the standard Logic High V. I understand that can be done with the CCP module but I'm not sure where to start.
Can someone point me in the right direction?
Thanks,
John
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Wed Mar 01, 2006 2:54 pm
You don't do this with the CCP module but with a combination of the Comperator Voltage Reference Module (CVRM) and the Comparator Module (CM).
The CVRM allows you to select a reference voltage for the CM. Configure the CM to have the reference voltage on one of it's two input pins and connect your input signal to the other pin. When the supply voltage rises above the reference voltage the CM will trigger and wake the CPU.
jecottrell
Joined: 16 Jan 2005 Posts: 559 Location: Tucson, AZ
Posted: Wed Mar 01, 2006 3:13 pm
Ahhhh......
That makes sense.... I'll see if I can get it going.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum