摘要
随着嵌入式处理器和Linux的广泛应用,嵌入式方面多串口通信的作用举足轻重,但由于一般嵌入式系统固有串口数量较少,在需求较多时满足不了市场需求。结合一种转串口芯片TL16c554在原有串口基础上作出扩展。本实现主要介绍了异步通信芯片TL16c554的主要性能,分析了在高要求下基于ARM9微处理器AT91SAM9G20下TL16c554的多串口芯片扩展实现的驱动实现原理。重点介绍了在Linux2.6内核下成熟的串口驱动的设计方法以及相应于TL16c554芯片所做的一些具体的数据结构的修改与应用。并通过在交叉编译环境下进行相应的验证,成功地应用到项目开发中,满足了项目中对串口传输的要求。
With the wide application of embedded processor and Linux,embedded serial communication plays an important role.However,due to the limit of the general embedded systems serial's number,it can't satisfy the market demand.This article mainly describes the performance of the asynchronous communications chip TL16c554 and analyzes the driver design principle of the chip TL16c554 based on the ARM9 microprocessor AT91SAM9G20.Also,it highlights the mature serial driver design method under the Linux 2.6 kernel.Through the verification under the cross-compiler environment,this design has been successfully applied to the grid application development and fulfills the project requirements for serial transmission.
出处
《电子测量技术》
2013年第2期68-71,共4页
Electronic Measurement Technology