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

two rs232 at same time!!

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







two rs232 at same time!!
PostPosted: Thu Aug 26, 2004 9:08 am     Reply with quote

Hi, is it possible to drive two rs232 ports on one chip AT THE SAME TIME? that means if one port has to send some data,the other port is already able to receive any other data. such as non-blocking ports? is that possible, and is ther any code for that=? thanx for ur answers...
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu Aug 26, 2004 9:59 am     Reply with quote

If one port has a hardware UART it should work fine. If both are software UARTs the CCS functions won't do it. If you are clever it should be possible to write your own that would work.
_________________
The search for better is endless. Instead simply find very good and get the job done.
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Aug 26, 2004 10:20 am     Reply with quote

I would go a step further and say, try to find a PIC with 2 hardware USARTS. Then you get the advantage of two bytes of RX buffer space. 1byte per USART.
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