User manual

6.4. Serial port
Serial port UART2 is connected to the standard RS232 header. Serial port UART0 can optionally be connected to the RS232 transceiver
by moving option resistors. The connections to be moved are listed in the Table 6-3.
Description Function Microcontroller
Port Pin
Fit for RS232 Remove for RS232
UART0 Spare Serial Port (TX) 52 (Port 1, bit 4) R58, R71 R56, R54, R70
UART0 Spare Serial Port (RX) 51 (Port 1, bit 5) R59, R73 R57, R55, R72
UART1 Spare Serial Port (TX) 74 (Port 6, bit 3) R52 R56
UART1 Spare Serial Port (RX) 73 (Port 6, bit 4) R53 R57
UART2 Default serial port (TX) 19 (Port 3, bit 7) R56, R84 R58, R54, R85
UART2 Default serial port (RX) 21 (Port 3, bit 4) R57, R78 R59, R55, R79
Table 6-3: Serial port settings
The serial channel UART0 can also be accessed at J3 and JA6; UART1 can be accessed at J4 and JA6; UART2 can be accessed at JA2
and J1, J2.
The board is designed to accept a straight-through RS-232 male-to-female cable.
Serial port UART1 can be connected to a 0.1” header, ‘J8’ by fitting 0 link resistors to R52 and R53.
The UART0 port is shared with the LIN module. For more details please refer to the section 6.6.
6.5. Debug LCD Module
A debug LCD module is supplied to be connected to the connector LCD. This should be fitted so that the debug LCD module lies over J3.
Care should be taken to ensure the pins are inserted correctly into LCD. The debug LCD module uses a 4 bit interface to reduce the pin
allocation. No contrast control is provided; this is set by a resistor on the supplied display module.
Table 6-4 shows the pin allocation and signal names used on this connector.
The module supplied with the RSK board only supports 5V operation.
LCD
Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin
1 Ground - 2 5V -
3 No Connection - 4 DLCDRS 78 (Port 9, bit 5)
5 R/W (Wired to write only
using 10K pull down))
- 6 DLCDE (+ 100k pull
down to ground)
79 (Port 9, bit 4)
7 No Connection - 8 No Connection -
9 No Connection - 10 No Connection -
11 DLCDD4 34 (Port 9, bit 0) 12 DLCDD5 33 (Port 9, bit 1)
13 DLCDD6 32 (Port 9, bit 2) 14 DLCDD7 31 (Port 9, bit 3)
Table 6-4: Debug LCD Module Connections
8