基于CAN总线协议车载网关双缓冲区的设计研究  

Design and Research of Vehicle-mounted Gateway Double Buffer Based on CAN Bus Protocol

在线阅读下载全文

作  者:张晓光 陶英轩 黄金山 ZHANG Xiao-guang;TAO Ying-xuan;HUANG Jin-shan(Product Development Department,Faw Car Ji Lin,Chang Chun 130012,China)

机构地区:[1]一汽奔腾轿车有限公司,长春130012

出  处:《汽车科技》2021年第4期102-104,共3页Auto Sci-Tech

摘  要:提出了一种基于车载CAN总线协议网关的发送与接收缓冲区设计方法。以接收与发送双软件缓冲区去配合CAN控制器的硬件缓冲区,设计中断式报文存储进程将硬缓冲区数据实时读取到接收软件缓冲区中,设计中断式数据发送进程将发送软件缓冲区数据及时发送到发送硬缓冲区,通过与硬件缓冲区的这种联动方式能够实时地接收报文,保证报文不丢失;也能够在目标总线负载率较大时,避免漏发报文以及保证发送报文周期。A design method of sending and receiving buffer of vehicle-mounted CAN bus gateway is presented.To receive and send double software buffer to match the CAN controller’s hardware buffer,the interrupted message store process is designed to read the hard buffer data into the receiving software buffer in real-time,by this way of linkage with hardware buffer can receive a message in real-time,ensure the message is not lost;It is also able to avoid missing message and ensure the massage sending cycle when the target bus load rate is high.

关 键 词:CAN 网关 双缓冲 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象