Add CAN inputs for drivetrain display values with DBC and bench evidence
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#ifndef AMI_PROTOCOL_H
|
||||
#define AMI_PROTOCOL_H
|
||||
|
||||
/* Both CAN ports use the same 500 kbit/s protocol and the same IDs. */
|
||||
/* CAN1 is 500 kbit/s; CAN2 is 250 kbit/s. Both share IDs and parsing. */
|
||||
#define AMI_CAN_ID_DRIVETRAIN_DISPLAY 0x182U
|
||||
#define AMI_CAN_ID_SDC_HEARTBEAT 0x6A0U
|
||||
#define AMI_CAN_ID_SDC_ADC 0x6A1U
|
||||
#define AMI_CAN_ID_SDC_FREQUENCY 0x6A2U
|
||||
@@ -17,6 +18,7 @@
|
||||
#define AMI_CAN_DATA_TIMEOUT_MS 500U
|
||||
#define AMI_ADC_TIMEOUT_MS 1500U
|
||||
#define AMI_BMS_TIMEOUT_MS 2000U
|
||||
#define AMI_DRIVETRAIN_TIMEOUT_MS 2000U
|
||||
#define AMI_SCREEN_BOOT_DELAY_MS 800U
|
||||
#define AMI_SCREEN_RESYNC_MS 5000U
|
||||
|
||||
|
||||
Reference in New Issue
Block a user