摘要
本文设计并实现了基于ADSP-BF561的嵌入式矩阵键盘。硬件设计上,以中断代替查询完成对矩阵键盘的控制,利用GPIO口直接扫描以获取键值,从而简化了扫描电路的设计。软件设计上,着重解决了键盘的扫描、去抖动等问题,并实现内核缓冲区的安全同步,以保证对用户的及时响应。此方案已经应用于实际的网络视频电话系统中,也为其它嵌入式设备上键盘的实现提供了一种可靠的设计思路。
In this paper, a design of embedded matrix keyboard based on ADSP-BF561 was presented. In the design of hardware, it used interrupt instead of query in order to control the matrix keyboard, and used GPIO to get key value directly, consequently simpli- fy the design of query circuit. In the design of software, it solved cruces such as scan of key,elimination of jitter, and how to main- tain synchronization of kernel buffer ensuring the timely response to the user. The implementation of this design is already used in a network video telephone system, and this idea can also be used in design of matrix keyboard based on other embedded systems.
出处
《微计算机信息》
2009年第17期27-28,47,共3页
Control & Automation