CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Interrupt on Rising Edge at less than V logic high

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

Interrupt on Rising Edge at less than V logic high
PostPosted: Wed Mar 01, 2006 2:30 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Mar 01, 2006 2:54 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Mar 01, 2006 3:13 pm     Reply with quote

Ahhhh......

That makes sense.... I'll see if I can get it going.

Thanks,

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group