Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Arbitration ID in ECU

I am trying to connect to a device expecting extended CAN addressing through CCP and the ECU toolkit, However I cannot figure out how to set the address to be extended..

 

I am failing on connect.

0 Kudos
Message 1 of 5
(5,843 Views)

You must set the 30th bit of the ID. This can easily be done with a logical OR --> ID OR 0x20000000.

 

See here or here for more details.

 

 

0 Kudos
Message 2 of 5
(5,837 Views)
If you are using LabVIEW check the example finder under Addon / ECUMC / Advanced / Measurent and Calibration Application.vi

You can Change there connwction settings like ext ID at VI startup time
0 Kudos
Message 3 of 5
(5,833 Views)

Thank you, this was what I was looking for. One note, the example code I installed on my PC from the ECU toolkit, the subCANCompose.vi had the wrong value in it for the 30th bit.

 

But I got it working.

 

David

0 Kudos
Message 4 of 5
(5,814 Views)

as far as I know in fact we allow to set any bit beyond 29 and interpret this as extended IDs as this is not defined in the ASAM standard and other A2L files created by various 3rd party tools dont use bit 30. So we need to be flexible 😉

0 Kudos
Message 5 of 5
(5,811 Views)