Could someone give me a helping pointer towards where to get the outer capacity bars in 0x5BC?
Two example frames from a 2015 Leaf (with 3 as mux).
0x17 c0 f0 64 c9 03 02 d0
0x17 c0 50 64 c8 03 03 fc
The excel sheet says:
"The battery capacity gauge (the bars outside the fuel gauge) is controlled by a muxed field, when 0x5BC bits 32-35 (ie the low nibble of the 5th byte) is 0x3, 0x5BC bits 16-19 (ie the low nibble of the 3rd byte) contains the capacity bars."
This doesn't make any sense to me. If I assume the Byte goes from 0-7, here is where the muxed is
0x17 c0 f0 64 c9 03 02 d0
Then the capacity bars should be in
0x17 c0 f0 64 c9 03 02 d0
The high nibble of this section is HEX: F == DEC = 15, which makes no sense since it's at 12/12 capacity bars. What am I missing?!
Two example frames from a 2015 Leaf (with 3 as mux).
0x17 c0 f0 64 c9 03 02 d0
0x17 c0 50 64 c8 03 03 fc
The excel sheet says:
"The battery capacity gauge (the bars outside the fuel gauge) is controlled by a muxed field, when 0x5BC bits 32-35 (ie the low nibble of the 5th byte) is 0x3, 0x5BC bits 16-19 (ie the low nibble of the 3rd byte) contains the capacity bars."
This doesn't make any sense to me. If I assume the Byte goes from 0-7, here is where the muxed is
0x17 c0 f0 64 c9 03 02 d0
Then the capacity bars should be in
0x17 c0 f0 64 c9 03 02 d0
The high nibble of this section is HEX: F == DEC = 15, which makes no sense since it's at 12/12 capacity bars. What am I missing?!