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
Posted: Thu Jun 03, 2010 9:57 am
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 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