
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 system console to issue command for 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 EPC-R3720
Page 1: ...User Manual EPC R3720 NXP i MX 8M Plus Edge AI Box Computer...
Page 5: ...v EPC R3720 User Manual Contents...
Page 7: ......
Page 10: ...EPC R3720 User Manual 4...
Page 13: ...7 EPC R3720 User Manual Left Side Right Side...
Page 18: ...19 EPC R3720 User Manual Figure 2 2 Power LED Indicator Chapter 2 H W Installation...
Page 19: ...Chapter 3 3 Software Functionality This chapter details software functions on RSB 3720...
Page 38: ...Chapter 4 4 Embedded O S This chapter introduces how to build Linux systems...
Page 40: ...Chapter 5 5 System Recovery This chapter details system recov ery for damaged Linux OS...
Page 50: ...63 RSB 3720 User Manual Chapter 6 Advantech Services...