Page 2 of 3
Posted: Fri Aug 18, 2017 12:33 am
by kijones
It is connected to CAN 1
Posted: Fri Aug 18, 2017 12:41 am
by brentp
So the first CAN bus. That seems to correlate with the '0' you have in the script as well - you must be using the default script, as-is.
As you can see, the script seems to show that it's not receiving any data at all.
You might want to double check the connections and the settings in the AEM system to verify it's broadcasting correctly.
It also looks like it's setting the baud rate to 500K - is termination is enabled? How about if termination is disabled?
Are the AEM and the RCP the only two devices on that CAN bus?
You said you had a separate script that was correctly mapping the data - does that still work?
Posted: Fri Aug 18, 2017 2:16 am
by kijones
Termination was enabled
AEM and RCP are directly tied together and the only thing on the CAN network
The script I used was this one:
https://wiki.autosportlabs.com/AEM_Infinity_6H
I reset the firmware, then loaded the script for the AEM and the can channels in the script work again, with both termination enabled and disabled.
Posted: Fri Aug 18, 2017 2:29 am
by kijones
well not sure how to explain it but it all works, except steering.. which may just be an issue with the way the OEM BMW steering angle sensor is with the AEM.
I reset firmware, then ran known good script and those few channels started.
Then i tried to turn on the custom channels but the overlapping channels were making the data fluctuate badly.
I the reloaded the firmware, made sure to clear script and turned on all my custom channels again... and boom. They all showed up and are working.
Not sure how, but I will take it.
Posted: Fri Aug 18, 2017 1:49 pm
by brentp
Glad it seems to be working. Are you using the E46 style steering angle sensor? Is that feeding directly into the same CAN bus that the AEM is using?
Posted: Fri Aug 18, 2017 2:24 pm
by kijones
Yes, using the OEM Sensor + The plug and play adapter for the AEM infinity.
Posted: Fri Aug 18, 2017 2:43 pm
by brentp
What's the plug and play adapter ? Is that for the steering angle sensor?
Posted: Fri Aug 18, 2017 2:49 pm
by kijones
No, the plug and play adapter is for the whole ECU harness, so there is 0 wiring for the AEM install.
IT is a specific AEM INfinity also that is made to support all the OEM BMW CAN functions.
Posted: Fri Aug 18, 2017 2:59 pm
by brentp
Thanks, that's helpful
Posted: Fri Aug 18, 2017 9:43 pm
by kijones
LOL, makes it easier to visualise.
So, i hooked the laptop up to AEM, and opened thier tuning software and was able to verify that AEM in fact can see the stock steering senor and it is working.
Here are the screenshots from AEM, in the PDF it lists it as a 2 bit data length with 2 offset in the table. This says it is a 24bit offset with length 16. I tried using the bit mode enabled to selsct the 24(16) for the steering angle sensor but got nothing. Do i need a mask or othr offset for this type of data?
Posted: Tue Aug 22, 2017 3:50 pm
by kijones
Brent,
any thoughts on how to set up the steering angle sensor with this info from AEM?
Feel like I am missing something...
Posted: Wed Aug 23, 2017 4:21 pm
by kijones
Update:
Got confirmation that for the e46 M3, the AEM Infinity does not output the steering angle data to the CAN.
The AEM can see the info from the stock sensor, but just does not output. I have asked to see if it is possible to add it as an output for he e46. I'll update when i have an answer.
Posted: Wed Aug 23, 2017 4:23 pm
by brentp
Can you simply tap into the E46 steering angle sensor data directly? That's how we do it with the standard integration.
Posted: Wed Aug 23, 2017 4:26 pm
by kijones
I suppose I could manually tap it and then add it into one of the analog sensor inputs in the RCP.
Is that what you were thinking?
Posted: Wed Aug 23, 2017 4:29 pm
by brentp
If you're using an E46 steering angle sensor then the output is CAN bus. If you're using something else that outputs an analog signal, then you could tap into that directly, as you described.