资源描述:
《基于encj的以太网设计_毕业设计论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、济源职业技术学院毕业设计(论文)题目基于ENC28J60的以太网设计与实现系别信息工程系 专业计算机应用技术班级姓名学号指导教师日期二零一二年九月VII摘要随着Internet迅猛发展,IP已经占据了各种终端应用的主导地位,而如何更高效、高速、廉价的传送IP数据是今后网络研究的重点。到目前,各种接入网技术之所以能够发展起来,更是适应了当今网络的发展,但是这些技术都存在着一个相同的问题:成本较高、性价比不高。而提到廉价,人们会很自然地想到以太网技术,但是能否接入网到这一网络环境中还需要认真研究。ENC28J60是MicrochipTechnology(美国微芯科技公司)于2005年推出的一款2
2、8引脚的独立以太网控制器,由于采用SPI串行接口方式,简化了设计。本文介绍了其特性、内部结构、引脚功能和ENC28J60的硬件结构与接口电路,详细分析了其寄存器设置和工作过程。ENC28J60采用标准的SPI串行接口,通过程序的编写、TCP/IP协议的应用,只需4条连线即可实现与单片机连接,有利于在小型系统上实现以太网功能。本设计根据协议的移植,由单片机处理模块、以太网控制器模块、协议模块等部分组成。实现了以太网控制器与单片机之间的基本数据传输。关键词:以太网接入;单片机;ENC28J60;SPI接口;TCP/IP移植VIIABSTRACTWiththerapiddevelopmentofI
3、nternet,IPhaveoccupiedvariousterminalapplicationdominance,andhowtomoreefficient,high-speed,low-costtransmissionofIPdataisthefutureofnetworkresearchfocus.Atpresent,allkindsofaccessnetworktechnology'sdevelopment,itistoadapttotoday'snetworkdevelopment,butthesetechniqueshaveanidenticalproblem:highcost,
4、notcheap.Whilereferencestocheap,peoplewillnaturallythinkofEthernettechnology,butwhethertheaccessnetworktothenetworkenvironmentalsoneedtoseriouslystudy.ENC28J60istheMicrochipTechnology(Americanmicrochiptechnologycompany)in2005launcheda28pinindependentEthernetcontroller,duetotheuseofSPIserialinterfac
5、e,simplifyingthedesign.Thispaperintroducesthecharacteristics,internalstructure,pinfunctionandENC28J60hardwarestructureandinterfacecircuit,adetailedanalysisoftheregistersetandworkingprocess.ENC28J60usesstandardSPIserialinterface,throughtheprogram,TCP/IPprotocolapplication,only4linescanbeconnectedwit
6、hthesinglechipmicrocomputer,isadvantageousinthesmallsystemEthernetfunction.VIIAccordingtothedesignofprotocolsfortransplantation,composedofasinglechipmicrocomputerprocessingmodule,Ethernetcontrollermodule,protocolmoduleandothercomponents.RealizationofEthernetcontrollerandSCMbasicdatatransmission.Key
7、words:Ethernetaccess;singlechipmicrocomputer;ENC28J60;SPIinterface;TCP/IPtransplantationVII目录摘要IABSTRACTII第1章绪论-1-第2章ENC28J60网络模块-2-2.1概述-2-2.2外部连接-6-2.2.1振荡器-6-2.2.2I/O电平-6-2.2.3带SPI接口的独立以太网控制器-6-2.3存储器与寄存