Hello
On the prototyping board for the use of serial port TXC and RXC it necessary to configure the JP2 .
I don’t find the instructions for configure the jumper on JP2
It’s necessary to active the serial port with:
BitWrPortI(PEDR, &PEDRShadow, 0, 5); //set low to enable rs232 device
Thanks for the help.
Here’s the schematic for the RCM3600/RCM3700 Prototyping Board.
You can use JP2 to connect PG6/PG7 (TXE/RXE) to either the RS232 transceiver (by connecting 1-3 and 2-4 on JP2) or to a RS485 transceiver (by connecting 3-5 and 4-6).
You only need to place jumpers on JP2 if you’re making use of PG6/PG7 on your RS232 serial port, perhaps as CTS/RTS, DTR/DSR, or another serial port. Otherwise leave the jumpers out and just make use of TXC/RXC directly.
Make sure you set PE5 to be an output, in addition to setting the Data Register:
BitWrPortI(PEDDR, &PEDDRShadow, 1, 5); //set RS232 enable pin as output
Thank you for the response
Actually on the prototyping boad i have jumper in 1-3 and 2-4
So i have just to take off this two jumper for use the TXC and RXC
Thanks for the help
The jumper setting shouldn’t have any impact on using TXC and RXC. It’s only used for routing TXE and RXE.