• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (6): 173-177.

• 论文 • 上一篇    下一篇

DSP与单片机的串行通信及液晶显示系统的设计

郑秀聪,谢运祥   

  1. ZHENG Xiucong,XIE Yunxiang
  • 收稿日期:2010-06-01 修回日期:2010-09-06 出版日期:2011-06-25 发布日期:2011-06-25
  • 作者简介:郑秀聪(1985),男,福建漳州人,硕士,研究方向为电力电子变流技术及其应用。谢运祥(1965),男,博士,教授,博士生导师,研究方向为功率电子变换技术、无功补偿和电子系统集成。

Design of a System for the Serial Communication and LCD Between the Microcontroller and DSP

ZHENG Xiucong,XIE Yunxiang   

  1. (School of Electric Power,South China University of Technology,Guangzhou 510640,China)
  • Received:2010-06-01 Revised:2010-09-06 Online:2011-06-25 Published:2011-06-25

摘要:

本文从实际工程应用角度出发,介绍了一种简便可行的DSP与单片机之间实现串行通信的方法,并设计了液晶显示模块和键盘模块作为人机交互接口,给出了硬件接口的原理示意图。其优点是:不仅减少了使用DSP与单片机的I/O接口,而且降低了接口电路设计的复杂性;在软件编程上巧妙地利用“多处理器通信”的思想,提高了双CPU系统之间大数据量传输的正确性、可靠性。目前,该设计方案正应用于一个低压系统的智能、动态无功补偿装置的开发项目中。

关键词: 串行通信, DSP, 单片机, 液晶显示, 多处理器通信

Abstract:

From the view of a practical engineering application, this article describes a simple and feasible implementation of serial communication between DSP and the microcontroller, and the system also expands LCD and the keyboard module as the humancomputer interaction interface, of which the hardware interface circuit is given in the article. The advantage is not only the number of pins of DSP and the microcontroller used is reduced,but also the design complexity of the interface circuit can be lowered greatly. In software programming, we use the idea of Multiprocessor communication smartly, which increases the accuracy and reliability between the double CPUs in transferring large amounts of data. This scheme is being applied to the development item of an intelligent and dynamic var Compensation Device in low voltage systems at present.

Key words: serial communication;DSP;microcontroller ;LCD;multiprocessor communication