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 CCS Technical Support

rs232 wake up, max232 powered down?

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








rs232 wake up, max232 powered down?
PostPosted: Sun Feb 01, 2009 11:59 pm     Reply with quote

Hi List,

What would be the best way to wake up a PIC on RS232 cable connect, or start bit, or character receive, if the MAX232 chip is powered down to save power until the PIC is wake?

Thanks
Ttelmah
Guest







PostPosted: Mon Feb 02, 2009 4:20 am     Reply with quote

Think about it. If the MAX232 is powered down, how are you going to receive a character, or a start bit?.
The normal way to do this, is to have an opto-coupler, or resistive connection, to the DTR line, or RTS line, connecting to an input on the PIC. When whichever of these you want goes 'true', you enable your MAX232.

Best Wishes
asmallri



Joined: 12 Aug 2004
Posts: 1635
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: rs232 wake up, max232 powered down?
PostPosted: Mon Feb 02, 2009 7:02 am     Reply with quote

Anonymous wrote:
Hi List,

What would be the best way to wake up a PIC on RS232 cable connect, or start bit, or character receive, if the MAX232 chip is powered down to save power until the PIC is wake?

Thanks


Maxim have variants of the MAX232 chip that power down their voltage generation circuitry (standby mode). They will power up on detection of valid rs232 levels.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Guest








PostPosted: Mon Feb 02, 2009 2:48 pm     Reply with quote

what would the resistive connection to DTR, or RTS look like? what value resistor would be ok?

Right now the RTS goes to -6.25v when I connect the cable. What If I get a case where the driver of the line is swinging this -10v to 10v or -15v to 15v? Will the same resistor work?
Ttelmah
Guest







PostPosted: Mon Feb 02, 2009 3:09 pm     Reply with quote

Yes.
Something like 100K to the line, and 200K from the PIC pin to 5v. When disconnected, the PIC input will sit high (because of the 200K), when the line is connected, it'll pull down. The input protection diodes will prevent the line going more than 0.6v below the 0v rail.

Best Wishes
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