Power up/spare ports
Read the manual to see if your question is answered there before posting. Many users will not reply if the answer is already available in the manual.
If your question is about troubleshooting, configuration, or tuning, you MUST include your processor type (MS-I or MS-II) and code version in your post. If your question is about PCB assembly or modifications, you must also include the main board version number (1.01, 2.2 or 3.0). For tuning/troubleshooting questions, please attached a datalog and your MSQ file to your post.
If you have questions about MS1/Extra or MS2/Extra code configuration or tuning, please post them at www.msextra.com Such questions posted here will be moved to: a temporary MSextra sub-forum, where they will be removed after 7 days
The full forum rules are here: Forum Rules, be sure to read them all regularly.
Power up/spare ports
Using a 1G DSM as the example.
The ECU has two different power inputs. Backup power comes in on pin 103. Its purpose is twofold: 1) retain the contents of the CPU's RAM, and 2)power the circuit in the ECU that controls the activation of the MPI circuit.
The MPI relay comes in on pin 10 of the relay. Inside the relay it goes through a diode to one side of the coil, and runs to pin 63 of the ECU.
The second power input is Ignition, pin 110. When the key is turned to "ON", pin 110 goes to +12V. When the ECU sees this, it pulls pin 63 to ground, energizing the MPI relay. Pins 4 and 5 of the relay now supplies power to the ECU on pins 102 and 107, starting the boot process, as well as everything else engine-related.
So, in a nutshell, the ECU halfway controls the relay that powers it up. This leaves me with two options:
1) Wire in another relay that will switch pin 63 to ground when the ignition switch is activated, energizing the MPI relay in the process. MS-II +12V would then be fed from either pin 102 or 107 in the harness.
2) Wire pin 63 to a spare output on the MS, feed the MS +12V from pin 110 (ignition switch), and tell MS to pull the aforementioned spare output low on startup to energize the MPI relay.
Suggestions?
Re: Power up/spare ports
If you just want FIdle to go high/low on power to megasquirt how about setting the Spare Port Settings as follows:
Enable PM2-FIdle
Variable batteryVoltage > 1
That should turn on/off FIdle whenever MS receives a voltage greater than 1v?!
Re: Power up/spare ports
Thanks!
Re: Power up/spare ports
Let us know how it went.