Speak EV - Electric Car Forums banner
1 - 1 of 1 Posts

· Registered
VW Passat GTE
676 Posts
However, after a while (around 40 mins or so) it starts to alternate from +32.7 to -32.7 (a few times a second).
Are they using a 16 bit integer to store the current in milliamps...? -32768 to +32767 looks like an overflow to my engineering brain.
it will go back to -32.7A (this makes no sense to me as this suggest it's charging)
Unless they're incorrectly using a signed integer... -32768 would be 0 if it was unsigned.

Could be bad programming, could be coincidence...
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.