首页 | 本学科首页   官方微博 | 高级检索  
     

基于中断方式LON节点处理器SPI接口设计
引用本文:杨帅,薛岚,史宜巧,朱静,高安邦. 基于中断方式LON节点处理器SPI接口设计[J]. 自动化与仪表, 2008, 23(11)
作者姓名:杨帅  薛岚  史宜巧  朱静  高安邦
作者单位:淮安信息职业技术学院,电气工程系,淮安,223003
基金项目:黑龙江省教育厅科学技术研究项目,江苏省淮安信息学院数字化资源建设项目
摘    要:为增强LonWorks节点控制能力,采用单片机作为LonWorks节点的主处理器,Neuron芯片作为从处理器;主从处理器采用SPI通信接口;SPI接口利用Neuron芯片中声明的Neurowire对象和AT89S51单片机中用软件模拟SPI操作,以边沿触发中断的方式在8个时钟脉冲的上升沿和下降沿完成主从处理器的数据传递。实际使用表明:用SPI方式实现单片机与Neuron芯片的通信提高Neuron芯片利用率,提高节点的性价比,增强系统可靠性,降低节点开发难度,缩小节点体积。

关 键 词:LonWorks节点  主处理器单片机  从处理器Neuron芯片  SPI接口  边沿触发中断

Design of Processor Interface for LON Node Based on Interruption Using SPI BUS
YANG Shuai,XUE Lan,SHI Yi-qiao,ZHU Jing,GAO An-bang. Design of Processor Interface for LON Node Based on Interruption Using SPI BUS[J]. Automation and Instrumentation, 2008, 23(11)
Authors:YANG Shuai  XUE Lan  SHI Yi-qiao  ZHU Jing  GAO An-bang
Abstract:Control ability of LonWorks node based on microcontroller host processor and Neuron-chip slave processor was raised due to SPI interface for host/slave processor.SPI interface could process data-exchange between host pro-cessor and slave processor in the rising edge and descending edge of eight clock pulse through Neurowire object de-clared in Neuron-chip and SPI operation simulat ed in AT89S51 by an edge triggered interruption.The practice shows that using SPI interface,utilization efficiency of Neuron-chip and cost-performance of node was improved,and system reliability was enhanced,difficulty of node development and node size isreduced.
Keywords:LonWorks node  microcontroller host processor  Neuron-chip slave processor  SPI interface  edge triggered interruption
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号