Difference between revisions of "UIO-4030"

From ESS-WIKI
Jump to: navigation, search
Line 36: Line 36:
 
pin#9: gpio 125, pin#10: gpio 126
 
pin#9: gpio 125, pin#10: gpio 126
 
pin#11: gpio 127, pin#12: 133</pre>
 
pin#11: gpio 127, pin#12: 133</pre>
 
'''================================================================================================================================='''
 
  
 
'''Watch Dog'''
 
'''Watch Dog'''
 
<pre>$ echo 1 > /dev/watchdog</pre>
 
<pre>$ echo 1 > /dev/watchdog</pre>

Revision as of 08:16, 27 October 2021

接口布局和尺寸(Layout and Sizes)

RTENOTITLE

RTENOTITLE


RTENOTITLE

Specifications 

RTENOTITLE

RTENOTITLE


測試方法: 

 Note: RS-232: /dev/ttymxc2 
 GPIO : need to connect loopback.
 RS-485: pin1 data- & pin2 data+ (ttyUSB0)

RS-232

$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts
$ cat /dev/ttymxc2 &
$ echo "Serial Port Test" > /dev/ttymxc2

RS485 :
    
Test RS-485 with Adam-4520.

$ stty -F /dev/ttyUSB0 115200
$ echo "Serial Test" > /dev/ttyUSB0


GPIO 

[EXTENSION I/O B]
pin#5: gpio 121, pin#6: gpio 122
pin#7: gpio 123, pin#8: gpio 124
pin#9: gpio 125, pin#10: gpio 126
pin#11: gpio 127, pin#12: 133

Watch Dog

$ echo 1 > /dev/watchdog