JS7/PE0 vs. PE0 confusion..

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

Moderators: jsmcortina, muythaibxr

JS7/PE0 vs. PE0 confusion..

Postby 2swe » Fri Oct 13, 2017 5:57 am

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 4 times
1978 vw golf gti 16v itb cop full sequential MS2
User avatar
2swe
Experienced MS/Extra'er
 
Posts: 192
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Postby Matt Cramer » Fri Oct 13, 2017 6:04 am

If you activate Port Status, can you see if the input toggles the status of Port E0 in TunerStudio?
Matt Cramer
Super MS/Extra'er
 
Posts: 13554
Joined: Thu Apr 16, 2009 8:08 pm

Re: JS7/PE0 vs. PE0 confusion..

Postby rickb794 » Fri Oct 13, 2017 6:42 am

What about the jumper on the daughterboard/processor?
This is my brain on MegaSquirt!
Use only these manuals http://www.msextra.com/manuals/
Avoid the common pitfalls, Read this before start http://www.msextra.com/forums/viewtopic.php?f=101&t=65757
rickb794
Super MS/Extra'er
 
Posts: 2758
Joined: Sun Dec 21, 2008 10:28 am
Location: Portland OR

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Fri Oct 13, 2017 8:59 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Fri Oct 13, 2017 11:03 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby prof315 » Sat Oct 14, 2017 3:30 am

Tableswitch only works on a running engine
Linfert Performance: Come run up front
92 Corrado 2.0L ABA and Borg Warner EFR 6258 on MS3Pro.
94 Ranger 2.3 Twin Plug on MS2
Support the developers!
prof315
Super MS/Extra'er
 
Posts: 2451
Joined: Sun Jan 18, 2009 3:13 am
Location: Melbourne, FL

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sat Oct 14, 2017 8:29 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sat Oct 14, 2017 8:58 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sun Oct 15, 2017 3:07 am

upgraded form 3.3.3. to 3.4.2. , no change
1978 vw golf gti 16v itb cop full sequential MS2
User avatar
2swe
Experienced MS/Extra'er
 
Posts: 192
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Postby jsmcortina » Sun Oct 15, 2017 9:16 am

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

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

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33748
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sun Oct 15, 2017 10:20 am

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 1 time
2017-10-15_08.52.13.msq
(126.28 KiB) Downloaded 1 time
1978 vw golf gti 16v itb cop full sequential MS2
User avatar
2swe
Experienced MS/Extra'er
 
Posts: 192
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sun Oct 15, 2017 10:40 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby jsmcortina » Sun Oct 15, 2017 10:40 am

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 supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33748
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: JS7/PE0 vs. PE0 confusion..

Postby jsmcortina » Sun Oct 15, 2017 10:55 am

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 supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33748
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Sun Oct 15, 2017 11:06 am

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

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Mon Oct 16, 2017 10:32 pm

can anybody try to replicate this ? please..
1978 vw golf gti 16v itb cop full sequential MS2
User avatar
2swe
Experienced MS/Extra'er
 
Posts: 192
Joined: Sun Dec 25, 2011 12:41 pm

Re: JS7/PE0 vs. PE0 confusion..

Postby jsmcortina » Mon Oct 16, 2017 11:49 pm

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

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

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33748
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: JS7/PE0 vs. PE0 confusion..

Postby 2swe » Tue Oct 17, 2017 2:54 am

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.gif
datalog1
datalog1.gif (66.02 KiB) Viewed 7 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) Not downloaded yet
datalog2.gif
sunday trip
datalog2.gif (63.28 KiB) Viewed 7 times
1978 vw golf gti 16v itb cop full sequential MS2
User avatar
2swe
Experienced MS/Extra'er
 
Posts: 192
Joined: Sun Dec 25, 2011 12:41 pm


Return to MS2/Extra, MS2, Microsquirt and Microsquirt module support

Who is online

Users browsing this forum: 2swe, Google [Bot] and 4 guests