文档详情

基于中断方式LON节点处理器SPI接口设计.pdf

发布:2017-07-30约1.38万字共5页下载文档
文本预览下载声明
1-0019-04 文章编号:1001-9944(2008)1 Pl接口设计 基于中断方式LON节点处理器S 杨 帅,薛 岚,史宜巧,朱 静,高安邦 (淮安信息职业技术学院电气工程系,淮安223003) 摘要:为增强LonWorks节点控制能力。采用单片机作为LonWorks节点的主处理器,Neuron 芯片作为从处理器:主从处理器采用SPI通信接口;SPI接口利用Neuron芯片中声明的 Neurowire对象和AT89S51单片机中用软件模拟SPI操作,以边沿触发中断的方式在8个时钟 脉冲的上升沿和下降沿完成主从处理器的数据传递。实际使用表明:用SPI方式实现单片机 与Neuron芯片的通信提高Neuron芯片利用率.提高节点的性价比。增强系统可靠性,降低 节点开发难度,缩小节点体积。 关键词:LonWorks节点;圭处理器单片机;从处理器Neuron芯片;SPI接I:I;边沿触发中断 中图分类号:TP273文献标志码:A BUS ofProcessorInterfaceforLONNodeBasedon SPI Design InterruptionUsing YANG Shuai,XUEhn,SHI An—bang Yi-qiao,ZHUJing,GAO ofElectric ofInformationand Technology,Huai’蚰223003,China) (Department Engineering,Huai’明College host and slave Abstract:ControlofLonWorksnodebasedonmicmcontrDUer ability processorNeuron-chipprocessor interfaceforhost/slave interfacecould betweenhost wasraisedduetOSPI processor.SPI processdata-exchange pro- inthe and of clock Neurowirede- eegsorandslave eight through object processorrisingedge descendingedge pulse in andSPI simulatedinAT89S51an ehred by edgetriggeredinterruption.Thepractice Neon—-chip operation showsthat SPI of and ofnodeWag interface,utilizationNeuron-chipcost-performanceimproved,and using effici
显示全部
相似文档