J1939 协议

J1939 协议简介

J1939协议是基于CAN 2.0B所发展的出来的,基于CAN 的物理层。主要用于commercial vehicle的通信。J1939的主要目的是制定统一的上层application诊断的信息。

J1939的最大特点是定义了PGN(Parameter Group Number). 大多数的PGN是8个字节。 0xFE - 错误, 0xFF - 数据不存在。

以下是J1939 CAN ID 的 mapping.
在这里插入图片描述

CAN 和 J1939 的区别

  1. J1939 is built on Extended CAN i.e., only 29-bit identifier will be used, where as CAN operates on 11 bit (Standard CAN) and 29 bit (Extended CAN)
  2. J1939 protocol is used for communicating b/w nodes as well as for diagnostics whereas CAN is used for communicating & doesn’t have its own Diagnostic Protocol because of which UDS & KWP protocols were used over CAN.
  3. J1939 used PDU format for determining whether the message can be transmitted with a destination address or if the message is always transmitted as a broadcast message whereas CAN bus is a broadcast type of bus. This means that all nodes can “hear” all transmissions. There is no way to send a message to just a specific node; all nodes will invariably pick up all traffic. The CAN hardware, however, provides local filtering so that each node may react only on the interesting messages.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值