RealDash CAN XML startbit method and endianess

@realdashdev the Mazda canbus I am working on is big endian, but the results I got using startbit trialling both endians left me a little confused; both bits were set, so should have resulted in 3, which the little endian version did, but the big endian version gave me 1. Does RealDash amend the direction of the startbit location based upon the endianness i.e. aligned with the DBC format?

RealDash

value name=“MZ: ccs_le” startbit=“1” bitcount=“2” endianess=“little” signed=“false”
value name=“MZ: ccs_be” startbit=“2” bitcount=“2” endianess=“big” signed=“false”

DBC

SG_ ccs_le : 1|2@1+ (1,0) [0|0] “” Vector__XXX
SG_ ccs_be : 2|2@0+ (1,0) [0|0] “” Vector__XXX

Thank you for reporting, will investigate.

@realdashdev hi, just wondering if you managed to look at this

Not yet, its on todo list though.

1 Like