摘要
介绍了搭建此网络测控模块所需要的核心以太网控制器,分析网络低层工作机理,讨论并分析通过设置特殊的内部寄存器以太网控制器CS8900A来完成以太帧的有效接收和发送,采用高性能的MSP430F449微控制器与以太网控制器相结合实现网络数据传输的方案,对电路接口作了详细的阐述。针对嵌入式应用中处理器RAM受限,在保证能实现网络通信的基础上对网络协议进行适当裁减,提供给TCP/IP协议实现程序的是应用程序接口(API)形式,屏蔽低层硬件(以太网控制器)细节。分析并实现了网络层协议IP、ARP、ICMP、TCP等协议。并应用该模块做为数据采集服务器应用在测控通信中。
The core chip Ethernet controller CS8900A constructing the network module and its work mechanism are introduced. Transferring of Ethernet frame by configuring CS8900A's internal special registers is analyzed in detail. Scheme of combining efficient MCU MSP430F449 and CS8900A is adopted. Interface between MSP430 and CS8900A is introduced in detail. Owing to limited RAM of MSP430, TCP/IP suite protocols such as IP, ARP ICMP and TCP are reduced properly and implemented. The form of the protocol is API to extend its functions. The module as data acquisition server is applied in network measurement and control.
出处
《计算机测量与控制》
CSCD
2004年第12期1188-1191,共4页
Computer Measurement &Control