您好,欢迎来到中国测试科技资讯平台!

首页> 《中国测试》期刊 >本期导读>串口AD嵌入式Linux驱动实现

串口AD嵌入式Linux驱动实现

2167    2016-01-18

免费

全文售价

作者:杨小容, 陈建政

作者单位:西南交通大学牵引动力国家重点实验室, 四川 成都 610031


关键词:S3C2440微处理器; TLC2543芯片; SPI驱动程序; A/D转换器; 嵌入式Linux


摘要:

介绍了串行外设接口(SPI)在高速串行模数转换器TLC2543与ARM微处理器S3C2440的接口中的应用方案,针对ARM微处理器S3C2440和嵌入式Linux操作系统构建的开发平台,给出了S3C2440和TLC2543的详细硬件连接图和Linux下嵌入式驱动的实现方法及动态模块加载过程。方法同样适用于其他具有SPI接口的串行A/D转换器和微处理之间的接口与编程。TLC2543和S3C2440基于SPI的串行通信为高速数据采集的嵌入式设备提供了一种解决方案。


Implementation of the serial port AD driver in embedded Linux

YANG Xiao-rong, CHEN Jian-zheng

State Key Laboratory of Traction Power, Southwest Jiaotong University, Chengdu 610031, China

Abstract: This paper presented the application of SPI to the interface between the high-speed serial A/D converter (TLC2543) and the ARM microprocessor(S3C2440), aiming at developing a platform based on S3C2440 and embedded system Linux. It described the connection of the TLC2543 and the S3C2440 as well as its driver and the realization of dynamic module loading. The connection method is also applicable to other serial A/D converter and microprocessor that have SPI functions. The serial communication between TLC2543 and S3C2440 by SPI also provides a solution for the high-speed data acquisition of embedded devices.

Keywords: S3C2440; TLC2543; SPI driver; A/D converter; Embedded Linux

2010, 36(2): 84-87  收稿日期: 2009-8-22;收到修改稿日期: 2009-11-9

基金项目: 

作者简介: 杨小容(1985-),女,四川自贡市人,硕士研究生,专业研究方向为嵌入式系统开发。

参考文献

[1] 刘 淼. 嵌入式系统接口设计与Linux驱动程序开发[M].北京航空航天大学出版社,2006.
[2] 沃尔瓦诺. 嵌入式微计算机系统:实时接口技术[M]. 李 曦,等译. 北京:机械工业出版社,2003.
[3] 魏永明. Linux设备驱动程序[M]. 2版. 北京:中国电力出版社,2002.
[4] 孙天泽,袁文菊,张海峰. 嵌入式设计及Linux驱动开发指南[M]. 北京:电子工业出版社,2005.
[5] 潘志东,刘增华. 串行A/D转换器TLC2543原理及应用[J].电测与仪表,2001,38(3):40-43.
[6] 倪继利. Linux内核分析及编程[M]. 北京:电子工业出版社,2006.
[7] 冯国进.嵌入式Linux驱动程序设计从入门到精通[M].北京:清华大学出版社,2008.
[8] 孙 琼. 嵌入式Linux应用程序开发详解[M]. 北京:人民邮电出版社,2007.
[9] 罗苑堂,杨宗德. 嵌入式Linux应用系统开发实例精讲[M].北京:电子工业出版社,2007.
[10] Robbins A. 实战Linux编程精髓[M]. 杨明军,译.北京:中国电力出版社,2005.
[11] 宋宝华. Linux设备驱动开发详解[M]. 北京:人民邮电出版社,2005.
[12] 李胜朝,黄先祥,谢 建. 嵌人式Linux系统中字符设备驱动程序的开发[J]. 计算机工程,2007,33(4):5-8.