- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
【嵌入式】Simple CAN-bus adapter for accelerator control running under Linux and RTLinux
Simple CAN-bus adapter for accelerator controlrunning under Linux and RTLinux.
A. Chepurnov,
F. Nedeoglo, D. Komissarov, O. Novozhilov
chas@rtm-cs.npi.msu.su
Abstract
CAN-bus was chosen as basic fieldbus for newly designed distributed control system for electron linac. To provide CAN-bus access for PC CAN-bus ISA compatible adapters have been designed. The adapter is based on Philips SJA1000 CAN-bus controller and provides fast access to CAN-bus through direct memory mapping.
To use the adapter under Linux the Linux kernel mode driver was developed. To support operation in real-time driver for RTLinux has been developed and tested. Both drivers provide the same POSIX IO compatible interface for application software.
Introduction
We decided to use CAN-bus in new control system for linac [1]. We use Linux together with RTLinux extension as developing and runtime environment for our control applications, so we were need in CAN-bus adapter which is supported under Linux [2,3].
We didn’t find on the market CAN-bus adapter supported under Linux. So, we decided to develop CAN-bus adapter to make its construction completely transparent for our programmers.
As a result ISA-compatible passive ISA to CAN-bus adapter was designed and manufactured. The set of chips was very compact. The next step was to combine two independent CAN-bus adapters placed on the single half-size ISA board. It provides the access to two independent CAN-bus channels through single ISA slot of PC’s motherboard.
Hardware structure of CAN-bus adapter
Philips Semiconductor SJA1000 CAN-bus single-chip controller.
Memory–map technique was used when control registers and message FIFO of SJA1000 are reflected in selected block of memory through ISA-bus.
Interrupt driven and polling mode of operation are possible.
CPLD with “In Circuit Programming via JTAG interface” feature is used to organise interface between multiplexed parallel bus of SJA1000 and ISA-bus.
“Transmit” and “receive” li
您可能关注的文档
- Unit 12 Life is full of unexpected.ppt
- Unit 11b At a conference.ppt
- Unit 1 Hello,Hi!(1-1).ppt
- Unit 12 Life is full of the unexpected Section B 课件.ppt
- Unit 12Life is fulln of unexpected.ppt
- unit 19 Health and Recreation Service.ppt
- Unit 2 I knowwonderbelieve.ppt
- Unit 2 Object clauses with that, if and whether.ppt
- Unit 2 reading Maybe you should learn to relax !.ppt
- unit 2 when you believe-陈小琴.ppt
- 【走向高考】2015高考英语(人教版)大一轮复习课件:必修二Unit 1 Cultural relics(111张PPT).ppt
- 【金榜课件】2014届英语(浙江人教)课件:选修7 Unit 5 Travelling abroad.ppt
- 七年级上M3_my_school_U1_there_are_thirty_students_in_my_class.ppt
- 七下Lesson 1 A Trip to China.ppt
- 七年级英语Unit 2 Speak up and pronun课件.ppt
- 三年级新教材_project1_My_family_and_friends.ppt
- 上册Unit 5 December is the last month L28-30.doc
- 不定代词新 高三二轮.ppt
- 中学英语语法(介词)课件1.ppt
- 上海星期八小镇游记_simple.doc
最近下载
- 并网光伏电站项目工程现场电气二次施工方案.doc
- 英语新课标背景下:非纸笔测试在小学英语期末评价中的实践研究.pdf VIP
- 液体伤口敷料产品技术要求标准2023版.docx VIP
- 股市实战绝技汇总篇(精华).doc VIP
- 历年行情的十大牛股.doc VIP
- 安徽省六校联考暨安徽六校教育研究会2026届高三入学素质检测-物理试卷答案.docx VIP
- 基于Ansys CFX的风扇叶片双向流固耦合分析.docx VIP
- (高清版)DB1307∕T 334-2020 蛋鸡无抗养殖技术规范.pdf VIP
- 中小学教育班班通系统校级解决方案.doc VIP
- 涉税检举奖励制度的运行问题...于68份裁判文书的考察分析_金超.pdf VIP
文档评论(0)