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

Wake on EXT isr question

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



Joined: 02 Dec 2003
Posts: 262

View user's profile Send private message

Wake on EXT isr question
PostPosted: Tue Dec 07, 2004 7:40 pm     Reply with quote

Can a pic detect a change (and then wake from sleep) on a port if it goes from no conection to ground ? (Float to Low) ?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Tue Dec 07, 2004 8:13 pm     Reply with quote

No connection can pick up stray noise and cause you to int when you don't want it. But to answer your question, it has to see the change so if the input were to go to ground then it would need to be high first. The only way to ensure this is to put it there.
iso9001



Joined: 02 Dec 2003
Posts: 262

View user's profile Send private message

PostPosted: Wed Dec 08, 2004 2:18 am     Reply with quote

Thats what i figured. Thanks,


Well.. I guess I could put a pullup on the line and then the int could be any change or L_to_H... problem is it will always be draining a little power then.

Maybe I could put some crazy high value resistor in there though. Is there a min value amperage value the pic can read ?

Ie: if I have 5V to a 100k resistor, obviously the strength of the signal will be low, but is there a "too low" amperage ?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Wed Dec 08, 2004 8:43 am     Reply with quote

The input impedance of the input is pretty high. What you are concerned with is noise affecting the signal. If the impedance is too high, then the noise could still affect the signal.
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