基于HD7279的DSP人机接口设计实训
摘 要
DSP——Digital Signal Processing,数字信号处理,作为一门涉及许多学科而又广泛应用于许多领域的新兴学科,通过使用数学技巧执行转换或提取信息,来处理现实信号的方法,这些信号由数字序列表示。它不仅具有可编程性,而且其实时运行速度可达每秒数以千万条复杂指令程序,远远超过通用微处理器,是数字化电子世界中日益重要的电脑芯片。人机交互的方便性在硬件层次上很大程度由人机接口技术来决定。目前的人机接口技术主要表现为鼠标和键盘的操作。本文以芯片HD7279驱动LED数码管及16键盘为例,对DSP进行了人机接口的设计。设计采用了HD7279的串行接口同时驱动8位共阴式数码管及连接16键的键盘矩阵,单片即可完成LED显示、键盘接口的全部功能。
关键词:人机接口,DSP,HD7279,数码管,键盘
ABSTRACT
DSP -- Digital Signal Processing, digital signal processing, as an emerging subject involving many disciplines and widely applied in many fields, to deal with real signals by using mathematical skills to perform the conversion or collect the information. These signals are showed by digital sequence. It not only has the programmability, but also the running speed, actually, can perform millions of complex program instructions per second, far more than the general microprocessor. As a computer chip, it plays an increasingly important role in the digital electronic world. The convenience of HCI at the hardware level is greatly decided by the man-machine interface technology. The current interface technology is mainly expressed in the mouse and keyboard operation. Based on the example of HD7279 chip driving LED digital tube and 16-keyboards, we design the DSP man-machine interface. The design uses the HD7279 serial interface to drive a total of 8 vaginal digital tube and connect the 16 keys of the keyboard matrix, and the single chip can complete LED displaying and all functions of keyboard interface.
Key words: the man-machine interface, DSP, HD7279, digital tube, keyboard
目 录
1. 绪论1
2.硬件设计5
2.1 系统框图5
2.2 硬件电路图6
2.3 硬件体系结构7
3. 软件设计12
3.1 DSP开发环境CCS介绍12
3.2 软件中断向量文件12
3.3 程序流程图13
3.4 程序代码16
3.5 系统软件调试22
4. 心得体会25
参考文献26
致谢27
1. 绪论
本次课题设计的题目为《基于HD7279的DSP的人机接口设计》。
数字信号处理是数字技术与信息处理技术的基础,20世纪60年代以来,在通信、控制、消费电子、广播电视、医疗卫生、国防和司法等各个领域得到了越来越广泛与深入的应用,支撑了整个社会的数字化与信息化发展。随着现代社会的信息化进程,各个领域需要处理的信息量越来越庞大,移动电话等便于携带的终端系统越来越多、功能越来越强,因此,信号处理的实时性和低功耗显得越来越重要和迫切。在这个背景下,数字信号处理器应运而生,即DSP。DSP具有区别于普通处理器的结构与工作原理,特别适合于