JS7/PE0 vs. PE0 confusion..

All questions about MS2/Microsquirt/Microsquirt module. See also MS2/Extra manuals

Moderators: jsmcortina, muythaibxr

2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

JS7/PE0 vs. PE0 confusion..

Post by 2swe »

Hi, years ago I built a ground switched circuit as per manual using JS7/PE0 for launch control, so far everything was working great.
NOW I wanted to try spark table switching, so I disabled launch control (Boost/Advanced, Launch control, Launch control option - Off) , then I activated spark table switching (Boost/Advanced, Table switching control, Spark table switching - On, Switch source - Hardware and Switch location - PE0)
But it doesn't work, no change in spark advance, no change in "Status 1" in datalog.
Whats wrong ?
Attachments
2017-10-08_21.30.08 spark table switching.msq
(124.23 KiB) Downloaded 34 times
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
Matt Cramer
Super MS/Extra'er
Posts: 17499
Joined: Thu Apr 16, 2009 8:08 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by Matt Cramer »

If you activate Port Status, can you see if the input toggles the status of Port E0 in TunerStudio?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
rickb794
Super MS/Extra'er
Posts: 6155
Joined: Sun Dec 21, 2008 10:28 am
Location: Portland OR

Re: JS7/PE0 vs. PE0 confusion..

Post by rickb794 »

What about the jumper on the daughterboard/processor?
Correctly identify your MS ecu here
Read the Do's and Don'ts to avoid the common pitfalls before starting your install or asking for help
Use only these manuals other manuals may cause brain damage or worse.
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

Thanks for input Matt,

with ignition ON and engine not running, the "PortE0" is green, when I press the switch, "PortE0" toggles to white..
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

does the green highlighted "PortE0" mean PE0 is "high" ?
does PE0 going "high" mean Ignition table 3 use ?
any chance PE0 being high during initial power on is problem ?
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
prof315
Super MS/Extra'er
Posts: 3760
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: JS7/PE0 vs. PE0 confusion..

Post by prof315 »

Tableswitch only works on a running engine
Linfert Performance/321 Motorsports
SCCA 2019 SM National Champion Crew Chief
SCCA 2023 FP National Champion Tuner/electrical engineer
100s of MS systems built installed and tuned
Support the developers!
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

the engine was running before I started this thread, and was running today with Port Status activated.
PORTE0 togles on and off as I operate the switch, "Spk Tbl sw" stays grey, no change in spark advance..
no matter if I power on MS or crank engine with switch depressed or open.
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

MAP and TPS based spark table switching works..
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

upgraded form 3.3.3. to 3.4.2. , no change
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: JS7/PE0 vs. PE0 confusion..

Post by jsmcortina »

Please post a datalog showing the problem and your tune file.

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".
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

hope this helps..
btw: what is PORTE0 value in PORTs BDE datalog field ?
Attachments
2017-10-14_17.42.25.zip
(316.82 KiB) Downloaded 24 times
2017-10-15_08.52.13.msq
(126.28 KiB) Downloaded 19 times
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

PORTE0 is 1, am I right ? whenever I operate the switch, PORTs BDE goes 1 point up or down..
Last edited by 2swe on Sun Oct 15, 2017 10:43 am, edited 1 time in total.
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: JS7/PE0 vs. PE0 confusion..

Post by jsmcortina »

2swe wrote:hope this helps..
btw: what is PORTE0 value in PORTs BDE datalog field ?
I thought this information was in the manual, but it hasn't made it to the MS2 manuals yet.

For the programming inclined, this is what's going on.

Code: Select all

            /* port status */
            outpc.portbde = (PORTE & 0x13) | (PTAD & 0xc0) | ((PORTB & 0x10) << 1);
            outpc.portam = (PTM & 0x3c) | (PORTA & 0x01);
            outpc.portt = PTT;
So that means that bit0 (value1) in portbde is equivalent to PORTE0.

If you create a calculated field in MegaLogViewer as "[PORTBDE] & 1" you'll see it.

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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: JS7/PE0 vs. PE0 confusion..

Post by jsmcortina »

Is that MSQ the one used for the log? In the log, the spark table is switching based on RPM ?
I examined the code and it looks ok, but I've not bench tested it yet.

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".
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

I'm not 100% sure this is the msq used for the log, but I'm sure the spark table switching parameters were OK - ON, Hardware and PE0.

yes, I have been trying also RPM and TPS triggered spark table switching, as you can see both ways worked (RPM > 2000, TPS > 10%)
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

can anybody try to replicate this ? please..
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: JS7/PE0 vs. PE0 confusion..

Post by jsmcortina »

Please post a matching MSQ and MSL with the setting turned on.

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".
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

Hi, James
I posted maching MSQ and MSL before, but I agree informations I gave to you was little bit confusing :)

look at the screenshoot "datalog1"
datalog1
datalog1
datalog1.gif (66.02 KiB) Viewed 1155 times
1. I started dataloging with these settings : spark table switching ON, source Hardware, position PE0
you can see PE0 status toggling with no change in status1.

2. launch control was not active, but there was still "JS7/PE0" as a source fo launch control, I thought maybe there is conflict, so I turned LC on, and changed to another source, then I turned LC off and power cycled.
you can see reset marks.

3. another switch operations, same settings spk tbl swiching ON, Hardware, PE0, no status1 change.

4. then I tried spk tbl swich triggered by RPM > 2000, it worked, status1 going from 136 to 200 indicates Spk Tbl switching in effect.

5. then I tried TPS > 10% triggered spk tbl swiching, worked, status1 confirmed it

6. status1 - 168 indicating fuel table switching in effect.

7. finally I returned to hardware and PE0 setting, operated switch, no joy...



Sunday morning I made a trip with this MSQ (Spk tbl switching ON, Hardware, PE0), because the switch and PE0 input circuit was originaly intended for launch control, and Spk Tbl swiching doesn't work, it is still operated by cluch pedal.
so everytime I change gear, PE0 toggled, but status1 stays unchanged.
screenshoot says it all, no need to upload 58MB datalog..
Attachments
2017-10-15_11.47.30.msq
sunday tune
(104.46 KiB) Downloaded 17 times
sunday trip
sunday trip
datalog2.gif (63.28 KiB) Viewed 1155 times
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: JS7/PE0 vs. PE0 confusion..

Post by jsmcortina »

Did you power-cycle after changing settings?

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".
2swe
Experienced MS/Extra'er
Posts: 330
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Post by 2swe »

once, after fiddling with launch control when TS told me to do so, otherwise not.
1978 vw golf gti 16v itb cop full sequential MS2
1992 vw corrado 16v moonlight blue MS2
Post Reply