Programming LED14

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
107merc
Experienced MS/Extra'er
Posts: 167
Joined: Fri Mar 28, 2014 10:35 am

Programming LED14

Post by 107merc »

Back for more help. Want to program D14, injector LED on my MSII/extra to flash in synch with the inj lamps on the JimStim.
Have selected D14 in the "programmable on/off outputs" but am not sure what settings to use. T/S is set to 2 squirts/alternating
and the J/S inj. LED's are flashing in synch with the RPM setting
Just a list of proper settings would be great but an explanation of how those values are reached would be even more appreciated.
Thanks.
racingmini_mtl
Super MS/Extra'er
Posts: 9128
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Programming LED14

Post by racingmini_mtl »

Don't set D14 as a programmable on/off output. By default, D14 does what you want.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programming LED14

Post by slow_hemi6 »

Jean is right but should you wish to use another output....
I am fairly sure you need
Output Channel- PortT, And, Threshold- 1, Hysteresis- 0.0
OR
Output Channel- PortT, And, Threshold- 4, Hysterisis- 0.0

PortT bit1 is inj1, and bit3 is inj2. It's hard to find the various info to put it together, but it is in the manual.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
107merc
Experienced MS/Extra'er
Posts: 167
Joined: Fri Mar 28, 2014 10:35 am

Re: Programming LED14

Post by 107merc »

racingmini_mtl wrote:Don't set D14 as a programmable on/off output. By default, D14 does what you want.

Jean
Any thoughts on why D14 isn't flashing then? inj 1 and 2 on the J/S are,
and I verified that D14 was good.
Thanks.
racingmini_mtl
Super MS/Extra'er
Posts: 9128
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Programming LED14

Post by racingmini_mtl »

Post your msq.
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programming LED14

Post by dontz125 »

slow_hemi6 wrote:Jean is right but should you wish to use another output....
I am fairly sure you need
Output Channel- PortT, And, Threshold- 1, Hysteresis- 0.0
OR
Output Channel- PortT, And, Threshold- 4, Hysterisis- 0.0

PortT bit1 is inj1, and bit3 is inj2. It's hard to find the various info to put it together, but it is in the manual.
Unless I've misunderstood / lost track, you need to set the 'Hysteresis' value equal to the bitmask to have it trigger while the bit is ON. It works out as PORTT AND 1 = 1, or PORTT AND 4 = 4. To check if they're both on, PORTT AND 5 = 5.
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
107merc
Experienced MS/Extra'er
Posts: 167
Joined: Fri Mar 28, 2014 10:35 am

Re: Programming LED14

Post by 107merc »

2017-03-27_10.27.07.msq
This is the .msq
racingmini_mtl
Super MS/Extra'er
Posts: 9128
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Re: Programming LED14

Post by racingmini_mtl »

I think this might be a bug. If you check the list of I/O pins, it shows that D14 is used for spark A. Even though you're using EDIS and spark A is shaded in the list, it might still be assigned to ignition instead of the default injection LED. I am not currently set to test this.

Try to go in the ignition settings and change the mode from EDIS to basic trigger. Then change the spark output from D14 to JS10 and go back to the EDIS mode. See if that fixes your issue.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programming LED14

Post by slow_hemi6 »

dontz125 wrote:
slow_hemi6 wrote:Jean is right but should you wish to use another output....
I am fairly sure you need
Output Channel- PortT, And, Threshold- 1, Hysteresis- 0.0
OR
Output Channel- PortT, And, Threshold- 4, Hysterisis- 0.0

PortT bit1 is inj1, and bit3 is inj2. It's hard to find the various info to put it together, but it is in the manual.
Unless I've misunderstood / lost track, you need to set the 'Hysteresis' value equal to the bitmask to have it trigger while the bit is ON. It works out as PORTT AND 1 = 1, or PORTT AND 4 = 4. To check if they're both on, PORTT AND 5 = 5.
You're probably right Don, I've not done it myself.
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
107merc
Experienced MS/Extra'er
Posts: 167
Joined: Fri Mar 28, 2014 10:35 am

Re: Programming LED14

Post by 107merc »

Thanks everyone for responding, I should probably move this up to the MSll/extra forum. After further checking
we noted that pin 39 and 40 of U1, the inj1 and inj2 outputs, were flashing there little hearts out but pin 7 which controls
the "squirt" lead to the D14 ckt. was not flashing and only had .003V output, not enough, I don't think, to turn on Q6 that controls D14.
So I may have a serious problem unless I'm missing something. Thanks again.
slow_hemi6
Super MS/Extra'er
Posts: 4122
Joined: Fri May 07, 2004 3:33 am
Location: Australia

Re: Programming LED14

Post by slow_hemi6 »

just a thought, Do you have it configured as spark output?
Find the Manuals up top under Quick links: Manuals. :RTFM:
Cheers Luke
dontz125
Super MS/Extra'er
Posts: 4200
Joined: Mon May 11, 2009 7:14 pm
Location: York, ON
Contact:

Re: Programming LED14

Post by dontz125 »

Just sticking my oar in:
racingmini_mtl wrote:Try to go in the ignition settings and change the mode from EDIS to basic trigger. Then change the spark output from D14 to JS10 and test for D14 flashing and go back to the EDIS mode and test D14 again. See if that fixes your issue.
It suddenly occured to me that if the error is in how the EDIS mode handles D14, changing the D14 / JS10 spark in Basic then going straight back to EDIS might not catch it.
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Programming LED14

Post by jsmcortina »

To the guys posting suggestions. It is probably worth trying your ideas on the bench before posting.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
107merc
Experienced MS/Extra'er
Posts: 167
Joined: Fri Mar 28, 2014 10:35 am

Re: Programming LED14

Post by 107merc »

racingmini_mtl wrote:I think this might be a bug. If you check the list of I/O pins, it shows that D14 is used for spark A. Even though you're using EDIS and spark A is shaded in the list, it might still be assigned to ignition instead of the default injection LED. I am not currently set to test this.

Try to go in the ignition settings and change the mode from EDIS to basic trigger. Then change the spark output from D14 to JS10 and go back to the EDIS mode. See if that fixes your issue.

Jean
Jean, was going through my notes and realized I never thanked you, that did indeed fix the problem.
Post Reply