[AutoSar]BSW_Com02 PDU详解
目录关键词平台说明缩写对照表一、PDU的定义和分类1.1定义1.2 分类缩写对照表 1关键词嵌入式、C语言、autosar、OS、BSW平台说明项目ValueOSautosar OSautosar厂商vector 芯片厂商TI 英飞凌编程语言CC编译器HighTec (GCC)回到总目录缩写对照表见文末一、PDU的定义和分类1.1定义PDU (Protocol Data Unit)包含SDU和PCI。在传输端PDU从上层传递到下层下层将PDU解释为SDU。SDU(Service Data Unit它是由上层传递的数据带有传输数据的请求。它也是由下层接收后提取的数据传递给上层的数据。PCI (Protocol Control Information),将SDU从特定协议层的一个实例传递到另一个实例时需要此信息。例如它包含源和目标信息。DLC(Data Length Code),L-PDU 中表示SDU长度。PCI在传输端由协议层添加在接收端再次移除。讲人话如下图所示PDU SDUPCI。PCI 包含了当前层信息和目标层信息。在Can driver 中生成 PCI 和 数据结构L-PDU在Can if 中抽象隔离为N-PDU 然后CAN TP中组合成I-PDU。最终在PDU router 中根据PCI信息解析得到目标地址传给COM在COM中对SDU进行解析将数据传到RTE–应用层。注在网络层中PUD组成如下1.2 分类数据链路层L-PDUData Link Layer Protocol Data Unit在ECU抽象层CanIf中实现打包或者拆包。将SUD和PCI 组装或者拆包。网络层TP层N-PDUNetwork Layer Protocol Data Unit在CAN TP 中打包或者拆包。TP模块的主要目的是分割和重新组装不适合指定N- pdu的I - pdu。实现N-PDU与 I-PDU的转换。交互层I-PDUInteraction Layer Protocol Data Unit在COM中打包或者拆包SDU。在外部通信的情况下交互层将一个或多个信号打包到指定的i - pdu中并将它们传递给底层以便在网络中的节点之间传输。缩写对照表 1缩写描述Can CCCAN Communication ControllerCAN CFCAN Consecutive Frame N-PDUCAN FCCAN Flow Control N-PDUCAN FDCAN flexible data rateCAN FFCAN First Frame N-PDUCAN N-PDUThe PDU of the CAN Transport LayerCAN N-SDUThe SDU of the CAN Transport LayerCAN SFCAN Single Frame N-PDUCDDComplex Device DriverCRCCyclic Redundancy ChecksumDLCData Length Code. The portion of an L-PDU which describes the SDU lengthETKProvides development and calibration tools with a powerful interface to the development ECUFDFlexible DataFUP messageTime adjustment message (Follow-Up)GTDGlobal Time DomainGTMGlobal Time MasterHOHHardware Object Handle - identifier for a specific CAN mailbox structureHRHHardware Receive Handle - HOH for receive operations (defined by Can)HTHHardware Transmit Handle - HOH for transmission operations (defined by Can)L-PDUProtocol Data Unit. Consists of an identifier, DLC and data portion (SDU). Visible to the Can moduleL-SDUService Data Unit. Data transported inside a CAN L-PDU. Visible to the upper layer modules (e.g. PduR)MSBMost Significant BitN_ArTime from transmission of the CAN frame (any N_PDU) on the receiver side until function CanTp_TxConfirmation() is calledN_AsThe time for transmission of a CAN frame (any N_PDU) on the part of the sender until function CanTp_TxConfirmation() is calledN_BrTime from receiving the N_PDU CanFrame (FF,CF,FC) until transmission of the next FlowControl N_PDUN_BsTime from transmission N_PDU CanFrame (FF, CF, FC) until receiving of next FlowControl N_PDUN_CrvTime from transmission of CAN frame (FC) until reception of the next Consecutive Frame N_PDUN_CsTime from receiving N_PDU FlowControl until transmission of the next Consecutive Frame N_PDU in the sender sideN_PCINetwork protocol control informationN_TAtypeThe N_TA parameter shall be used to encode one or multiple (depending on the N_TAtype: physical or functional)receiving network layer protocol entitiesOFNS messageOffset adjustment messageOBDOn-Board DiagnosisOFS messageOffset synchronization messagePDUProtocol Data UnitPNPartial NetworkingPNIPartial Network InformationRxReceipt/ReceptionRx L-PDUReceived L-PDU (lower to upper layer)SDUService Data UnitStbMSynchronized Time-Base ManagerTDTime DomainTGTime GatewayTMTime MasterTSTime SlaveTSDTime Sub-domainTxTransmissionTx L-PDUTransmitted L-PDU (upper to lower layer)UDSUnified Diagnostic ServicesWUFWake up flagXCPA protocol description (ASAM standard) between a master (tool) and a slave (device)SF:Single FrameFF:First FrameCF:Consecutive FrameFC:Flow Control回到总目录
上一篇/下一篇内容由系统自动关联
返回资讯列表 →