18
6. Communication port
Serial Port 1
(
COM1
)
COM1 supports RS232, and is often used to connect with PC for debugging.
DS2-45P5-A
、
DS2-47P5-A
1
5
(
5-pin port
)
Pin
Name
Description
1
TXD
RS232 send
2
RXD
RS232 receive
3
GND
RS232 ground
Caution
:
1. Please use the cable provided by XINJE company.
2. The types in the table cannot use RS232 (COM1) and RS485 (COM2) at
the same time.
The communication parameters of COM1 and COM2 will be changed at
the same time.
Serial Port
(
COM2
)
(
Pin: A
:
CN3-4, B
:
CN3-5
)
Communication parameters of COM2 can be set via P0-04.
Parameter
Number
Name
Default Setting
Range
P0-04.0
Baud rate
6
0
~
9
0
:
300
1
:
600
2
:
1200
3
:
2400
4
:
4800
5
:
9600
6
:
19200