检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《国外电子测量技术》2017年第7期90-94,共5页Foreign Electronic Measurement Technology
基 金:国家自然科学基金(61401347);陕西省科技厅工业科技攻关项目(2016GY-101);陕西省教育厅自然科学基金(17JK1105);西安工程大学博士科研启动基金(BS1410)项目资助
摘 要:CH395是一款集成TCP/IP协议栈的国产以太网控制器芯片,为给普通单片机扩展基于CH395的以太网通信功能,提供实测数据传输速率参考。以单片机C8051F340外扩CH395为例,给出了一种简单易行的CH395网络通信速率测试方案。该方案在硬件上选用C8051F340片上外设中占用硬件资源较少且速率较快的SPI接口与CH395互连实现网络数据交互。在软件上单片机C8051F340直接通过命令调用CH395自带的库函数并采用CH395内置的TCP/IP协议栈把单片机配置成服务器,用LabVIEW上位机做的客户端与其进行数据通信。通过一种测试方案两种测试方法并经过多次数据通信实验,在SPI单收和单发模式下不丢失数据的情况下网络通信平均速率可以稳定达到200KB/s。CH395is an integrated TCP/IP protocol stack of domestic Ethernet controller chip,for the ordinary single-chip expansion based on CH395 Ethernet communication function to provide the measured communication rate reference,In this paper,the C8051F340single-chip expansion CH395,for example,gives a simple CH395 network communication rate test program.The program on the hardware selection C8051F340on-chip peripherals in the hardware resources less and faster SPI interface and CH395 interconnection to achieve network data interaction,In the software on the microcontroller C8051F340 directly through the command to call CH395 comes with the library function and the use of CH395built-in TCP/IP protocol stack to configure the microcontroller as a server,with the LabVIEW host computer to do with its data communication.In the test program in the two test methods and a number of experimental data show that the data in the SPI mode,single-shot and single-shot without losing data in the case of the average speed can be stable to 200KB/s.
关 键 词:网络速率测试 CH395 C8051F340 SPI TCP/IP协议栈
分 类 号:TN919.71[电子电信—通信与信息系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15