引用本文
  • 唐民钦,夏军.基于ARM的LPC2132通用串口驱动程序设计[J].广西科学院学报,2014,30(1):8-11.    [点击复制]
  • TANG Min-qin,XIA Jun.Design of Universal Serial Port Driver Based on ARM LPC2132[J].Journal of Guangxi Academy of Sciences,2014,30(1):8-11.   [点击复制]
【打印本页】 【在线阅读全文】【下载PDF全文】 查看/发表评论下载PDF阅读器关闭

←前一篇|后一篇→

过刊浏览    高级检索

本文已被:浏览 319次   下载 484 本文二维码信息
码上扫一扫!
基于ARM的LPC2132通用串口驱动程序设计
唐民钦, 夏军
0
(广西瀚特信息产业股份有限公司, 广西桂林 541004)
摘要:
[目的]使嵌入式系统软件能够适应多种不同通讯协议,并保持通讯模块的稳定性。[方法]基于ARM微处理芯片LPC2132,提出一种通用的串口驱动程序设计方案:将通讯协议与串口驱动分离,把协议帧数据段分类处理,系统软件只需要定义协议帧数据段描述,而不需要和具体的通用驱动程序打交道即可实现通讯。[结果]该串口驱动程序在远程环境采集系统中经过长时间的测试和应用,运行稳定。[结论]该串口驱动程序设计方案提高了编码效率,简化了驱动软件设计。
关键词:  串口驱动程序  ARM  LPC2132
DOI:
投稿时间:2013-11-21修订日期:2013-12-12
基金项目:
Design of Universal Serial Port Driver Based on ARM LPC2132
TANG Min-qin, XIA Jun
(Guangxi Hunter Information Industry Co., Ltd., Guilin, Guangxi, 541004, China)
Abstract:
[Objective] In order to make embedded system software fit different kinds of communication protocol and remain the stable of communication module, universal serial port driver is designed.[Method] Base on the ARM LPC2132 microprocessor chip, we propose the design of universal serial port driver. We separate the communication protocol from port driver and classify the protocol frame data segment. Therefore, the system only needs to define the description of protocol frame data segment. Real-time communication can be realized without communication with specific universal driver.[Result] This serial port driver is tested and applied stably in remote acquisition environment for a long time. [Conclusion] This serial port driver increases the efficiency of coding and simplifies design for driver software.
Key words:  serial driver  ARM  LPC2132

用微信扫一扫

用微信扫一扫