AUTOSAR-COMStack-001_综述

0. 参考文档

Ref.1 AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf

Ref.2 Communication\AUTOSAR_SWS_XCP.pdf

1. 概述

本文旨在介绍AUTOSAR标准中Com stack的基本情况,使读者对于AUTOSAR COM Stack有一个基本的认识。对于Com Stack中各个模块的具体情况,会在本专栏后续文章继续介绍。

2. Com stack

AUTOSAR 标准中, BSW Com stack 中涉及模块,自上向下 分别为Com, PDUR, EthIf, FlexRay 协议栈, CAN 协议栈, Lin协议栈。 分别为如下图中1, 2, 3,,4, 5处所示:

在这里插入图片描述

COM:

  • Provides routing of individual signals or groups of signals between different I-PDUs

PDU Router:

  • Provides routing of PDUs between different abstract communication controllers and upper layers
  • Scale of the Router is ECU specific (down to no size if e.g. only one communication controller exists)
  • Provides TP routing on-the-fly. Transfer of TP data is started before full TP data is buffered

3. ComM stack

AUTOSAR 标准中,ComM stack 用于管理Com通信,如使能,关闭通信功能。其包含如下模块:

Communication State Managers:

  • Start and Shutdown the hardware units of the communication systems via the interfaces
  • Control PDU groups

NM Coordinator:

  • Synchronization of Network States of different communication channels connected to an ECU via the
    network managements handled by the NM Coordinator

*State manager

  • 此模块用于对应接口的状态机管理。

不同的数据链路层,使用不同的状态管理模块,如CAN 接口对应CanSM, Eth接口对应EthSM, Lin 接口对应Lin State Manager。

4. Dcm

Dcm,即Diagnostic Communication Manager,与Com stack强相关。PDUR将CANTP组装后的I-PDU直接传递给Dcm。

5. Xcp

统一标定协议(Universal Calibration Protocol), 与Com stack强相关。发送,接收报文直接与Interface层交互,如CanIf, EthIf.

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值