MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) → Link G4X XtremeX 109-4000 (auto)
Before you start
Not confident with automotive wiring? Have a professional harness builder or tuner do it, or check your work before first power-up. A wiring mistake can damage the ECU, the engine or the car, or start a fire.
Install modifications
Steps on the car itself, outside the harness. Every harness for this car inherits them.
- Cut the sensor-ground-to-chassis wirerequired
Cut the wire in the engine bay that ties the ECU sensor/signal ground (2C/2D, BLK/LT GRN) to chassis ground, so the standalone gets a clean sensor-ground reference. After cutting, verify with a meter: sensor ground ↔ chassis ground reads open (OL) unless the standalone manual says otherwise.
Why: The stock loom bonds sensor ground to chassis ground; a standalone ECU needs its sensor ground isolated from the noisy chassis/power ground, otherwise sensor readings are noisy or wrong.
Where: Engine-bay ground joint near the ECU (1991 EWD Fig.2 shows the sensor-ground run and its joint connector).
Correction reported by Justin Barrera
Unverified — reported by Justin Barrera (Motorsport Wiring Alliance), not yet sourced.
- Bypass the airflow-meter pump switchrecommended
The stock pump is run by the flapper airflow meter's pump-switch contact through the circuit-opening relay, not by the ECU. The standalone harness adds ECU control of the pump relay (ignition-switched, fused); remove/bypass the AFM pump switch so the two do not fight.
Why: There is no stock fuel-pump output at the ECU, so the standalone provides it. Leaving the AFM switch in place leaves a second, unswitched pump path.
Where: Airflow meter connector (pump-switch contact) and circuit-opening relay.
Correction reported by Justin Barrera
Source: 1991 Mazda Miata wiring diagrams (Mitchell reproduction, mellens.net community mirror)
| Status | draft · not yet verified: nobody has reported building and running this harness |
|---|---|
| Open errors | none |
| Size of the job | 34 wires · 7 connectors · 2 part lines |
| Tools | Crimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink |
| Order of work | 1. Check every part against the parts list. 2. Cut and label every wire (labels: Export → Wire labels). 3. Crimp and pin connector by connector, ticking the build checklist. 4. Run the bench test with nothing plugged in and the battery disconnected. 5. Only then connect the ECU and power up. |
Build checklist
Tick each box as you go. Continuity: meter from end to end, expect under 1 Ω.
| Wire | From | To | Gauge | Colour | Cut | Label | Crimp A | Crimp B | Pin A | Pin B | Continuity |
|---|---|---|---|---|---|---|---|---|---|---|---|
| W1 | OEM-1-B | SP-14V-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W2 | SP-14V-1 | G4XXTREMEX-A-A5 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W3 | SP-14V-1 | G4XXTREMEX-B-B5 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W4 | OEM-2-A | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W5 | OEM-2-B | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W6 | SP-GND-1 | G4XXTREMEX-A-A25 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W7 | SP-GND-1 | G4XXTREMEX-A-A34 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W8 | SP-GND-1 | G4XXTREMEX-B-B25 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W9 | SP-GND-1 | G4XXTREMEX-B-B34 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W10 | OEM-2-C | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W11 | OEM-2-D | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W12 | SP-0V-1 | G4XXTREMEX-A-A24 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W13 | SP-0V-1 | G4XXTREMEX-B-B22 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W14 | OEM-2-K | G4XXTREMEX-A-A32 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W15 | OEM-2-E | G4XXTREMEX-A-A8 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W16 | OEM-2-G | G4XXTREMEX-A-A9 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W17 | OEM-1-G | G4XXTREMEX-A-A13 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W18 | OEM-1-H | G4XXTREMEX-A-A12 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W19 | OEM-2-U | G4XXTREMEX-A-A4 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W20 | OEM-2-V | G4XXTREMEX-A-A3 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W21 | OEM-2-Y | G4XXTREMEX-A-A2 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W22 | OEM-2-Z | G4XXTREMEX-A-A1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W23 | OEM-1-E | G4XXTREMEX-A-A21 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W24 | OEM-2-I | G4XXTREMEX-A-A20 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W25 | OEM-2-O | G4XXTREMEX-A-A17 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W26 | OEM-2-N | G4XXTREMEX-A-A22 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W27 | OEM-2-Q | G4XXTREMEX-A-A15 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W28 | OEM-2-P | G4XXTREMEX-A-A16 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W29 | OEM-1-C | G4XXTREMEX-A-A30 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W30 | OEM-1-N | G4XXTREMEX-A-A31 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W31 | OEM-1-P | G4XXTREMEX-A-A23 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W32 | OEM-1-Q | G4XXTREMEX-B-B21 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W33 | OEM-1-V | G4XXTREMEX-B-B20 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W34 | OEM-2-L | G4XXTREMEX-B-B19 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |
Bench test (before first power-up)
Pre-power install steps (make these cuts/modifications on the car first, then verify the checks below): Cut the sensor-ground-to-chassis wire.
Battery disconnected, ECU and every sensor unplugged. Meter on resistance. Each pair below must read open (OL): a reading means a pinched wire, a stray strand or a mis-pinned cavity. Then check continuity of every wire (last column of the build checklist).
| # | Probe A | Probe B | Expect | Why | Reading |
|---|---|---|---|---|---|
| 1 | G4XXTREMEX-A-A5 | G4XXTREMEX-A-A24 | open (OL) | +12 V supply must not touch sensor ground | |
| 2 | G4XXTREMEX-A-A5 | G4XXTREMEX-A-A25 | open (OL) | +12 V supply must not touch power ground | |
| 3 | G4XXTREMEX-A-A24 | G4XXTREMEX-A-A32 | open (OL) | sensor ground must not touch 5 V sensor reference | |
| 4 | G4XXTREMEX-A-A25 | G4XXTREMEX-A-A32 | open (OL) | power ground must not touch 5 V sensor reference | |
| 5 | G4XXTREMEX-A-A5 | G4XXTREMEX-A-A32 | open (OL) | +12 V supply must not touch 5 V sensor reference |
If any reading doesn't match, stop and get help before powering up.
Revisions
| Rev | Label | By | Date |
|---|---|---|---|
| No revisions yet. | |||
Schematic
Connectors
G4XXTREMEX-A
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A1 | Injector 4 | — | W22 | — | 0.5 | OEM-2-Z | — | — | — |
| A10 | Ignition 4 | — | — | — | — | — | — | — | — |
| A11 | Ignition 3 | — | — | — | — | — | — | — | — |
| A12 | Ignition 2 | — | W18 | — | 0.5 | OEM-1-H | — | — | — |
| A13 | Ignition 1 | — | W17 | — | 0.5 | OEM-1-G | — | — | — |
| A14 | Analog Volt 4 | — | — | — | — | — | — | — | — |
| A15 | Analog Temp 1 | — | W27 | — | 0.5 | OEM-2-Q | — | — | — |
| A16 | Analog Temp 2 | — | W28 | — | 0.5 | OEM-2-P | — | — | — |
| A17 | Analog Volt 1 | — | W25 | — | 0.5 | OEM-2-O | — | — | — |
| A18 | Aux 4 | — | — | — | — | — | — | — | — |
| A19 | Aux 3 | — | — | — | — | — | — | — | — |
| A2 | Injector 3 | — | W21 | — | 0.5 | OEM-2-Y | — | — | — |
| A20 | Aux 2 | — | W24 | — | 0.5 | OEM-2-I | — | — | — |
| A21 | Aux 1 | — | W23 | — | 0.5 | OEM-1-E | — | — | — |
| A22 | Analog Volt 2 | — | W26 | — | 0.5 | OEM-2-N | — | — | — |
| A23 | Digital Input 3 | — | W31 | — | 0.5 | OEM-1-P | — | — | — |
| A24 | Sensor Ground | — | W12 | — | 0.5 | SP-0V-1 | — | — | — |
| A25 | System Ground | — | W6 | — | 0.85 | SP-GND-1 | — | — | — |
| A26 | Aux 8 | — | — | — | — | — | — | — | — |
| A27 | Aux 7 | — | — | — | — | — | — | — | — |
| A28 | Aux 6 | — | — | — | — | — | — | — | — |
| A29 | Aux 5 | — | — | — | — | — | — | — | — |
| A3 | Injector 2 | — | W20 | — | 0.5 | OEM-2-V | — | — | — |
| A30 | Digital Input 1 | — | W29 | — | 0.5 | OEM-1-C | — | — | — |
| A31 | Digital Input 2 | — | W30 | — | 0.5 | OEM-1-N | — | — | — |
| A32 | +5V Out | — | W14 | — | 0.5 | OEM-2-K | — | — | — |
| A33 | Analog Volt 3 | — | — | — | — | — | — | — | — |
| A34 | System Ground | — | W7 | — | 0.85 | SP-GND-1 | — | — | — |
| A4 | Injector 1 | — | W19 | — | 0.5 | OEM-2-U | — | — | — |
| A5 | +14V ECU Power | — | W2 | — | 0.85 | SP-14V-1 | — | — | — |
| A6 | +8V Out | — | — | — | — | — | — | — | — |
| A7 | Shield Ground | — | — | — | — | — | — | — | — |
| A8 | Trigger 1 | — | W15 | — | 0.5 | OEM-2-E | — | — | — |
| A9 | Trigger 2 | — | W16 | — | 0.5 | OEM-2-G | — | — | — |
G4XXTREMEX-B
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| B1 | Injector 8 | — | — | — | — | — | — | — | — |
| B10 | Ignition 8 | — | — | — | — | — | — | — | — |
| B11 | Ignition 7 | — | — | — | — | — | — | — | — |
| B12 | Ignition 6 | — | — | — | — | — | — | — | — |
| B13 | Ignition 5 | — | — | — | — | — | — | — | — |
| B15 | Analog Volt 6 | — | — | — | — | — | — | — | — |
| B16 | Analog Volt 7 | — | — | — | — | — | — | — | — |
| B17 | Shield Ground | — | — | — | — | — | — | — | — |
| B18 | Aux 9 | — | — | — | — | — | — | — | — |
| B19 | Digital Input 6 | — | W34 | — | 0.5 | OEM-2-L | — | — | — |
| B2 | Injector 7 | — | — | — | — | — | — | — | — |
| B20 | Digital Input 5 | — | W33 | — | 0.5 | OEM-1-V | — | — | — |
| B21 | Digital Input 4 | — | W32 | — | 0.5 | OEM-1-Q | — | — | — |
| B22 | Sensor Ground | — | W13 | — | 0.5 | SP-0V-1 | — | — | — |
| B23 | Analog Volt 8 | — | — | — | — | — | — | — | — |
| B24 | Analog Volt 9 | — | — | — | — | — | — | — | — |
| B25 | System Ground | — | W8 | — | 0.85 | SP-GND-1 | — | — | — |
| B26 | Aux 10 | — | — | — | — | — | — | — | — |
| B27 | CAN 2 H | — | — | — | — | — | — | — | — |
| B28 | CAN 2 L | — | — | — | — | — | — | — | — |
| B29 | Digital Input 8 | — | — | — | — | — | — | — | — |
| B3 | Injector 6 | — | — | — | — | — | — | — | — |
| B30 | Digital Input 7 | — | — | — | — | — | — | — | — |
| B31 | Analog Volt 10 | — | — | — | — | — | — | — | — |
| B32 | Analog Volt 11 | — | — | — | — | — | — | — | — |
| B33 | Analog Volt 5 | — | — | — | — | — | — | — | — |
| B34 | System Ground | — | W9 | — | 0.85 | SP-GND-1 | — | — | — |
| B4 | Injector 5 | — | — | — | — | — | — | — | — |
| B5 | Aux 9/10 E-Throttle Supply | — | W3 | — | 0.85 | SP-14V-1 | — | — | — |
| B6 | Analog Temp 3 | — | — | — | — | — | — | — | — |
| B7 | Analog Temp 4 | — | — | — | — | — | — | — | — |
| B8 | Knock 2 | — | — | — | — | — | — | — | — |
| B9 | Knock 1 | — | — | — | — | — | — | — | — |
OEM-1
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Constant +12V | — | — | — | — | — | — | — | — |
| B | ECU power +14V (main relay) | — | W1 | — | 0.85 | SP-14V-1 | — | — | — |
| C | Start signal | — | W29 | — | 0.5 | G4XXTREMEX-A-A30 | — | — | — |
| E | Malfunction indicator lamp (MIL) | — | W23 | — | 0.5 | G4XXTREMEX-A-A21 | — | — | — |
| G | Ignition 1 (coils 1+4, wasted spark) | — | W17 | — | 0.5 | G4XXTREMEX-A-A13 | — | — | — |
| H | Ignition 2 (coils 2+3, wasted spark) | — | W18 | — | 0.5 | G4XXTREMEX-A-A12 | — | — | — |
| N | Wide-open throttle switch | — | W30 | — | 0.5 | G4XXTREMEX-A-A31 | — | — | — |
| P | Power steering pressure switch | — | W31 | — | 0.5 | G4XXTREMEX-A-A23 | — | — | — |
| Q | A/C request | — | W32 | — | 0.5 | G4XXTREMEX-B-B21 | — | — | — |
| V | Neutral/clutch switch | — | W33 | — | 0.5 | G4XXTREMEX-B-B20 | — | — | — |
OEM-2
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Power ground | — | W4 | — | 0.85 | SP-GND-1 | — | — | — |
| B | Power ground | — | W5 | — | 0.85 | SP-GND-1 | — | — | — |
| C | Sensor ground (E2) | — | W10 | — | 0.5 | SP-0V-1 | — | — | — |
| D | Sensor ground (E2) | — | W11 | — | 0.5 | SP-0V-1 | — | — | — |
| E | Crank position (CAS NE) | — | W15 | — | 0.5 | G4XXTREMEX-A-A8 | — | — | — |
| F | NC | — | — | — | — | — | — | — | — |
| G | Cam position (CAS G) | — | W16 | — | 0.5 | G4XXTREMEX-A-A9 | — | — | — |
| I | Tachometer output | — | W24 | — | 0.5 | G4XXTREMEX-A-A20 | — | — | — |
| K | +5V sensor supply | — | W14 | — | 0.5 | G4XXTREMEX-A-A32 | — | — | — |
| L | Idle switch (TPS) | — | W34 | — | 0.5 | G4XXTREMEX-B-B19 | — | — | — |
| N | O2 sensor | — | W26 | — | 0.5 | G4XXTREMEX-A-A22 | — | — | — |
| O | Air flow meter (AFM) | — | W25 | — | 0.5 | G4XXTREMEX-A-A17 | — | — | — |
| P | Intake air temperature (IAT) | — | W28 | — | 0.5 | G4XXTREMEX-A-A16 | — | — | — |
| Q | Coolant temperature (ECT) | — | W27 | — | 0.5 | G4XXTREMEX-A-A15 | — | — | — |
| U | Injector 1 & 3 (batch) | — | W19 | — | 0.5 | G4XXTREMEX-A-A4 | — | — | — |
| V | Injector 2 & 4 (batch) | — | W20 | — | 0.5 | G4XXTREMEX-A-A3 | — | — | — |
| Y | Injector 3 (California sequential) | — | W21 | — | 0.5 | G4XXTREMEX-A-A2 | — | — | — |
| Z | Injector 4 (California sequential) | — | W22 | — | 0.5 | G4XXTREMEX-A-A1 | — | — | — |
SP-0V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W10 | — | 0.5 | OEM-2-C | — | — | — |
| 1 | — | — | W11 | — | 0.5 | OEM-2-D | — | — | — |
| 1 | — | — | W12 | — | 0.5 | G4XXTREMEX-A-A24 | — | — | — |
| 1 | — | — | W13 | — | 0.5 | G4XXTREMEX-B-B22 | — | — | — |
SP-14V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W1 | — | 0.85 | OEM-1-B | — | — | — |
| 1 | — | — | W2 | — | 0.85 | G4XXTREMEX-A-A5 | — | — | — |
| 1 | — | — | W3 | — | 0.85 | G4XXTREMEX-B-B5 | — | — | — |
SP-GND
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W4 | — | 0.85 | OEM-2-A | — | — | — |
| 1 | — | — | W5 | — | 0.85 | OEM-2-B | — | — | — |
| 1 | — | — | W6 | — | 0.85 | G4XXTREMEX-A-A25 | — | — | — |
| 1 | — | — | W7 | — | 0.85 | G4XXTREMEX-A-A34 | — | — | — |
| 1 | — | — | W8 | — | 0.85 | G4XXTREMEX-B-B25 | — | — | — |
| 1 | — | — | W9 | — | 0.85 | G4XXTREMEX-B-B34 | — | — | — |
Pin map
| OEM point | OEM function | OEM family | Target point | Target function | Target family | Wire colour | Evidence |
|---|---|---|---|---|---|---|---|
| OEM-1-A | Constant +12V | power_in | — | — | — | single_source | |
| OEM-1-B | ECU power +14V (main relay) | power_in | G4XXTREMEX-A-A5 + G4XXTREMEX-B-B5 | +14V ECU Power + Aux 9/10 E-Throttle Supply | power_in | single_source | |
| OEM-1-C | Start signal | digital_in | G4XXTREMEX-A-A30 | Digital Input 1 | digital_in | single_source | |
| OEM-1-E | Malfunction indicator lamp (MIL) | low_side_out | G4XXTREMEX-A-A21 | Aux 1 | low_side_out | single_source | |
| OEM-1-G | Ignition 1 (coils 1+4, wasted spark) | ignition_out | G4XXTREMEX-A-A13 | Ignition 1 | ignition_out | single_source | |
| OEM-1-H | Ignition 2 (coils 2+3, wasted spark) | ignition_out | G4XXTREMEX-A-A12 | Ignition 2 | ignition_out | single_source | |
| OEM-1-N | Wide-open throttle switch | digital_in | G4XXTREMEX-A-A31 | Digital Input 2 | digital_in | single_source | |
| OEM-1-P | Power steering pressure switch | digital_in | G4XXTREMEX-A-A23 | Digital Input 3 | digital_in | single_source | |
| OEM-1-Q | A/C request | digital_in | G4XXTREMEX-B-B21 | Digital Input 4 | digital_in | single_source | |
| OEM-1-V | Neutral/clutch switch | digital_in | G4XXTREMEX-B-B20 | Digital Input 5 | digital_in | single_source | |
| OEM-2-A | Power ground | ground | G4XXTREMEX-A-A25 + G4XXTREMEX-A-A34 + G4XXTREMEX-B-B25 + G4XXTREMEX-B-B34 | System Ground + System Ground + System Ground + System Ground | ground | single_source | |
| OEM-2-B | Power ground | ground | G4XXTREMEX-A-A25 + G4XXTREMEX-A-A34 + G4XXTREMEX-B-B25 + G4XXTREMEX-B-B34 | System Ground + System Ground + System Ground + System Ground | ground | single_source | |
| OEM-2-C | Sensor ground (E2) | sensor_ground | G4XXTREMEX-A-A24 + G4XXTREMEX-B-B22 | Sensor Ground + Sensor Ground | sensor_ground | corroborated | |
| OEM-2-D | Sensor ground (E2) | sensor_ground | G4XXTREMEX-A-A24 + G4XXTREMEX-B-B22 | Sensor Ground + Sensor Ground | sensor_ground | corroborated | |
| OEM-2-E | Crank position (CAS NE) | trigger_in | G4XXTREMEX-A-A8 | Trigger 1 | trigger_in | single_source | |
| OEM-2-F | NC | — | — | — | — | corroborated | |
| OEM-2-G | Cam position (CAS G) | trigger_in | G4XXTREMEX-A-A9 | Trigger 2 | trigger_in | single_source | |
| OEM-2-I | Tachometer output | tacho_out | G4XXTREMEX-A-A20 | Aux 2 | low_side_out | single_source | |
| OEM-2-K | +5V sensor supply | vref | G4XXTREMEX-A-A32 | +5V Out | vref | single_source | |
| OEM-2-L | Idle switch (TPS) | digital_in | G4XXTREMEX-B-B19 | Digital Input 6 | digital_in | single_source | |
| OEM-2-N | O2 sensor | lambda_nb_in | G4XXTREMEX-A-A22 | Analog Volt 2 | analog_in | single_source | |
| OEM-2-O | Air flow meter (AFM) | analog_in | G4XXTREMEX-A-A17 | Analog Volt 1 | analog_in | single_source | |
| OEM-2-P | Intake air temperature (IAT) | temp_in | G4XXTREMEX-A-A16 | Analog Temp 2 | temp_in | single_source | |
| OEM-2-Q | Coolant temperature (ECT) | temp_in | G4XXTREMEX-A-A15 | Analog Temp 1 | temp_in | single_source | |
| OEM-2-U | Injector 1 & 3 (batch) | injector_out | G4XXTREMEX-A-A4 | Injector 1 | injector_out | corroborated | |
| OEM-2-V | Injector 2 & 4 (batch) | injector_out | G4XXTREMEX-A-A3 | Injector 2 | injector_out | corroborated | |
| OEM-2-Y | Injector 3 (California sequential) | injector_out | G4XXTREMEX-A-A2 | Injector 3 | injector_out | corroborated | |
| OEM-2-Z | Injector 4 (California sequential) | injector_out | G4XXTREMEX-A-A1 | Injector 4 | injector_out | corroborated |
Cut list
| Wire | From | To | Gauge (mm²) | Colour | Length | Signal | Ident |
|---|---|---|---|---|---|---|---|
| W1 | OEM-1-B | SP-14V-1 | 0.85 | no route | ECU power +14V (main relay) | — | |
| W2 | SP-14V-1 | G4XXTREMEX-A-A5 | 0.85 | no route | +14V ECU Power | — | |
| W3 | SP-14V-1 | G4XXTREMEX-B-B5 | 0.85 | no route | Aux 9/10 E-Throttle Supply | — | |
| W4 | OEM-2-A | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W5 | OEM-2-B | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W6 | SP-GND-1 | G4XXTREMEX-A-A25 | 0.85 | no route | System Ground | — | |
| W7 | SP-GND-1 | G4XXTREMEX-A-A34 | 0.85 | no route | System Ground | — | |
| W8 | SP-GND-1 | G4XXTREMEX-B-B25 | 0.85 | no route | System Ground | — | |
| W9 | SP-GND-1 | G4XXTREMEX-B-B34 | 0.85 | no route | System Ground | — | |
| W10 | OEM-2-C | SP-0V-1 | 0.5 | no route | Sensor ground (E2) | — | |
| W11 | OEM-2-D | SP-0V-1 | 0.5 | no route | Sensor ground (E2) | — | |
| W12 | SP-0V-1 | G4XXTREMEX-A-A24 | 0.5 | no route | Sensor Ground | — | |
| W13 | SP-0V-1 | G4XXTREMEX-B-B22 | 0.5 | no route | Sensor Ground | — | |
| W14 | OEM-2-K | G4XXTREMEX-A-A32 | 0.5 | no route | +5V sensor supply | — | |
| W15 | OEM-2-E | G4XXTREMEX-A-A8 | 0.5 | no route | Crank position (CAS NE) | — | |
| W16 | OEM-2-G | G4XXTREMEX-A-A9 | 0.5 | no route | Cam position (CAS G) | — | |
| W17 | OEM-1-G | G4XXTREMEX-A-A13 | 0.5 | no route | Ignition 1 (coils 1+4, wasted spark) | — | |
| W18 | OEM-1-H | G4XXTREMEX-A-A12 | 0.5 | no route | Ignition 2 (coils 2+3, wasted spark) | — | |
| W19 | OEM-2-U | G4XXTREMEX-A-A4 | 0.5 | no route | Injector 1 & 3 (batch) | — | |
| W20 | OEM-2-V | G4XXTREMEX-A-A3 | 0.5 | no route | Injector 2 & 4 (batch) | — | |
| W21 | OEM-2-Y | G4XXTREMEX-A-A2 | 0.5 | no route | Injector 3 (California sequential) | — | |
| W22 | OEM-2-Z | G4XXTREMEX-A-A1 | 0.5 | no route | Injector 4 (California sequential) | — | |
| W23 | OEM-1-E | G4XXTREMEX-A-A21 | 0.5 | no route | Malfunction indicator lamp (MIL) | — | |
| W24 | OEM-2-I | G4XXTREMEX-A-A20 | 0.5 | no route | Tachometer output | — | |
| W25 | OEM-2-O | G4XXTREMEX-A-A17 | 0.5 | no route | Air flow meter (AFM) | — | |
| W26 | OEM-2-N | G4XXTREMEX-A-A22 | 0.5 | no route | O2 sensor | — | |
| W27 | OEM-2-Q | G4XXTREMEX-A-A15 | 0.5 | no route | Coolant temperature (ECT) | — | |
| W28 | OEM-2-P | G4XXTREMEX-A-A16 | 0.5 | no route | Intake air temperature (IAT) | — | |
| W29 | OEM-1-C | G4XXTREMEX-A-A30 | 0.5 | no route | Start signal | — | |
| W30 | OEM-1-N | G4XXTREMEX-A-A31 | 0.5 | no route | Wide-open throttle switch | — | |
| W31 | OEM-1-P | G4XXTREMEX-A-A23 | 0.5 | no route | Power steering pressure switch | — | |
| W32 | OEM-1-Q | G4XXTREMEX-B-B21 | 0.5 | no route | A/C request | — | |
| W33 | OEM-1-V | G4XXTREMEX-B-B20 | 0.5 | no route | Neutral/clutch switch | — | |
| W34 | OEM-2-L | G4XXTREMEX-B-B19 | 0.5 | no route | Idle switch (TPS) | — |
Bill of materials
| Category | Part number | Manufacturer | Description | Qty | Unit |
|---|---|---|---|---|---|
| connector | 174515-6 | TE | AMP Multilock .040/.070 hybrid 22-pin female harness plug (Miata NA/NB ECU) | 1.000 | ea |
| connector | 174516-6 | TE | AMP Multilock .040/.070 hybrid 26-pin female harness plug (Miata NA/NB ECU) | 1.000 | ea |
ECU setup sheet
| Role | Engine ref | Engine signal | Sensor | ECU point | ECU function | ECU class | Setup flag |
|---|---|---|---|---|---|---|---|
| No configured channels. | |||||||
Findings
Open (2)
| Severity | Code | Subject | Message |
|---|---|---|---|
| warn | NO_FUEL_PUMP | fuel pump | This engine harness has no fuel-pump control path: no fuel-pump relay output is wired to the new ECU. If the stock car switches the pump outside the ECU (an airflow-meter contact or a separate module), the standalone must drive the pump relay itself — see the install notes for this car. |
| info | NET_FAMILY | OEM-2-I ↔ G4XXTREMEX-A-A20 | OEM-2-I "Tachometer output" [tacho_out] is wired to G4XXTREMEX-A-A20 "Aux 2" [low_side_out]. Tacho as a low-side output: check the tach needs a pull-up. |
Accepted (1)
| Code | Subject | Reason | By |
|---|---|---|---|
| REQUIRED_UNMAPPED | OEM-1-A | Battery-constant (memory) feed of the stock ECU: the new ECU has no such input, so it is not needed. | mapping-proposal |
Notes
Fit check: unconfirmed. Confirm these before building: - Trigger pattern for Mazda B6-ZE not found in the ECU's docs (Link's trigger-mode list is only inside PCLink, not online) Auto-mapped by auto_map() from the library pin data on 2026-10-09. Review every wire against both manuals before building. Open items: - Fuel-pump control: Link G4X XtremeX needs to drive the fuel pump, but the stock ECU has no fuel-pump output (an airflow-meter contact or a separate module runs it). Add a fuel-pump relay on a spare low-side output — see the install notes for this car. Not wired: - OEM-1 A: Constant +12V: Link G4X XtremeX has no battery-constant input; not needed
Sources
| Reliability | Kind | Title | URL | Archive | Captured | SHA-256 |
|---|---|---|---|---|---|---|
| 4 | vendor_doc | Link G4X MX5X install manual (NA 1.6/1.8) | https://linkecu.com/documentation/MX5X.pdf | archive | 2026-10-05 | b7f730de9f6e |
| 4 | vendor_doc | Link: G4X XtremeX quickstart guide | https://linkecu.com/documentation/XtremeXQuickstartGuide.pdf | — | — | — |
| 3 | community_copy | YourSpec: Link G4X XtremeX flying-lead harness wiring list | https://wpm.yourspec.com/projects/view/1488 | — | — | — |
| 2 | community_copy | 1991 Mazda Miata wiring diagrams (Mitchell reproduction, mellens.net community mirror) | https://trull.org/alex/pubmirror/www.mellens.net/mazda/Mazda-Miata-1991-1993/1991_wiring.pdf | — | 2026-10-08 | 6f957a38ed49 |
| 2 | expert_report | Justin Barrera — Miata NA/NB wiring corrections | — | — | — | — |