Mapping Spare TCU Analog channels to MS3Pro

'Microsquirt' Transmission Control development and support.

Moderators: jsmcortina, muythaibxr

Post Reply
mill383
Helpful MS/Extra'er
Posts: 134
Joined: Thu Nov 26, 2009 5:02 pm
Location: Indianapolis, IN

Mapping Spare TCU Analog channels to MS3Pro

Post by mill383 »

Hi James,
I am currently bench testing a MicroSquirt V3 with TCU SW, trans-release-1.0.1. This is connected to an MS3Pro. I have successfully mapped the following spares into the MS3Pro via the "Generic Sensor Inputs" and under "CAN Parameters", "CAN ADC Section". I have bench tested them by connecting a pot to the input (like a TPS circuit), and verifying a voltage change can be seen on the appropriate ADC channel, and likewise verify that MS3Pro can see the change, after appropriate mapping.

These are working as expected...
MAP, pin 24, ADC0, Table=7, Offset=16
MAT, pin 26, ADC1, Table=7, Offset=18
CLT, pin 25, ADC2, Table=7, Offset=20
TPS, pin 27, ADC3, Table=7, Offset=22
O2 , pin 34, ADC5, Table=7, Offset=26

Note to others, you can use the above TCU spares analogs to drive programmable On/Off Outputs on the MS3Pro, by choosing the appropriate Sensor0x, as you have it mapped under "CAN Parameters". Note that "Sensor01" is mapped to "CAN ADC 1".

But I have problems getting this one to respond...

SpareADC2(MAF), pin 5, ADC7, Table=7, Offset=30? (TBC)

To me, it appears this input (pin 5) is set as an output and is set HIGH in sw. Voltage at the pin is near 5V. When I place a 10K ohm resistor across this pin and ground, 0.46ma flows from the pin to ground, and voltage at the pin drops to 4.5V. The circuit diagram for the Mircosquirt V3 hardware shows AD7 has a having a simple low-pass filter, no pull-up or pull-down resistor.

As an experiment, I installed a different MicroSquirt V3 unit (with whatever SW comes pre-installed, or maybe none) and that pin was floating. But when I loaded MS2Extra alpha pre3.0.3i SW on it, that pin went to 4.95V, as it does with the TCU SW.

So it appears this MAF pin, listed as SpareADC2 in the TCU documentation, is not available as a spare. Can you confirm?

Thanks,
Dave
Dave
1958 Cushman scooter Microsquirt'ed and turbo-ed
1994 Camaro MS3Pro and GPIO MShift
1996 Buick Roadmaster wagon, MS3Pro and uV3 TCU
mill383
Helpful MS/Extra'er
Posts: 134
Joined: Thu Nov 26, 2009 5:02 pm
Location: Indianapolis, IN

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by mill383 »

To future Dave...

The complete list of offsets are found in the TCU.ini, towards the end. Search on "[OutputChannels]". Example, slip_conv = offset 53. Table 7.
Dave
1958 Cushman scooter Microsquirt'ed and turbo-ed
1994 Camaro MS3Pro and GPIO MShift
1996 Buick Roadmaster wagon, MS3Pro and uV3 TCU
Matt Cramer
Super MS/Extra'er
Posts: 17499
Joined: Thu Apr 16, 2009 8:08 pm

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by Matt Cramer »

It sounds like something has activated a software pull up on that input pin. Can you post a copy of the MicroSquirt's tune file?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
mill383
Helpful MS/Extra'er
Posts: 134
Joined: Thu Nov 26, 2009 5:02 pm
Location: Indianapolis, IN

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by mill383 »

Matt,

Just notice you replied to the post. Attached is the tune I'm using in the TCU.

Dave
Attachments
TCU_CurrentTune.msq
(28.06 KiB) Downloaded 76 times
Dave
1958 Cushman scooter Microsquirt'ed and turbo-ed
1994 Camaro MS3Pro and GPIO MShift
1996 Buick Roadmaster wagon, MS3Pro and uV3 TCU
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by jsmcortina »

I have an idea what may be going on here. Inside the Microsquirt, the AD7 pin is also connected to a timer input/output. It looks like the timer pin is being configured as an output which would then interfere with the analogue function. If that theory is correct, it should be straightforward to resolve.

I'll have a look in greater depth and test later.

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: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by jsmcortina »

PM me a preferred email address and I'll send you a code to test.

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".
1quikwagon
MS/Extra Newbie
Posts: 2
Joined: Sat Jan 25, 2020 7:11 pm

Re: Mapping Spare TCU Analog channels to MS3Pro

Post by 1quikwagon »

Get this resolved? Trying to use pin 5 to monitor line pressure, but running into the same issue. I assume I need to change the .ini file for adc2...
Post Reply