Model/Vehicle Specific information for model MSPNP2-MM9495 Version 1.3:
- 1994-1995 Mazda Miata 1.8 - Manual Transmission
Please read all documentation before installing your MegaSquirtPNP ECU, and verify you’ve followed all steps before starting your engine for the first time.
Physical Installation
1. Remove the right hand door trim panel. Fold and slide the passenger seat forward and lift the carpet behind it to expose the stock ECU.

2. Remove the three 10mm nuts holding the stock ECU in place.

3. Fold the ECU over forward (there’s just enough room) and remove the wiring harness from the ECU. The easiest way to do this is to reach around the bottom and push down on the release tab with your finger, while GENTLY prying the connector from the opposite side out of the ECU with a flathead screwdriver. Do this carefully and you’ll do no damage to your stock harness or ECU.

4. Now it is time to route the MAP line. Mazda happens to have provided a plug behind the windshield washer reservoir that’s about the perfect size for the MAP hose.

5. Pop the plug out and drill a hole in it. Now the plug is a grommet. The hole should be just large enough to run the hose through.

6. Pull about 2-3′ of the hose through the grommet.
7. This next step is much easier if you have two people, one feeding the hose in from the engine compartment side and the other one pulling from the passenger compartment. Feed the hose in through the hole in the engine compartment. Have someone else reach up behind the firewall insulation and feel for the hole; it’s about as far to the right as it’s possible to reach. You will probably find the hose before you find the hole. Pull the hose in through the firewall far enough to reach the MSPNP MAP sensor hole.
- From the engine side, stick a screwdriver thru the hole pointing down, use it to push the insulation back a bit.
- From inside have someone feel behind the insulation for the screwdriver, this will help them to locate the hole.
- From the engine side, remove the screwdriver and push the hose thru the hole and down. Feed it thru while someone pulls it thru from the inside.

8. Inside the engine compartment, route the MAP hose along the firewall, turning to follow between the intake manifold and valve cover (over the fuel rail) and use the vacuum tee to connect to the intake manifold as shown above. You may need to ‘fresh cut’ the factory hose by 1cm to get a tight seal as it will have expanded some. Don’t cut the included MAP hose just yet, you’ll cut it to length at the other end.


9. Pull any excess hose through the firewall into the passenger compartment and verify your routing in the engine bay.


10. Back inside the car, lay the MAP hose carefully under the edge of the carpet following the wiring harness to the ECU.
11. Plug in the tuning cable first. Then the factory ECU connectors. Lastly plug in the MAP hose.
12. Drill holes in the rear firewall and screw the MSPNP to the firewall with the provided sheet metal screws. In our experience two screws up top are usually enough, though four are provided.
13. Route the tuning cable between the seat and tunnel and it is ready to plug in… (or be tucked away when not needed)

14. Fold down the firewall carpet, reinstall the door trim, and tuck the insulation back in place on the front firewall. The ECU is now installed, but you will want to check your timing, as described below.
At this point, it is safe to power the ECU up, but please make sure you load the appropriate startup map for your specific engine before attempting to start the vehicle. Using the wrong startup map may result in a no-start condition, or even engine damage if the engine is driven hard before the correct map is loaded.
Verifying and Adjusting Base Timing
Once the MSPNP is installed, it is mandatory to check timing on Miatas. First, put the MSPNP in fixed timing mode by going to Ignition Settings -> Ignition Options/Decoder Wheel (For v1.2 MSPNP2s, go to Basic Setup -> More Ignition Settings). Set Fixed Advance to “Fixed Timing”, set Timing for Fixed Advance to 10 degrees, and click the Burn button.

While you can adjust the timing in the same manner as you would with a stock ECU, by adjusting the cam angle sensor, MSPNP gives you another option: adjust the trigger angle within TunerStudio under the spark settings. Increase the trigger angle to retard the spark, or decrease it to advance the spark. Adjust the number until the timing is at 10 degrees. TunerStudio lets you adjust the trigger angle from 0 to 20 degrees. If the trigger angle is out of this range, you should rotate the cam angle sensor to give you more trigger angle.


The above picture shows the location of the cam angle sensor for adjusting the timing the conventional way or if you need to adjust the sensor to obtain a better trigger angle. Use a 12 mm wrench to loosen the bolt holding the sensor in place so you can adjust the sensor position. If you use this method for adjusting the timing advance, set the trigger angle to 10 degrees in TunerStudio and turn the cam angle sensor until the timing is at a steady 10 degrees BTDC, then lock the cam angle sensor back down there and check the timing with the light to make sure the CAS didn’t slip. If you run out of adjustment, use the trigger angle setting in TunerStudio to get the correct timing.
The timing marks are on the front of the engine. The timing mark on the crank pulley may be hard to see; a dab of white paint down inside the mark (wipe off the excess) can help here. Once you have adjusted the trigger angle and/or cam angle sensor to get 10 degrees BTDC, turn off the fixed timing mode by changing the Fixed Timing setting to “Use Table.”

Fan Control
Your MSPNP is set up to use the PM4 – Accel LED output for fan control. The fan will come on whenever this output is on.
Removing the Vane Air Flow Meter
Since the MSPNP is speed density, you don’t need to have the restrictive factory air flow meter in place. We’ve found gains of 3 to 5 horsepower by replacing the air flow meter with a length of straight pipe. This does require one wiring change, as there’s an air temperature sensor in there. You’ll need to substitute a GM IAT sensor with the air flow meter gone. This sensor connects to the first and sixth pins on the IAT connector, as shown in the graphic below. IAT sensors have no polarity, so it does not matter which wire you connect to which pin.

Simply wire a GM Open Element IAT Sensor into your factory wiring harness at the AFM connector. You can poke wires into the AFM connector, or you can cut and splice. Wire one lead of the GM Sensor to the first wire at the AFM Connector, and the other lead of the GM Sensor to the sixth wire at the AFM Connector. The wires should then be folded down over the edge of the AFM connector, and the whole assembly firmly and cleanly wrapped in high quality electrical tape sealing it up. 3M has tapes, such as Super88, that can handle the temps found in engine bays.
After installing the IAT, turn the ignition key on but do not start the engine. Connect to the MSPNP with TunerStudio. Go to the Tools menu and select Calibrate Thermistor Tables. Select Air Temperature Sensor. Select GM from the Common Sensor Values drop down box. Leave the bias resistor setting at 2490.0 ohms. Click Write to Controller. This will update the sensor calibration in the MSPNP.
The IAT needs to be located where it will pick up the air temperature after anything in the intake that changes air temperature. So if you are using forced induction, it needs to be downstream of the turbo or supercharger and the intercooler. Here is a picture of an IAT sensor installed in a naturally aspirated car, with a cone filter taking the place of the stock airbox.

And here’s a picture of one way to bypass your AFM and still get your air filter on there (using a popular turbo kit and charge pipe kit), and more importantly, it shows you exactly where to weld the IAT bung to measure air temp AFTER the turbo, and AFTER the IC. You need to know the air temp as it’s entering the engine, nothing else will do us much good. If you are running forced induction this is critical, the stock IAT sensor in the AFM will not do.

Note: If you are using the MSPNP with a turbo or supercharger:
After you delete the AFM, install an IAT sensor in the location pictured above which is just before the throttle body inlet. The IAT needs to measure the air temperature as it’s entering the engine, not the ambient air temperature in the engine bay as would be measured by the AFM. Only by placing the IAT just before the throttle body can an accurate air temperature measurement be taken AFTER the compressor has heated the air, and the intercooler has cooled it. Accurate air temps are needed for proper fueling and ignition advance calculations.
Sensor Calibration
If you need to recalibrate your temperature sensors, such as after loading firmware, here are the values to use for the stock sensors. These work for both factory CLT and IAT sensors. GM IAT sensors can use the defaults in TunerStudio

Auxiliary Outputs

Optional Configurations
Several jumpers are located on the lower, black circuit board inside the MSPNP. These are accessible by removing the top cover and are indicated as depicted below:

Default settings indicated in red
J4: Connector J3, Pin 4S Function
When a jumper is installed between the center pin and “A/C FAN”, the A/C condenser fan will be controlled by the MSPNP’s Output 2 (Formerly WLED) setting (Miata Only).
When a jumper is installed between the center pin and “VICS”, the VICS butterflies will be controlled by the MSPNP’s Output 2 (Formerly WLED) setting (FWD cars only).
J5: Variable TPS Enable (90-93 Miata Only)
Unused on this model.
J6: Tach Out on Connector J3, Pin 4I (1995.5+ Miata Only)
When this jumper is installed, the signal TACHOUT will be transmitted on pin 4I on the main ECU connector (J3). This should only be used on 95.5 1.8L Miatas.
J7: Sensor Ground Selection
In almost all cases, the jumper should be left installed between the center pin and “Signal Ground”. However, the option is given to allow the engine sensors to be grounded directly to the chassis.
J8: Cooling Fan Control (90-93 Miata Only)
Unused on this model.
Rear Option Connector

Some of the features on the MSPNP EMS are rather obvious as to why they are there, such as the holes to mount it or the logo on the top to let everyone know how awesome you are due to the EMS you that are running. But it has a few things on it that call for some explanation.
On the back, there is a 26 pin connector. The connector has small numbers cast into it to identify which pin is which. ALL OF THESE CONNECTIONS ARE OPTIONAL AND NOT REQUIRED TO RUN YOUR CAR ON THE MSPNP! These are there keeping the DIY spirit alive, giving you the power to add new capabilities to your vehicle!
- Cam Sensor Input
- Table Switch Input
- Clutch Switch
- Tach Output
- Chassis Ground
- Switched 12V (0.5A Max)
- Boost Control Solenoid
- Injector A Output
- Injector B Output
- Knock Sensor Input
- CanBus High
- CanBus Low
- Launch Control Input
- Spark D Output
- Spark C Output
- Spark B Output
- Spark A Output
- Injector C Output
- External MAP Sensor Input
- IAT Sensor Input
- Oxygen Sensor Input
- Signal Ground
- 5V Vref
- Output 1 Relay Control (ALED)
- Output 2 Relay Control (WLED)
- Injector D Output
The 9 pin connector is a serial port for connecting the MSPNP2 to your laptop with the provided tuning cable. If your laptop does not have the matching plug, you will need a USB to serial adapter, we recommend the USB-2920 that we sell at DIYAutoTune.com for best results.
The small connector that looks like it could be for a set of headphones – well, it is. On engines equipped with a knock sensor, this allows you to listen to the knock sensor. In most cases if your vehicle had a factory knock sensor, we’ve already tied it in through the factory wiring harness. If your vehicle did NOT have a factory knock sensor, you can add one, if you like, using the option connector outlined above.
Some knock sensors have built in filters, and there’s a similar filter in the MSPNP2, so it will cut out a portion of the sounds that are not related to engine knock. You will need to take the cover off to adjust the volume (see section 4, Tuning) as well as adjust the knock sensor; we recommend starting at the lowest setting, fully counterclockwise.
There is a small barbed fitting on the back of the MSPNP’s case. This is for connecting the MAP sensor. The sensor is designed to work with a rubber hose with around 7/64″ – 1/8″ inside diameter, which is included in the kit.
The four screws on the back that look like they might be for adjusting something – they’re not. Leave them alone.
There are four small holes in the side of the case for viewing indicator LEDs. Looking at the side of the case, from left to right, this what these LEDs do:
- 12V Power: This light comes on when the ECU has power.
- Logic Power (5VDC): Normally, this light comes on whenever the 12V Power is ON. Used mostly for specialized diagnostics.
- Tach Pulse: Blinks when you have an RPM signal.
- Knock: Blinks when knock is detected. The more it blinks, the higher the knock level.

