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

PIC18 explorer board 2nd rs232 port

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



Joined: 02 Jun 2010
Posts: 7

View user's profile Send private message

PIC18 explorer board 2nd rs232 port
PostPosted: Wed Jun 02, 2010 8:19 pm     Reply with quote

Hi, I just bought a PIC18 explorer board with a 18f8722, I was wondering if there was a way to use the second rs232 port from the MAX232.
It seems like Microchip has wired the second rx-tx from the Max232 to pin 1 and 2 on PORTB of the microcontroller. But PortB doesn't seem to be usable as a serial communication port.
Is there any way to use this second port? (I need 2 ports)
Thank you!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 03, 2010 9:57 am     Reply with quote

The connections for B1 and B2 are for RS-232 handshaking signals,
RTS and CTS. They are not a 2nd serial port.

The 2nd hardware UART is on pins G1 and G2 on the 18F8722.
According to the board schematic, they only go to header J5.
There is no on-board Max232 for them.

You could buy a "RS232 to TTL Converter Cable" and connect it to the
pins on J5. Here's an example of this type of cable:
http://www.superdroidrobots.com/product_info/RS232_TTL_Cables_09_19_06.pdf
http://www.superdroidrobots.com/rs232.htm

Or, you could add a Max232-type circuit in the prototyping area on the
board.
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