E46 Wheel Speed in Latest Firmware

Discussions on CAN mapping for ECUs, sensors, PDMs, and more.
Post Reply
eacmen
Posts: 15
Joined: Fri Dec 30, 2016 7:39 am

E46 Wheel Speed in Latest Firmware

Post by eacmen »

So I am trying to get wheel speed working with the latest CAN Mapping support. The E46 Wiki still has the LUA script and the link to the "database" only has like 4 CAN PIDs that are listed for E46.

When I log pid 496 in the garage (ECU on but car not in motion) I get the following output:

Code: Select all

[496.0]: 10, 0, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 32, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 64, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 96, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 0, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 32, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 64, 10, 0, 10, 0, 10, 0, 
[496.0]: 10, 96, 10, 0, 10, 0, 10, 0, 
Is my LF wheel speed sensor broke or is that the intended output when not moving?

Based on all the research I have seen each wheel speed is 12 bits of each 2 byte chunks of that PID. However given that logic when I am at rest in the garage I have a speed of 2560kmph.

I saw this post from Mustangkev:
viewtopic.php?p=26835#26835

I used his offsets and I get the same results. This is an E46 M3, are there any differences between the M3 PIDs an others?

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Not familiar with the E46 wheel speed sensors.

If that's the raw data coming from ID 496, and it doesn't match what the script or mapping expects, then perhaps there's something weird with the sensor.

How does the original Lua script work with the wheel speeds? That would be the biggest tell.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Mustangkev
Posts: 27
Joined: Thu Apr 09, 2015 8:18 pm

Post by Mustangkev »

Not sure if you solved this by now but the bits that are at the end of the wheel speed sensors can cause erroneous readings. It’s possible that your reading them by mistake. When I first got the wheel speeds working I used a small script to remove these readings which is here:

viewtopic.php?t=4488&highlight=

Try this and see if it solves your problem. If so, then It should indicate where the issue is.

kijones
Posts: 32
Joined: Thu Jul 27, 2017 3:21 pm
Location: Colorado

Post by kijones »

I hve noticed that my wheel speed sensors are all reading erratic after the update also

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi, There were fixes made in the 2.13.0 firmware around little-endian bit mode encoding that coincidentally broke the E46 little-endian mapping. We're investigating why this is happening, and what to do to account for both. We won't release 2.13.x firmware out of beta until resolved.

You can use 2.13.0 if you want to remove wheel speed sensors for now, or, just fall back to 2.12.0.

Thanks,
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply