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

USART

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



Joined: 20 Oct 2006
Posts: 23

View user's profile Send private message

USART
PostPosted: Fri Oct 20, 2006 6:07 am     Reply with quote

Dear all ,I have some problem.
i want to use two rs232 in one PIC18F452

rs232 #1 i connect to D.O. meter(it support that)
rs232 #2 i must connect to Embedded ethernet module(it name Charon module)


What can i do? Rolling Eyes
Neckruin



Joined: 17 Jan 2006
Posts: 66

View user's profile Send private message

PostPosted: Fri Oct 20, 2006 6:11 am     Reply with quote

I think RS-232 does not support multinode configurations (I think). You may need to use more than one external transceiver and selecting them by some kind of enable signals...
Is just a suggestion.

Good Luck,

Juanma
asmallri



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

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

PostPosted: Fri Oct 20, 2006 6:25 am     Reply with quote

You can use a software UART for one and a hardware UART for the other.

Read the #use rs232 directive in the manual - it explains how to do it.
_________________
Regards, Andrew

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



Joined: 20 Oct 2006
Posts: 23

View user's profile Send private message

PostPosted: Fri Oct 20, 2006 12:43 pm     Reply with quote

asmallri wrote:
You can use a software UART for one and a hardware UART for the other.

Read the #use rs232 directive in the manual - it explains how to do it.



Yes,I think it too.

please show a example for me
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