返回列表 发新帖
查看: 1942|回复: 0
打印 上一主题 下一主题

MY-IMX6-EK200 Linux-4.1.15 测试手册(2)

[复制链接]
跳转到指定楼层
楼主
发表于 2019-4-24 14:41:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
关键词: imx6 , 明远智睿 , 核心板 , 开发板 , 嵌入式
【接上一章节MY-IMX6-EK200 Linux-4.1.15 测试手册(1)】

8  串口测试
8.1  UART2
位置:J1:7,9
设备:/dev/ttymxc1
测试指令
# /my-demo/linux-4.1.15/MY_SERIAL_TEST_L4115_MYIMX6A9.out /dev/ttymxc1 "www.myzr.com.cn"  
  
Welcome to TTYtest  
  
Send test data------www.myzr.com.cn[/url]  
read char is w   
read char is w   
read char is w   
read char is .   
read char is m   
read char is y   
read char is z   
read char is r   
read char is .   
read char is c   
read char is o   
read char is m   
read char is .   
read char is c   
read char is n   
Read Test Data finished,Read Test Data is-------www.myzr.com.cn  

8.2  UART3
位置:J1:11,13
设备:/dev/ttymxc2
测试指令
# /my-demo/linux-4.1.15/MY_SERIAL_TEST_L4115_MYIMX6A9.out /dev/ttymxc2"www.myzr.com.cn"  
  
Welcome to TTYtest  
  
Send test data------www.myzr.com.cn  
read char is w   
read char is w   
read char is w   
read char is .   
read char is m   
read char is y   
read char is z   
read char is r   
read char is .   
read char is c   
read char is o   
read char is m   
read char is .   
read char is c   
read char is n   
Read Test Data finished,Read Test Data is-------www.myzr.com.cn

8.3  UART4
位置:J1:15,17
设备:/dev/ttymxc3
测试指令
# /my-demo/linux-4.1.15/MY_SERIAL_TEST_L4115_MYIMX6A9.out /dev/ttymxc3 "www.myzr.com.cn"  
  
Welcome to TTYtest  
  
Send test data------www.myzr.com.cn  
read char is w   
read char is w   
read char is w   
read char is .   
read char is m   
read char is y   
read char is z   
read char is r   
read char is .   
read char is c   
read char is o   
read char is m   
read char is .   
read char is c   
read char is n   
Read Test Data finished,Read Test Data is-------www.myzr.com.cn

8.4  UART5
位置:J1:16,18
设备:/dev/ttymxc4
测试指令
# /my-demo/linux-4.1.15/MY_SERIAL_TEST_L4115_MYIMX6A9.out /dev/ttymxc4 "www.myzr.com.cn"  
  
Welcome to TTYtest  
  
Send test data------[url]www.myzr.com.cn  
read char is w   
read char is w   
read char is w   
read char is .   
read char is m   
read char is y   
read char is z   
read char is r   
read char is .   
read char is c   
read char is o   
read char is m   
read char is .   
read char is c   
read char is n   
Read Test Data finished,Read Test Data is-------www.myzr.com.cn

9  CAN 测试
测试准备
将CAN1的CAN_L与CAN2的CAN_L连接;将CAN1的CAN_H与CAN2的CAN_H连接。
配置 CAN1 (can0)
# ip link set can0 up type can bitrate 125000
配置 CAN2 (can1)
# ip link set can1 up type can bitrate 125000
CAN1 (can0) 后台接收
# candump can0 &
CAN2 (can1) 发送数据
# cansend can1 1F334455#1122334455667788

10  SPI测试
10.1  ECSPI1 测试
位置:J7:7,9
测试设备:/dev/spidev0.1
测试指令
# /my-demo/linux-4.1.15/MY_SPIDEV_TEST_L4115_MYIMX6A9.out -D /dev/spidev0.0   
  
spi mode: 0  
bits per word: 8  
max speed: 500000 Hz (500 KHz)  
  
FF FF FF FF FF FF   
40 00 00 00 00 95   
FF FF FF FF FF FF   
FF FF FF FF FF FF   
FF FF FF FF FF FF   
DE AD BE EF BA AD   
F0 0D

【下章节为MY-IMX6-EK200 Linux-4.1.15 测试手册(3)】
返回列表 发新帖
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们  -  服务条款  -  使用指南  -  站点地图  -  友情链接  -  联系我们
电子工程网 © 版权所有   京ICP备16069177号 | 京公网安备11010502021702
快速回复 返回顶部 返回列表