RSB-3720 User Manual
38
3.5
Serial Port
For COM1 serial port pin definition, please refer to previous chapter 2.4.2.4 for more
information.
3.5.1
RS-232 Loopback Test (eg. ttymxc1)
3.5.2
RS-422 Test
Step 1: First change the debug console port to UART2 (UIO-4032 COM_3), or use
telnet to login to the system console to issue the command for the com port test.
Step 2: Set both GPIO#496, GPIO#497, set as 1, 1 for RS-422.
Step 3: Test RS-422 with Adam-4520. Connect Adam-4520 with COM1 with
1700100250 DB9 as the following:
Adam-4520 RX- <--> DB9 Pin 1, Adam-4520 RX+ <-->DB9 Pin 2, Adam-4520 TX- <-
->DB9 Pin 4, Adam-4520 TX+ <--> DB9 Pin 3
# stty -F /dev/ttymxc1 -echo -onlcr 115200
# cat /dev/ttymxc1 &
# echo "Serial Port Test" > /dev/ttymxc1
u-boot=>
u-boot=> editenv console
edit: ttymxc1,115200
# echo 496 > /sys/class/gpio/export
# echo 497 > /sys/class/gpio/export
# echo out > /sys/class/gpio/gpio1/direction
# echo out > /sys/class/gpio/gpio2/direction
# echo 1 > /sys/class/gpio/gpio1/value
# echo 1 > /sys/class/gpio/gpio2/value
# stty -F /dev/ttymxc2 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -
iexten -echo -echoe -echok -echoctl -echoke
# cat /dev/ttymxc2 &
# echo "Serial Test" > /dev/ttymxc2
Summary of Contents for RSB-3720
Page 2: ...User Manual RSB 3720 NXP i MX8M Plus Cortex A53 2 5 SBC with UIO40 Express...
Page 7: ...RSB 3720 User Manual vi...
Page 11: ...RSB 3720 User Manual x...
Page 15: ...RSB 3720 User Manual 4 1 1 5 Block Diagram...
Page 17: ...RSB 3720 User Manual 6 2 1 Jumper and Connector Locations...
Page 42: ...Chapter 3 3 Software Functionality This chapter details software functions on the RSB 3720...
Page 61: ...RSB 3720 User Manual 50...
Page 62: ...Chapter 4 4 Embedded O S This chapter details instructions for building Linux systems...
Page 74: ...63 RSB 3720 User Manual Chapter 6 Advantech Services...