
3 - 12
emPC-A/RPI3
(
Hardware and
Software Manual)
•
Installation
©
Janz Tec AG
Rev. 1.3
3.2.5
Console (RS232)
The RS232 (Console) serial interface is provided by Raspberry PI board. The connector is a standard
9 pin D-SUB plug, but the interface is connected with two wires only, table 4 shows the pin out.
9pin male D-Sub
1 n.c.
6 n.c.
2 RxD
7 n.c.
3 TxD
8 n.c.
4 n.c.
9 n.c.
5 GND
table 4: Console (RS232) connector
3.2.6
Serial Port (RS232/RS485)
The Serial Port is implemented by SC16IS740 UART. A multiprotocol transceiver is utilized to support
both RS232 and RS485. The interface signals are located on the multi connector, refer to table 5.
1
2
15
16
15 TxD , D-
16 RTS , D+
17 RxD
18 CTS
19 GND
20
table 5: Serial Port connector pins
RS232 mode is selected by shorting jumper J301, else RS485 mode is selected. The case has to be
opened to access this jumper.
In RS232 mode, the signals TxD (out), RxD (in), RTS (out) and CTS (in) are provided.
In the RS485 mode the bidirectional differential signals D+ and D- are provided. When the transmitter
is enabled and no data is send (1=MARK), then D+ > D- (refer to figure 4).
Note that D+ corresponds to pin “A” of the transceiver chip. However this is signal B according to the
EIA-485 or Profibus standards.
The receiver has the fail safe input feature, which ensures that no data is received when D+ and D-
are floating or are shorted (e.g. by the termination resistor).
Refer to section 6 (Programming Information) for more information about RS485 control.
An internal 120 Ohm termination resistor can be enabled between D+ and D- by shorting jumper J300.
The case has to be opened to access this jumper.
3.2.7
CAN
The CAN interface is implemented with a MCP2515 controller chip. The interfaces is located on the
multi connector, refer to table 6. The CAN interface signals support ISO 11898-2 (high speed) and are
isolated from system logic.
D+
D-
1 = Mark
0 = Space
1 = Mark
Transmitter
idle
Startbit
Databit 0
Transmitter
tristate
"0V"
Voh
Vol
figure 4: RS485 signaling
1
6