×

Sale ends todayGet 30% off any course (excluding packages)

Ends in --- --- ---

Using SPI input for Shift Points

Introduction to Engine Tuning

Forum Posts

Courses

Blog

Tech Articles

Discussion and questions related to the course Introduction to Engine Tuning

= Resolved threads

Author
62 Views

Hi,

Currently I would like to make use of SPI input to be able to change the Auto Shift Points of an a340 trans from normal mode to max rev mode.

Basically the aim is to use a switch as input to Haltech Elite ECU, and perform the below actions:

1) When switch is depressed the Auto Shift Points table does not Rev more than 3500 RPM on each gear.

2) When switch is pressed the Auto Shift Points table Rev around 6500 rpm approx. on each gear.

For (1) the car seems to be working perfectly, however for (2) please check below:

I can confirm that the SPI Input to the ECU is capable of reading Voltage between 0.00 to 0.0X Volts.

Also I have enabled SPI as an addon to the axis under the Auto Shift Points - using Auto Shift Point Axis, Pedal Position Source, RPM and SPI.

However when pressing/depressing the button although I can see the change from 0.00V to say 0.09V, the Auto Shift Point Table reference remains as per (1), however if from the laptop I move the circle dot via mouse button slider (middle bottom of screen) to the higher voltage according to SPI value, table (2) is shown correctly matching the higher rpm range.

Could it be that I am missing something from the configuration of the SPI switch? thanks.

Note: Under "Selector Position" - I have left the overdrive switch as Disabled.

I have also set RPM Shift Point tables as a safeguard, and can confirm that for (1) it works fine, and also when the SPI switch input is "on", the RPM Shift Point Table toggles to use the second column allowing higher RPM Shift Point Values as a safeguard.

If the 'Drive' Voltage calibration under "Selector Position" falls between the same Voltage tolerance of the SPI input switch - will this cause the Auto Shift Points to keep using the same AutoShiftPoint table, ie. Table (1) in this case? if yes, what can be the remedy?

Looking forward for your reply !

For reference please find attached how the Overdrive Switch has been connected, using a Relay to ECU SPI pin.

Since the Overdrive switch wiring is providing +ve 12V, I am using a relay as per diagram, as a switch input to ECU SPI pin.

This allows Continuity/No-Continuity on the ECU SPI input Pin, when the Overdrive switch is pressed/depressed.

The aim is to not use Direct Voltage inputs on the SPI Connections.

Attached is a video of the Input Voltage signal when button is pressed/depressed - "SPI-Voltage-Switch-On-Off.mp4"

Another thing to note is that the Assigned Function to this input is marked as "Not In Use"

Could it be that I need to:

1) Under Transmission > Selector Position, I need to Enable Overdrive as "Separate Digital Input" & tick "Overdrive Requires Drive"

2) Under Transmission > Selector Position Wiring, Assign SPI input as an "Overdrive Input" as a Generic Condition, using Mode: "Input Switch Only"

3) Under Generics > Generic Condition 1 - Wiring , set the Edge Select as "Falling", Pull Up as "Enabled", Button mode "Push On, Push Off", Startup State to "Last State" (i.e. this will be according to whether the button has been left pressed/depressed)

Note: Am I correct that since the SPI Pin is receiving a Voltage of around -0.14V when button is depressed to 0.08 V when button is pressed this is considered as an undetermined floating voltage value to the ECU? hence we need to set Pull Up to Enabled to determine 2 states (On {High} or Off {Low}).

Also can this switch be set in this way, as a Hall Effect 'Digital' sensor, enabling pull up with a Trigger on Falling Edge?

4) Then Under Generics > Generic Condition 1 - Wiring > Synced Pulse Input 4 Arming Voltage, set 0 Volts for 500 rpm, and 2.5V for all the other RPM Ranges from 1000rpm -> till 7000rpm.

Attached Files

We usually reply within 12hrs (often sooner)

Need Help?

Need help choosing a course?

Experiencing website difficulties?

Or need to contact us for any other reason?