linux系统下基于spi总线的外部ad驱动设计 design of external ad driver based on spi bus in linux system.pdfVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
linux系统下基于spi总线的外部ad驱动设计 design of external ad driver based on spi bus in linux system
2016年 仪 表 技 术 与 传 感 器 2016
第 10期 Instrument Technique and Sensor No.10
Linux 系统下基于SPI 总线的外部A/ D驱动设计
赵 盼,李 俊,周海峰
(南京工业大学电气工程与控制科学学院,江苏南京 211816)
摘要:为了满足工业控制系统的测控要求,设计了一种Linux 系统下基于SPI 总线的外部A/ D驱动
程序。 通过总线设备模型的方法编写驱动程序能动态地加载和卸除设备驱动,A/ D和ARM之间通过
SPI 总线进行数据交互,应用程序通过数据处理进程和数据收发进程进行数据采集计算和传输,两者通
过消息队列实现同步。 具有设备动态加载、可移植性强等特点,不仅提高了系统转换精度,还提高了总
线的传输速率,经测试表明该驱动的设计可行。
关键词:嵌入式操作系统;外部模数转换器;字符设备驱动;总线设备模型
- - -
中图分类号:TP316;TP311 文献标识码:A 文章编号:1002 1841(2016)10 0090 04
Design of External A/ D Driver Based on SPI Bus in Linux System
ZHAO Pan,LI Jun,ZHOU Hai-feng
(College of Electrical Engineering and Control,Nanjing Tech University,Nanjing211816,China)
Abstract:In order to meet the requirements of industrial control system,an external A/ D driver based on SPI bus in Linux
systemwas designed in this paper.In order to load and unload device driverdynamicly,the SPI buswas used to transfer data be-
tween A/ DandARM.Theapplicationprogramwasusedtocollectandsenddatathroughdataprocessingprocessanddatasending
and receiving process.Both achieved synchronizationthroughmessagequeue.It haddynamicloadingof equipment andportability.
Inthisway,thecontrol accuracywasnot only improved,but alsothetransmissionrateof thebuswasimproved.Thetest showsthat
the design isfeasible.
Keywords:embeddedsystem;external ad;character device driver;bus device model
0 引言 当CS变为低电平时,可以从 A/ D 芯片中访问数据。
随着采样精度要求越来越高,ARM处理器内置的 A/ D转换器接线如图1所示。
A/ D模块已不能满足要求,本文在ARM处理器中移植
嵌入式Linux操作系统并外扩A/ D转换芯片,A/ D数
据传输通过SPI 总线,SPI 总线是一种 MCU 与外设通
信的通用总线,基于SPI总线的网络接口设备是一种新
型的网络设备,在远程配置、调试
您可能关注的文档
- lb10002000燃烧器涡旋板拼焊模具的设计及使用 design and application of b10002000 burner vortex board welding die.pdf
- laser cut hole matrices in novel armour plate steel for appliqué battlefield vehicle protection.pdf
- lbb 弹塑性断裂分析中临界裂纹尺寸计算 determine critical crack size of elastic-plastic fracture mechanical in lbb analysis.pdf
- l-cng加气站低温高压柱塞泵测试平台的研发.pdf
- lc-msms 法测定比格犬血浆中丁酸氯维地平浓度 determination of the concentrations of butyric acid clevidipine in beagle dogs plasma by lc-msms.pdf
- lco加氢-催化组合生产高辛烷值汽油或轻质芳烃技术(ltag)的开发 development of the ltag technology for lco to produce higher ron naphtha and light aromatics.pdf
- lc-nmr 联用技术的研究进展 research progress of lc-nmr technology.pdf
- ldnp生产工艺改进对其电点火头性能的影响 process improvement of ldnp and its influence on performances of the electric fusehead.pdf
- ldpc码的非均匀量化器设计 design of a non-uniform quantizer for ldpc code.pdf
- ld5-1铝合金模锻件表面条纹分析 the analysis of ld5-1 aluminum alloy die forging stripes on the surface.pdf
- lips-300离子推力器放电室设计及实验研究 design and experimental study on lips-300 ion thruster discharge chamber.pdf
- lmb50型智能旋铆机的设计及研究 research and design of lmb50 typed intelligent spin riveting machine.pdf
- lmg系列露天采煤机与全液压斗轮挖掘机的对比分析 analysis and comparison of lmg series coal mining machine and full hydraulic bucket wheel excavator.pdf
- lmd-ica联合降噪方法在滚动轴承故障诊断中的应用 application of lmd-ica to fault diagnosis of rolling bearings.pdf
- lmd和svm相结合的电机轴承故障诊断研究 research on motor bearings fault diagnosis based on lmd and svm.pdf
- lm算法求解大残差非线性最小二乘问题研究 study of solving nonlinear least squares under large residual based on levenberg-marquardt algorithm.pdf
- lms算法在船舶航行危险评估中的应用 application of the lms algorithm to the risk assessment of ship navigation.pdf
- lng 泵出口管道设计探讨.pdf
- ln g车用气瓶颈管结构参数优化 neck tube structure and sizes optimization for liquefied natural gas(lng)vehicle cylinders.pdf
- lng 双球球罐安装的关键技术 key technology of lng double spherical tank installation.pdf
最近下载
- 吊篮日常检查记录.doc VIP
- 16S401 管道和设备保温、防结露及电伴热.docx VIP
- 2025年黑龙江、吉林、辽宁、内蒙古高考地理试题评价分析与教学反思理试题评价分析与教学反思.docx
- 2019人教版高中数学A版 必修第2册《第九章 统计》大单元整体教学设计[2020课标].pdf
- 人教版(2024)八年级上册英语Unit 1 Happy Holiday教案.docx
- 建筑装饰设计基础第1章电子课件 .pptx VIP
- 心理健康教学课件:七年级上第1课走进心理健康课.pptx
- 天然气调压器切断阀介绍.ppt VIP
- 对外汉语时间教学.ppt VIP
- 《人造板工艺学》课件 第十三单元 生产工艺设计.ppt VIP
文档评论(0)