当前位置:网站首页>1. Mx6ul core module use serial -rs485 test (x)
1. Mx6ul core module use serial -rs485 test (x)
2022-07-26 02:02:00 【szembed】
The following is already in Iot-6ULX/EVB-6ULX The verification on the platform passed ,Iot-6ULX/EVB-6ULX Introduce the following :

9. RS485 test
The development board is equipped with 2 road RS485 Multiplex serial port . test RS485 A serial port , We use USB To RS485/RS422 converter UT-890 To test . The wiring diagram is as follows :

RS485 Connection diagram of transfer line
Before you start testing , Confirm that the corresponding jumper base on the development board has been correctly shorted .


COM2 RS485 Schematic diagram of test jumper short circuit


COM3 RS485 Schematic diagram of test jumper short circuit
stay PC End , Open the serial port debugging assistant , The setting description is shown in the following figure .

Serial assistant parameter settings
Execute the following instructions in the terminal , Execute the script to test the serial port , The test process is as follows “Ctrl+c” Terminate the test instruction :
[email protected] ~# ./tty_test -d /dev/ttymxc1 -m 1 -b 115200 -l -w "ttymxc1" // Execute... In the directory tty_test Program test equipment ttymxc1(COM2), The test parameter is baud rate 115200, The content of the data sent is ttymxc1.
After the terminal executes the test command , You can check auto send on the serial port assistant , Or choose to send data manually . Check whether the sending and receiving data of the terminal and the serial port assistant are consistent .

Terminal test information
By modifying the equipment serial number in the test command , Change the connection position of the adapter line , You can test another RS485 A serial port , The following is on the development board RS485 Serial port corresponding device name and test instructions .
surface 4-1 RS485 Serial port test instructions
Serial port coding | Device number | Test instruction |
COM2 | ttymxc1 | ./tty_test -d /dev/ttymxc1 -m 1 -b 115200 -l -w "ttymxc1" |
COM3 | ttymxc2 | ./tty_test -d /dev/ttymxc2 -m 1 -b 115200 -l -w "ttymxc2" |
边栏推荐
- 推荐系统-协同过滤在Spark中的实现
- How to display numbers / English time in Excel
- [in simple terms, play with FPGA learning 11 --- testbench writing skills 2]
- 我mysql to mysql数据表同步,代码上只有写在第一个顺序上的生效 其余的不生效,这个可能是
- Phoenix中常用shell操作
- MySQL transaction isolation level
- F. Equal multisets (greedy)
- TI AM335x工控模块网络跟文件系统NFS的实现
- Redis6.x配置参数详解
- Relationship between HTC mobile official solution, s-on/s-off and super CID
猜你喜欢
![[Verilog digital system design (Xia Yuwen) 4 ----- basic concepts of Verilog syntax 2]](/img/fe/746ecaf4123072cca59d7510e9796c.png)
[Verilog digital system design (Xia Yuwen) 4 ----- basic concepts of Verilog syntax 2]

Navica工具把远程MySQL导入到本地MySQL数据库

【独立站建设】shopify卖家:学会这几点,网上商店销量翻倍!

Ti AM335X工控模块矩阵键盘电路的设计与驱动移植

I.MX6UL核心模块使用连载-USB接口测试 (六)

还在用==0 null equal 判断空值吗,对isEmpty 和 isBlank有多少了解呢

After reading this article, you should thoroughly understand how to do interface testing

I.MX6UL核心模块使用连载-查看系统信息 (二)

BGP知识点总结

【2021】【论文笔记】6G技术愿景——OTFS调制技术
随机推荐
HTC手机官解、S-ON/S-OFF与超级CID的关系
大佬们, flinksql datahub源表,源表有字段 timestamp 16位, 写入Ora
E2. escape the maze (hard version)
Build embedded development environment and FRP penetration under win
【独立站建设】shopify卖家:学会这几点,网上商店销量翻倍!
【Verilog数字系统设计(夏宇闻)3-----Verilog语法的基本概念1】
Leetcode algorithm 147. insert and sort the linked list
Worthington产气荚膜梭菌神经氨酸酶的特征及测定
劳驾问一下各位老师 oracle 到pg cdc oracle 那边字段大写 pg 这边小写 同
Implementation of recommendation system collaborative filtering in spark
Qt程序美化之样式表的使用方法,Qt使用图片作为背景与控件透明化,Qt自定义按钮样式
【深入浅出玩转FPGA学习11----Testbench书写技巧1】
F. Equal multisets (greedy)
Navica tool imports remote MySQL into local MySQL database
Common shell operations in Phoenix
E. OpenStreetMap (2D monotone queue)
MPLS知识点
(CVPR 2019) GSPN: Generative Shape Proposal Network for 3D Instance Segmentation in Point Cloud
[C language brush leetcode] 814. Binary tree pruning (m)
Implementation of C iterator
