首页 | 本学科首页   官方微博 | 高级检索  
     

基于QNX的CAN总线控制器的初始化程序设计
引用本文:刘慧威,赵彦平,潘文静.基于QNX的CAN总线控制器的初始化程序设计[J].电子质量,2012(1):76-79.
作者姓名:刘慧威  赵彦平  潘文静
作者单位:1. 山西省电力公司超特高压输变电分公司,山西太原,030000
2. 华北电力大学控制与计算机工程学院,河北保定,071003
基金项目:国家质检总局科技计划项目(2005IK104)
摘    要:某基于QNX实时操作系统的分散控制系统,其现场控制站与现场I/O模块之间的通讯采用的是基于CAN总线标准的通信协议。针对其数据通讯所采用的PCI04-CAN通讯卡,结合CAN通讯卡厂家提供的资料,介绍了此CAN通讯卡的硬件构成和功能。简述了核心芯片SJA1000在CAN总线控制系统中的作用,分析了其内部寄存器及功能,利用c语言编写了此CAN通讯卡在QNX实时操作系统下的驱动程序。

关 键 词:CAN总线  SJA1000  控制器  程序设计

Initializing Designing Program of CAN Bus Controller Based on QNX
Liu Hui-wei,Zhao Yan-ping,Pan Wen-jing.Initializing Designing Program of CAN Bus Controller Based on QNX[J].Electronics Quality,2012(1):76-79.
Authors:Liu Hui-wei  Zhao Yan-ping  Pan Wen-jing
Affiliation:1.Shanxi Province Power Company EHV Power Transmission Branch Company,Shanxi Taiyuan 030000;2.School of Control and Computer Engineering, North China Electric Power University,Hebei Baoding 071003 )
Abstract:Distributed Control System bases on QNX operating system,the communication between field control station and I/0 modules uses the communication protocol based on CAN bus.According to the PCIO4-CAN communication card used by data communication,combining the information offered by CAN communication card manufacturer,this paper introduces the card's hardware structure and function of CAN communication.This paper resumes the role of core chip SJAIO00 in the CAN bus control system, and analyse its internal register and function,using C language and uniting the CAN card's information provided by the manufacturer,writes the driver of the CAN card under the QNX operating system.
Keywords:CAN bus  SJAlOOO  Controller  Program design
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号