当前位置:网站首页>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" |
边栏推荐
- 登堂入室soc之编程基础环境变量设置
- AttributeError: ‘Document‘ object has no attribute ‘pageCount‘
- DQN Pytorch示例
- SQL manual blind injection and error reporting injection
- [Verilog digital system design (Xia Yuwen) 3 ----- basic concepts of Verilog syntax 1]
- I.MX6UL核心模块使用连载-以太网测试 (七)
- BGP知识点总结
- Remember a laravel problem script @php artist package:discover handling the post autoload dump event returned with
- Create a future and enjoy extraordinary | gbase Nantah General Motors unveiled opengauss Developer Day 2022
- 《穷爸爸与富爸爸》读后小结
猜你喜欢

【2021】【论文笔记】6G技术愿景——OTFS调制技术

How to use the pagoda panel to deploy the full stack project of node to the server

Worthington核酸酶、微球菌相关研究及测定方案

D. Rating compression (thinking + double pointer)

SVN version control branch and merge function use

CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"

Worthington木瓜蛋白酶丨从纯化的蛋白聚糖生产糖肽(附文献)

6 + 1 skills of Software Test Engineer
SQL injection tutorial: learn through examples

# Dest0g3 520迎新赛(更新中)
随机推荐
I.MX6UL核心模块使用连载-eMMC读写测试 (四)
Kaggle registration method to solve the problem of man-machine verification
Remember a laravel problem script @php artist package:discover handling the post autoload dump event returned with
Guys, the flinksql datahub source table has a field timestamp 16 bits, which is written to ora
I.MX6UL核心模块使用连载-以太网测试 (七)
I.MX6UL核心模块使用连载-触摸屏校准 (九)
Overview of database stress testing methods
What is cross site scripting (XSS)?
pt-onnx-ncnn转换的问题记录(接yolov5训练)
[C language brush leetcode] 1462. curriculum IV (m)
[C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
《穷爸爸与富爸爸》读后小结
D. Permutation restoration (greedy + double pointer)
I.MX6UL核心模块使用连载-RS485测试 (十)
Composition API的优势
[C language brush leetcode] 443. Compressed string (m)
MPLS knowledge points
vite 本地运行首次进入页面加载慢问题
npm ERR! code ETIMEDOUTnpm ERR! syscall connectnpm ERR! errno ETIMEDOUTnpm ERR! network request t
Detailed explanation of redis6.x configuration parameters
