View previous topic :: View next topic |
Author |
Message |
soulweed
Joined: 20 Oct 2006 Posts: 23
|
USART |
Posted: Fri Oct 20, 2006 6:07 am |
|
|
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? |
|
|
Neckruin
Joined: 17 Jan 2006 Posts: 66
|
|
Posted: Fri Oct 20, 2006 6:11 am |
|
|
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
|
|
Posted: Fri Oct 20, 2006 6:25 am |
|
|
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
|
|
Posted: Fri Oct 20, 2006 12:43 pm |
|
|
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 |
|
|
|