Bug: Test mode when using injector outputs for dome control

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
ArttuH
Experienced MS/Extra'er
Posts: 256
Joined: Sat May 08, 2004 9:23 am
Location: Finland
Contact:

Bug: Test mode when using injector outputs for dome control

Post by ArttuH »

I think I have found a bug from 1.5.0 code. I think it's quite insignificant but as it can be quite confusing I thought it's better to report it.

It seems that output test mode isn't working correctly when some of unused injector channels are assigned as dome boost control solenoid outputs. In this case when you try to control these outputs with test mode the result is something pretty random. When toggling the output on/off the result is just very short pulse (<1ms) when turning on. Pulsed option generates some more or less random PWM signal at completely wrong frequency.

Based on quick bench testing actual boost control output functionality seems to work as it should so this bug doesn't prevent using injector channels for dome control. But I spent some time by chasing a non-existing wiring mistake when wondering why the solenoids don't work properly...
Last edited by ArttuH on Tue Jun 27, 2017 5:19 am, edited 1 time in total.
Arttu
jamies
Master MS/Extra'er
Posts: 525
Joined: Tue Apr 07, 2009 12:22 am

Re: Bug: Test mode when using injector outputs for dome cont

Post by jamies »

Yeah, i have noticed some weird behaviour with the spark outputs in test mode also.
jsmcortina
Site Admin
Posts: 39618
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Bug: Test mode when using injector outputs for dome cont

Post by jsmcortina »

In "Simple" outputs mode, the outputs are controlled (always) from an interrupt at high speed. Test mode won't override them.

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".
ArttuH
Experienced MS/Extra'er
Posts: 256
Joined: Sat May 08, 2004 9:23 am
Location: Finland
Contact:

Re: Bug: Test mode when using injector outputs for dome cont

Post by ArttuH »

So it's known feature? Should it be noted somewhere then, in documentation or TunerStudio tooltips etc?
Arttu
Post Reply