基于VK3234的共享中断编程关键技术  被引量:3

Programming key technology of the hardware interrupt sharing based on the VK3234

在线阅读下载全文

作  者:吕雪芹[1] 敖振浪[1] 陈冰怀[1] 

机构地区:[1]广东省大气探测技术中心,广州510080

出  处:《电子测量技术》2014年第4期87-91,共5页Electronic Measurement Technology

基  金:科技部公益行业(气象)科研专项项目资助;项目名称"综合观测网气象装备全寿命自动跟踪技术"

摘  要:为了满足自动气象观测仪器更多通信接口的需要,利用单片机4根GPIO口线简单连接和控制,基于VK3234芯片成功扩展出4路RS485串口,4个扩展的子串口共享一根外部中断线和一个外部中断号。介绍如何通过优化设计硬件共享中断处理的关键技术和编程技巧,给出了关键源代码。在线测试表明,每路的速率为115 200bps,4路同时收发,稳定可靠。In order to meet the needs of the automatic meteorological observation instruments more communication interface;using single chip computer 4 GPIO IO pins connection and control,this paper has extended successfully the 4- way RS485 serial port based on VK3234 chip. The 4 extended sub serials share an external interrupt lines and an external interrupt. This paper introduces key technology and programming skills about how to optimize design of Shared hardware interrupt handling,given a key source code. The test results show that using 4 road with 115200 BPS the high rate to send and receive at the same time, very stable.

关 键 词:VK3234 多串口扩展 硬件共享中断 编程 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象