how fast CrossChasm read data from CAN?

38 views
Skip to first unread message

Tannaz S

unread,
Apr 5, 2016, 6:22:00 PM4/5/16
to OpenXC
Hello

I have a CrossChasm and it gives 80% of parameters with "vi-firmware-type2-CROSSCHASM_C5-ctv6.0.3-csv6.0-1-gb3f9b6b". I want to know how fast it sent data out.

I know that diagnostic commands send a request and receive response from CAN. Also, I know that the frequency of reading can be configured similar to given examples in "
http://vi-firmware.openxcplatform.com/en/master/config/diagnostic.html" and I looked at source code and understand that # Max simultaneous diag request sets to 20. 
but I want to know without doing any configuration and with default config,

1. how frequently diag. commends are sent to CAN and how fast it receives respond from CAN?  

2. How fast data are sent out by C5?


An other problem, I flash the C5 with  "vi-firmware-type2-CROSSCHASM_C5-ctv6.0.3-csv6.0-1-gb3f9b6b" and it started reading data while connecting to OBD interface in a Ford truck (F 250) but the problem is that after a short time it stoped working and the LED which was green suddenly turns off. I couldn't guess the reason since the day before that it works continuously! Do you have any suggestion to solve this matter?

Regards,
TANNAZ

Eric Marsman

unread,
Apr 7, 2016, 4:29:26 PM4/7/16
to OpenXC
Hi Tannaz,

The "type2" firmware you specified does NOT do any diagnostic requests. It only listens to the CAN traffic and decodes signals at the rates specified here.

If you use the "translated-obd2" firmware from github, it will do the following. This is taken from vi-firmare/src/obd2.cpp

    { pid: ENGINE_SPEED_PID, name: "engine_speed", frequency: 5 },
    { pid: VEHICLE_SPEED_PID, name: "vehicle_speed", frequency: 5 },
    { pid: 0x4, name: "engine_load", frequency: 5 },
    { pid: 0x5, name: "engine_coolant_temperature", frequency: 1 },
    { pid: 0x33, name: "barometric_pressure", frequency: 1 },
    { pid: 0x4c, name: "commanded_throttle_position", frequency: 1 },
    { pid: 0x27, name: "fuel_level", frequency: 1 },
    { pid: 0xf, name: "intake_air_temperature", frequency: 1 },
    { pid: 0xb, name: "intake_manifold_pressure", frequency: 1 },
    { pid: 0x1f, name: "running_time", frequency: 1 },
    { pid: 0x11, name: "throttle_position", frequency: 5 },
    { pid: 0xa, name: "fuel_pressure", frequency: 1 },
    { pid: 0x10, name: "mass_airflow", frequency: 5 },
    { pid: 0x5a, name: "accelerator_pedal_position", frequency: 5 },
    { pid: 0x52, name: "ethanol_fuel_percentage", frequency: 1 },
    { pid: 0x5c, name: "engine_oil_temperature", frequency: 1 },
    { pid: 0x63, name: "engine_torque", frequency: 1 },


For your second issue, no, no real ideas. Need to gather more info. Are you still having the problem? 

Regards,
Eric
Reply all
Reply to author
Forward
0 new messages