1 适用范围(applicable scope)
测试项目(test project)
UART测试(UART test)
测试说明(test instruction)
(1)总共有4个串口,测试程序默认选择Uart2,可以根据需要选择其他串口。
total 4 serial interfaces,defaulted Uart2 by test program,but you can choose other interface as per what is needed。
(2)测试之前需要短接串口的收发管脚,不同的开发板短接的管脚有所不同,对应关系如下图:
need to shorten send&receive pins of interface before test,pins shortened are different among different development boards,correspondence as below :
(3)这里选择默认配置,即Uart2,短接其对应的管脚。
here choose defaulted configuration,i.e Uart2,shorten the according pins。
测试方法(test method)
(1)点击“Uart”按钮,启动测试程序。
click“Uart”button,to boot test program。
(2)点击“OpenDev”打开设备。
click“OpenDev”to open device。
(3)点击“send”发送数据。
click“send”to send data。
如果成功收到数据,文本框会在右边显示出来,说明测试成功,如下图:
if there is a successful receiving of data,texbox will be popuped on the right side,i.e.a success of test,as below:
如果没有收到数据,则测试失败,请检查Uart管脚是否短接,错误如下图:
if not receiving of data,that means a failure of test, please check out whether pins were shortened, errors as below:
(5)测试完成,点击关闭,退出串口测试。
when test is finished,click close,to exit the test of serial interface。