CAN Data Retrieval

Describes how CAN data travels through the firmware to an app. The CAN data retrieval is controled by two files. The Sensor Properties file maps a sensor in the Vehicle Interface to a PowerNet CAN signal. The Transfer Functions map different CAN architectures to Powernet.

Downloads of the two control files are available on this page indicated by the symbol.

Also reference Get Multi-Channel Sensor Data for information on sensors that measure different properties or dimensions simultaneously.

Sections:

Logical View - Logical view for retrieval of battery voltage.
Retrieval Process Diagram - Logical process flow for retrieval of battery voltage.
Synchronous Retrieval Sequence - Logical sequence diagram for on-demand retrieval of the vehicle speed.
Asynchronous Retrieval Sequence - Logical sequence diagrams for retrieval of battery voltage when the voltage changes.
Download Signal to Feature Mapping - Signal to feature mapping document.
Download Sensor Properties - Sensor to CAN signal mapping document.
Download Transfer Functions - CAN signal to transfer function mapping document.

Logical View

Logical view for retrieval of battery voltage from a vehicle.

 

Top

Retrieval Process Diagram

Logical process flow for retrieval of battery voltage from a vehicle.

 

Top

Synchronous Retrieval Sequence

Logical sequence diagram for on-demand retrieval of the vehicle speed from the vehicle CAN bus.

 

Sequence message descriptions.

  1. An external CUSW ECU puts value 0x450 on the bus for CAN signal VehicleSpeed.
  2. The CUSW signal is converted to the Powernet signal VEH_SPEED using the transfer function.
  3. The Powernet signal value 0x2280 for VEH_SPEED is sent to the Vehicle Service CAN Handler on the main micro.
  4. The received signal is cached in a publish and subscribe queue.
  5. An app requests the vehicle speed using the Speedometer CAN signal.
  6. If the value changed the resolution and return value format are looked up in sensor properties.
  7. The signal is adjusted for the resolution.
  8. The transformed signal value is sent to the Kona implementation
  9. The requested CAN signal is returned to the app in the format specified in sensor properties.

Top

Asynchronous Retrieval Sequence

Logical sequence diagrams for retrieval of battery voltage from a vehicle when the voltage changes.

 

Sequence message descriptions.

  1. An app using the Kona interface registers to receive the battery sensor value when it changes.
  2. The Kona implementation passes the request to the Vehicle Service CAN Handler.
  3. The Vehicle Service CAN Handler looks up the Battery signal in sensor properties to find its PowerNet equivelant. A subscription (request for notification on change) is created for the BATT_VOLT signal.
  4. An external ECU puts value 0xE0 on the bus for CUSW CAN signal BatterVoltageLevel.
  5. The CUSW signal is converted to the Powernet signal BATT_VOLT using the transfer function.
  6. The Powernet signal value 0x8c for BATT_VOLT is sent to the Vehicle Service CAN Handler on the main micro
  7. The received signal is cached. If the value changed the resolution and return value format are looked up in sensor properties and the signal value is adjusted.
  8. The adjusted signal value for battery voltage is returned to Kona.
  9. Kona returns the adjusted signal value for battery voltage is returned to Kona.

Top

Download Signal to Feature Mapping

Signal to Feature Mapping contain a mapping of connected features and the CAN signals they use.

indicates a downloadable version.
Model Year Version Change Request File Type Download
MY20 R1 V4 DCR 11841 XLSX

Top

Download Sensor Properties

Sensor Properties contain a mapping of app sensors to CAN signals. An app will request CAN signal data using a sensor.

indicates a downloadable version.
Model Year Version Change Request File Type Download
MY20 1.1.0 DCR 11841 JSON
MY20 1.1.0 DCR 11841 XLSX
MY20 1.1.3 DCR 13384 JSON
MY20 1.1.3 DCR 13384 XLSX
MY20 1.1.4 DCR 13672 JSON
MY20 1.1.4 DCR 13672 XLSX
MY21 1.1.1 DCR 12100 JSON
MY21 1.1.1 DCR 12100 XLSX
MY21 1.1.2 DCR 12792 and 12793 JSON
MY21 1.1.2 DCR 12792 and 12793 XLSX
MY21 1.1.3 DCR 13385 JSON
MY21 1.1.3 DCR 13385 XLSX
MY21 1.1.4 DCR 13673 JSON
MY21 1.1.4 DCR 13673 XLSX

Top

Download Transfer Functions

Transfer Functions are used to map CUSW and Atlantis CAN architecture signals to the base PowerNet signal.

indicates a downloadable version.
Model Year Version Change Request File Type Download
MY20 V1 R1 SR20 1A XLSX
MY20 V1 R2 SR20 2A XLSX
MY20 V1 R3 DCR 11841 XLSX
MY20 V1 R4 DCR 12792 and 12793 XLSX
MY20 V1 R5 DCR 13384 XLSX
MY20 V1 R6 DCR 13672 XLSX
MY21 V1 R1 DCR 12100 XLSX
MY21 V1 R2 DCR 13385 XLSX
MY21 V1 R3 DCR 13673 XLSX
MY21 V1 R4 DCR 13673 XLSX

Top

Updated: 05/31/2019