RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 2:15 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: 32bit ECU MAF Voltage - Can you get more than 2 Decimals
PostPosted: Mon Dec 30, 2024 12:08 am 
Offline
Newbie

Joined: Wed Apr 17, 2024 6:15 pm
Posts: 31
Hi Team,

As per the subject, is there a way to get what the ECU is reading the MAF voltage as - that is more the 2 decimals, looks like the stock is 8 bit value / 50 = max 2 Decimals, is there an extended way to read the full voltage.

In logging I see the Grams/s changing while the MAF volts stayed at 1.32v which to me implies it actually reads more precision (which would make sense as 2 dp is pretty low res) but only outputting a lower resolution to the logging?

I did a quick hack of the config for the Rom Raider Logger, changed the formatting to 0.000, but it always has the 3 decimal point as 0, and taking a 8 bit value and dividing by 50 makes sense for logging (the built in Tactrix logging def has that). 255/50 = 5.1volts max...

I'm trying to calibate an ADC to what the ECU is reading from the MAF, so ideally would like to see 3 decimal points form the ECU.

Cheers,
Ryan


Top
 Profile  
 
 Post subject: Re: 32bit ECU MAF Voltage - Can you get more than 2 Decimals
PostPosted: Mon Jan 27, 2025 9:18 pm 
Offline
Newbie

Joined: Thu Jan 09, 2025 8:26 pm
Posts: 7
Hello. As far as I know, the MAF scaling in the ECU is in 16 bits and not 8, hence the distortion (at least in my Hitachi 32bit)


Top
 Profile  
 
 Post subject: Re: 32bit ECU MAF Voltage - Can you get more than 2 Decimals
PostPosted: Sat Jul 12, 2025 12:43 am 
Offline
Newbie

Joined: Wed Apr 17, 2024 6:15 pm
Posts: 31
Just replying to this thread just in case someone else ends up looking for this.

As Kamil_Ziomek stated this appears to be 16 bit, and I've now found how to get it into the logs at full resolution as below;

The full resolution raw A/D value for rom AZ1G800S is at FFFF4042 (no doubt different address for different roms) and is a 2 byte (word -aka 16 bit) unsigned multiply by 0.000076293945 to get actual volts

Add something like this into Rom Raider Logger XML to make it available to log

<ecuparam id="E32B" name="MAF Volts HiRes (2-byte)*" desc="E32B-Raw MAF Volts (2-byte)" target="1">
<ecu id="7404794007">
<address length="2">0xFF4042</address>
</ecu>
<conversions>
<conversion units="Volts" storagetype="uint16" expr="x*0.000076293945" format="0.0000" />
</conversions>
</ecuparam>

Cheers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl