Set CAN1 to 500K and CAN2 to 250K with matching DBCs and PDF

This commit is contained in:
shenlefengnai-rgb
2026-10-03 17:44:55 +08:00
parent ff6ef4c5e7
commit 9120bd0ec1
17 changed files with 316 additions and 33 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
VERSION "AMI-2.0-2026-10-03"
VERSION "AMI-2.1-2026-10-03"
NS_ :
NS_DESC_
@@ -65,7 +65,7 @@ BO_ 2556444915 BMS_Status_Extended: 8 BMS
BO_ 2556510451 BMS_Extremes_Extended: 8 BMS
SG_ Maximum_Cell_Temperature : 39|8@0+ (1,-40) [-40|215] "degC" AMI
CM_ "AMI CAN interface v2.0. Classic CAN at 500000 bit/s. CAN1 and CAN2 use identical IDs and parsing. SDC fields follow SDC_ACQ_DAC.dbc VERSION 1.1. BMS consumed fields follow BmsMonitor-CANTest commit e65c95203d1689df05343775982d7e85bd782646. Omitted bytes/signals are not interpreted by the AMI firmware. No motor temperature, calibrated vehicle speed, torque, task execution feedback or AMI heartbeat frame is defined.";
CM_ "AMI CAN interface v2.1. CAN1: 500000 bit/s; CAN2: 250000 bit/s. Both use Classic CAN, identical IDs, parsing and task request capability. This file is CAN1; use AMI_CAN2_250k.dbc for CAN2. Frames are not bridged between buses. SDC fields follow SDC_ACQ_DAC.dbc VERSION 1.1. BMS consumed fields follow BmsMonitor-CANTest commit e65c95203d1689df05343775982d7e85bd782646. Omitted bytes/signals are not interpreted by the AMI firmware. No motor temperature, calibrated vehicle speed, torque, task execution feedback or AMI heartbeat frame is defined.";
CM_ BU_ AMI "Instrument MCU. UART HMI task confirmation produces AMI_TaskRequest. Display values are received from SDC and BMS.";
CM_ BU_ VCU "Logical receiver of task selection requests; execution and safety interlocks are outside this AMI interface.";
CM_ BU_ SDC_ACQ_DAC "Source of ADC, capture frequencies and raw PD0-PD14 states; both SDC CAN ports carry the same protocol.";
@@ -121,12 +121,15 @@ VAL_ 2556510451 Maximum_Cell_Temperature 255 "Invalid";
BA_DEF_ "BusType" STRING;
BA_DEF_ "Baudrate" INT 0 1000000;
BA_DEF_ "AMIPort" STRING;
BA_DEF_ BO_ "GenMsgCycleTime" INT 0 2147483647;
BA_DEF_DEF_ "BusType" "CAN";
BA_DEF_DEF_ "Baudrate" 500000;
BA_DEF_DEF_ "AMIPort" "CAN1";
BA_DEF_DEF_ "GenMsgCycleTime" 0;
BA_ "BusType" "CAN";
BA_ "Baudrate" 500000;
BA_ "AMIPort" "CAN1";
BA_ "GenMsgCycleTime" BO_ 1696 100;
BA_ "GenMsgCycleTime" BO_ 1697 500;
BA_ "GenMsgCycleTime" BO_ 1698 20;