Difference between revisions of "EPC-R7200-UIO"
From ESS-WIKI
Jems.cheng (talk | contribs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
[[File:EPC-R7200 PCA6416.jpg|800px|RTENOTITLE]] | [[File:EPC-R7200 PCA6416.jpg|800px|RTENOTITLE]] | ||
− | 這兩根由uIO_ID_SW控制,pull high則使用uIO_GPIO11_I2C/uIO_GPIO12_I2C, | + | 這兩根由uIO_ID_SW控制,pull high則使用uIO_GPIO11_I2C/uIO_GPIO12_I2C, pull low則使用GPIO_SCL/GPIO_SDA |
[[File:EPC-R7200 TS3USB221ARSER.jpg|800px|RTENOTITLE]]] | [[File:EPC-R7200 TS3USB221ARSER.jpg|800px|RTENOTITLE]]] | ||
Line 50: | Line 50: | ||
GPIO11/12 function needs to export GPIO 511 and set to 1(High). | GPIO11/12 function needs to export GPIO 511 and set to 1(High). | ||
− | UIO-4030: <br/> RS-232: /dev/ttyUSB1<br/> RS-485: /dev/ttyUSB0<br/> | + | UIO-4030: <br/> RS-232(COM_3): /dev/ttyUSB1<br/> RS-485(COM_4): /dev/ttyUSB0<br/> |
<div id="gtx-trans" style="position: absolute; left: -18px; top: 1217.33px;"><div class="gtx-trans-icon"> </div> </div> | <div id="gtx-trans" style="position: absolute; left: -18px; top: 1217.33px;"><div class="gtx-trans-icon"> </div> </div> |
Latest revision as of 08:24, 25 October 2023
EPC-R7200 UIO 中的 uIO_GPIO11、uIO_GPIO12如下
這兩根由uIO_ID_SW控制,pull high則使用uIO_GPIO11_I2C/uIO_GPIO12_I2C, pull low則使用GPIO_SCL/GPIO_SDA
在TX2中
P0_0~P1_7對應的GPIO為 240~255 (新版本硬體)
ubuntu@localhost:~$ sudo cat /sys/kernel/debug/gpio gpiochip2: GPIOs 240-255, parent: i2c/7-0021, tca6416, can sleep:
PS : 舊版本硬體的GPIO11/GPIO12之GPIO為476/278
Xavier NX GPIO:
uIO_GPIO5 - P0_2 234 uIO_GPIO6 - P0_3 235 uIO_GPIO7 - P0_4 236 uIO_GPIO8 - P0_5 237 uIO_GPIO9 - P0_6 238 uIO_GPIO10 - P0_7 239 uIO_GPIO11 – P1_5 245 uIO_GPIO12 – P1_6 246
GPIO11/12 function needs to export GPIO 247 and set to 1(High).
TX2 GPIO :
uIO_GPIO5 - P0_2 242 uIO_GPIO6 - P0_3 243 uIO_GPIO7 - P0_4 244 uIO_GPIO8 - P0_5 245 uIO_GPIO9 - P0_6 246 uIO_GPIO10 - P0_7 247 uIO_GPIO11 – P1_5 253 uIO_GPIO12 – P1_6 254
GPIO11/12 function needs to export GPIO 255 and set to 1(High).
Nano GPIO :
uIO_GPIO5 - P0_2 498 uIO_GPIO6 - P0_3 499 uIO_GPIO7 - P0_4 500 uIO_GPIO8 - P0_5 501 uIO_GPIO9 - P0_6 502 uIO_GPIO10 - P0_7 503 uIO_GPIO11 – P1_5 509 uIO_GPIO12 – P1_6 510
GPIO11/12 function needs to export GPIO 511 and set to 1(High).
UIO-4030:
RS-232(COM_3): /dev/ttyUSB1
RS-485(COM_4): /dev/ttyUSB0