Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
Fuel consumption in 0x480 - need help understanding
Pages: [
1
]
« previous
next »
Author
Topic: Fuel consumption in 0x480 - need help understanding (Read 3905 times)
Keith-i
Newbie
Karma: +0/-0
Offline
Posts: 14
Fuel consumption in 0x480 - need help understanding
« on: October 29, 2019, 02:17:24 AM »
I'm grabbing can frames from the EDC16 in my 3.0 tdi to display various info such as rpm, engine temp etc. So far I have been successful but I am having difficulty understanding the fuel consumption data. It is split across bytes 2 & 3 in 0x480.
As far as I can tell, byte 2 holds the fuel consumption low value, whilst bits 0-6 of byte 3 holds the high value. Bit 7 of byte 3 is the consumption overflow marker.
So what is the 'overflow' marker for?
If I get say C7 CE in hex which rearranged to high value low value order is CE C7.
In binary this is 1100 1110 1100 0111. Drop the first 1 as that is the overflow mark I get 0b100111011000111 which is dec 20167. Is this correct? Presumably if I then calculate the next reading at 20ms interval I can calculate average consumption.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
November 30, 2024, 12:28:26 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...