“MATX-6983 COM”的版本间的差异
来自ARM Wiki
Wangqiuyun(讨论 | 贡献) (创建页面,内容为“600px|缩略图|MATX-6983 COM1,COM3-6,COM7-10 ===== COM3-6: ===== {| class="wikitable" |- ! 信号名称 !! Pi...”) |
Wangdongquan(讨论 | 贡献) |
||
(未显示另一用户的1个中间版本) | |||
第11行: | 第11行: | ||
| DB9_UART0_TXD || 5 || 6 || NC | | DB9_UART0_TXD || 5 || 6 || NC | ||
|- | |- | ||
− | | NC || 7 || 8 NC | + | | NC || 7 || 8 || NC |
|- | |- | ||
| GND || 9 || 10 || COM_PIN10 | | GND || 9 || 10 || COM_PIN10 | ||
第91行: | 第91行: | ||
| GND || 39 || 40 || COM_PIN10 | | GND || 39 || 40 || COM_PIN10 | ||
|} | |} | ||
+ | ===== linux下各串口对应节点: ===== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! 串口 !! 对应节点 | ||
+ | |- | ||
+ | | COM1 || ttyS4 | ||
+ | |- | ||
+ | | COM2 || ttyS5 | ||
+ | |- | ||
+ | | COM3 || ttyS0 | ||
+ | |- | ||
+ | | COM4 || ttyS1 | ||
+ | |- | ||
+ | | COM5 || ttyS2 | ||
+ | |- | ||
+ | | COM6 || ttyS3 | ||
+ | |- | ||
+ | | COM7 || ttyS6 | ||
+ | |- | ||
+ | | COM8 || ttyS7 | ||
+ | |- | ||
+ | | COM9 || ttyS8 | ||
+ | |- | ||
+ | | COM10 || ttyS9 | ||
+ | |} | ||
+ | 注:若发现COM1和COM2不通讯,可通过更改串口irq后再测试串口是否通讯,更改方法 | ||
+ | setsetial /dev/ttyS4 irq 0 | ||
+ | setsetial /dev/ttyS5 irq 0 |
2021年6月23日 (三) 13:23的最新版本
COM3-6:
信号名称 | Pin | Pin | 信号名称 |
---|---|---|---|
NC | 1 | 2 | NC |
DB9_UART0_RXD | 3 | 4 | NC |
DB9_UART0_TXD | 5 | 6 | NC |
NC | 7 | 8 | NC |
GND | 9 | 10 | COM_PIN10 |
NC | 11 | 12 | NC |
CPU0_UART1_RXD_L | 13 | 14 | NC |
CPU0_UART1_TXD_R | 15 | 16 | NC |
NC | 17 | 18 | NC |
GND | 19 | 20 | COM_PIN10 |
NC | 21 | 22 | NC |
CTS_UART2_RXD_N | 23 | 24 | NC |
RTS_UART2_TXD_N | 25 | 26 | NC |
NC | 27 | 28 | NC |
GND | 29 | 30 | COM_PIN10 |
NC | 31 | 32 | NC |
CPU0_UART3_RXD_L | 33 | 34 | NC |
CPU0_UART3_TXD_R | 35 | 36 | NC |
NC | 37 | 38 | NC |
GND | 39 | 40 | COM_PIN10 |
COM7-10:
信号名称 | Pin | Pin | 信号名称 |
---|---|---|---|
HDCD#3 | 1 | 2 | HDSR#3 |
HSIN3 | 3 | 4 | HRTS#3 |
HSOUT3 | 5 | 6 | HCTS#3 |
HDTR#3 | 7 | 8 | HRI#3 |
GND | 9 | 10 | COM_PIN10 |
HDCD#4 | 11 | 12 | HDSR#4 |
HSIN4 | 13 | 14 | HRTS#4 |
HSOUT4 | 15 | 16 | HCTS#4 |
HDTR#4 | 17 | 18 | HRI#4 |
GND | 19 | 20 | COM_PIN10 |
HDCD#5 | 21 | 22 | HDSR#5 |
HSIN5 | 23 | 24 | HRTS#5 |
HSOUT5 | 25 | 26 | HCTS#5 |
HDTR#5 | 27 | 28 | HRI#5 |
GND | 29 | 30 | COM_PIN10 |
HDCD#6 | 31 | 32 | HDSR#6 |
HSIN6 | 33 | 34 | HRTS#6 |
HSOUT6 | 35 | 36 | HCTS#6 |
HDTR#6 | 37 | 38 | HRI#6 |
GND | 39 | 40 | COM_PIN10 |
linux下各串口对应节点:
串口 | 对应节点 |
---|---|
COM1 | ttyS4 |
COM2 | ttyS5 |
COM3 | ttyS0 |
COM4 | ttyS1 |
COM5 | ttyS2 |
COM6 | ttyS3 |
COM7 | ttyS6 |
COM8 | ttyS7 |
COM9 | ttyS8 |
COM10 | ttyS9 |
注:若发现COM1和COM2不通讯,可通过更改串口irq后再测试串口是否通讯,更改方法
setsetial /dev/ttyS4 irq 0 setsetial /dev/ttyS5 irq 0