目录
- 关键词
- 平台说明
- 一、前言
- 二、DBC Attributes
- 2.1 添加方法
- 2.2 GenMsgCycleTime
- 2.3 GenMsgSendType
- 2.4 GenSigStartValue
- 三、DBC Attributes 对照表
关键词
嵌入式、C语言、autosar、OS、BSW
平台说明
| 项目 | Value |
|---|---|
| OS | autosar OS |
| autosar厂商 | vector , |
| 芯片厂商 | TI 英飞凌 |
| 编程语言 | C,C++ |
| 编译器 | HighTec (GCC) |

>>>>>回到总目录<<<<<<
一、前言
前文说了DBC的几个主要组成关系[AutoSar]BSW_Com03 DBC详解 (一),这里主要讲DBC 的 Attribute Definitions。
二、DBC Attributes
DBC中有非常多的Attributes,它们有的决定了波特率、有的决定了帧类型,具体查询列表见文末或者《TechnicalReference_DbcRules_Vector》或者《Rules for Legacy Communication
Descriptions》。这里挑几个主要的讲。
2.1 添加方法
1.打开属性表

2.右键新建

3.添加所需属性。

2.2 GenMsgCycleTime
为Message定义周期。

2.3 GenMsgSendType
Message定义触发的类型:周期帧发送,事件帧发送,混合帧发送

2.4 GenSigStartValue
给signal定义起始默认值。

创建完成后便可以看到相应的属性了


三、DBC Attributes 对照表
| Attribute Name | Object Type | Type | Values and Ranges (Bold = default) |
|---|---|---|---|
| Baud rate | Network | Integer | 0…500000…1000000 |
| SamplePointMin | Network | Integer | 50…75…100 |
| SamplePointMax | Network | Integer | 50…90…100 |
| Manufacturer | Network | String | Vector |
| DBName | Network | String | CAN |
| BusType | Network | String | CAN CAN FD |
| VFrameFormat | Message | Enum | CAN Standard 、CAN Extended、 CAN FD Standard、 CAN FD Extended |
| GenMsgILSupport | Message | Enum | No: 0 Yes: 1 |
| GenMsgSendType | Message | Enum | Cyclic: 0, |
| GenMsgCycleTime | Message | Integer | 0…65535 |
| GenMsgCycleTimeFast | Message | Integer | 0…65535 |
| NmJ1939Function | Node | Integer | 0…255 |
| NmJ1939FunctionInstance | Node | Integer | 0…7 |
| GenMsgRequestable | Message | Integer | 0…1 |
| GenSigStartValue | Signal | Integer | 0…10000 |



















