检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:许向阳[1] 张宇 毕胜 王晓君[1] Xu Xiangyang;Zhang Yu;Bi Sheng;Wang Xiaojun(School of Information Science and Engineering,Hebei University of Science and Technology,Shijiazhuang 050000,China)
机构地区:[1]河北科技大学信息科学与工程学院,石家庄050000
出 处:《单片机与嵌入式系统应用》2023年第9期78-82,共5页Microcontrollers & Embedded Systems
基 金:河北省省级科技计划项目,新一代电子信息技术创新专项(21310402D)。
摘 要:对于目前某些特殊设备只配备RS-422或LVDS串口而没有以太网口的情况,上位机与它们之间的数据透传只能依靠串口转换器实现,例如Moxa Uport系列USB转串口转换器等。这样的数据透传方式不仅传输距离近、效率低、成本高,而且不能够接入网络。针对这些问题,提出了一种基于LwIP TCP网口-串口数据透传设备设计方案,该数据透传设备使用ZYNQ-7020 SoC作为主控芯片设计了RS-422接口电路和LVDS接口电路,实现了网口数据与RS-422/LVDS串口数据的透传,最后在某地检设备上进行性能测试。测试结果表明该数据透传设备的RS-422和LVDS串口可实现在2 Mb/s以内的任意速率下无丢包、无误码的数据透传功能,为网口与串口之间的数据透传提供了一种可靠的实现方案。For some special devices only equipped with RS-422 or LVDS serial port without an Ethernet port,the data transparent transmission between the upper computer and they can only be realized by the serial port converter on the market,such as Moxa Uport series USB to serial port converter.This data transparent transmission mode not only has short transmission distance,low efficiency,high cost,but also cannot access the network.To solve these problems,a design scheme of TCP netword-serial data transmittal device based on LwIP is proposed.The data transmittal device uses ZYNQ-7020 SoC as the main control chip to design RS-422 interface circuit and LVDS interface circuit,which realizes the transmittal of network data and RS-422/LVDS serial data.Finally,through the performance test carried out on a certain inspection equipment,it is proved that the serial ports of RS-422 and LVDS of the data transparent transmission equipment can realize the data transparent transmission function without packet loss and error at any rate less than 2 Mb/s,which provides a reliable implementation scheme for the data transparent transmission between the network port and the serial port.
关 键 词:ZYNQ-7020 RS-422 LVDS LWIP 数据透传
分 类 号:TN919.3[电子电信—通信与信息系统] TP336[电子电信—信息与通信工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7