← Back

MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) → Link G4X XtremeX 109-4000 (auto)

MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) — Link — G4X XtremeX
⚠ NOT CHECKED. Don't build from this.
Drawn by Michael Gnankou · Rev 0 · draft · 2026-10-09

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)

Statusdraft · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job34 wires · 7 connectors · 2 part lines
ToolsCrimp and extraction tools for each terminal family (see Connectors) · wire strippers · multimeter · heat gun + heat-shrink
Order of work1. 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 Ω.

WireFromToGaugeColourCutLabelCrimp ACrimp BPin APin BContinuity
W1OEM-1-BSP-14V-10.85☐☐☐☐☐☐☐
W2SP-14V-1G4XXTREMEX-A-A50.85☐☐☐☐☐☐☐
W3SP-14V-1G4XXTREMEX-B-B50.85☐☐☐☐☐☐☐
W4OEM-2-ASP-GND-10.85☐☐☐☐☐☐☐
W5OEM-2-BSP-GND-10.85☐☐☐☐☐☐☐
W6SP-GND-1G4XXTREMEX-A-A250.85☐☐☐☐☐☐☐
W7SP-GND-1G4XXTREMEX-A-A340.85☐☐☐☐☐☐☐
W8SP-GND-1G4XXTREMEX-B-B250.85☐☐☐☐☐☐☐
W9SP-GND-1G4XXTREMEX-B-B340.85☐☐☐☐☐☐☐
W10OEM-2-CSP-0V-10.5☐☐☐☐☐☐☐
W11OEM-2-DSP-0V-10.5☐☐☐☐☐☐☐
W12SP-0V-1G4XXTREMEX-A-A240.5☐☐☐☐☐☐☐
W13SP-0V-1G4XXTREMEX-B-B220.5☐☐☐☐☐☐☐
W14OEM-2-KG4XXTREMEX-A-A320.5☐☐☐☐☐☐☐
W15OEM-2-EG4XXTREMEX-A-A80.5☐☐☐☐☐☐☐
W16OEM-2-GG4XXTREMEX-A-A90.5☐☐☐☐☐☐☐
W17OEM-1-GG4XXTREMEX-A-A130.5☐☐☐☐☐☐☐
W18OEM-1-HG4XXTREMEX-A-A120.5☐☐☐☐☐☐☐
W19OEM-2-UG4XXTREMEX-A-A40.5☐☐☐☐☐☐☐
W20OEM-2-VG4XXTREMEX-A-A30.5☐☐☐☐☐☐☐
W21OEM-2-YG4XXTREMEX-A-A20.5☐☐☐☐☐☐☐
W22OEM-2-ZG4XXTREMEX-A-A10.5☐☐☐☐☐☐☐
W23OEM-1-EG4XXTREMEX-A-A210.5☐☐☐☐☐☐☐
W24OEM-2-IG4XXTREMEX-A-A200.5☐☐☐☐☐☐☐
W25OEM-2-OG4XXTREMEX-A-A170.5☐☐☐☐☐☐☐
W26OEM-2-NG4XXTREMEX-A-A220.5☐☐☐☐☐☐☐
W27OEM-2-QG4XXTREMEX-A-A150.5☐☐☐☐☐☐☐
W28OEM-2-PG4XXTREMEX-A-A160.5☐☐☐☐☐☐☐
W29OEM-1-CG4XXTREMEX-A-A300.5☐☐☐☐☐☐☐
W30OEM-1-NG4XXTREMEX-A-A310.5☐☐☐☐☐☐☐
W31OEM-1-PG4XXTREMEX-A-A230.5☐☐☐☐☐☐☐
W32OEM-1-QG4XXTREMEX-B-B210.5☐☐☐☐☐☐☐
W33OEM-1-VG4XXTREMEX-B-B200.5☐☐☐☐☐☐☐
W34OEM-2-LG4XXTREMEX-B-B190.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 AProbe BExpectWhyReading
1G4XXTREMEX-A-A5G4XXTREMEX-A-A24open (OL)+12 V supply must not touch sensor ground
2G4XXTREMEX-A-A5G4XXTREMEX-A-A25open (OL)+12 V supply must not touch power ground
3G4XXTREMEX-A-A24G4XXTREMEX-A-A32open (OL)sensor ground must not touch 5 V sensor reference
4G4XXTREMEX-A-A25G4XXTREMEX-A-A32open (OL)power ground must not touch 5 V sensor reference
5G4XXTREMEX-A-A5G4XXTREMEX-A-A32open (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

RevLabelByDate
No revisions yet.

Schematic

G4XXTREMEX-AG4XXTREMEX-BOEM-1OEM-2SP-0VSP-14VSP-GND

Connectors

G4XXTREMEX-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
A1Injector 4—W22—0.5OEM-2-Z———
A10Ignition 4————————
A11Ignition 3————————
A12Ignition 2—W18—0.5OEM-1-H———
A13Ignition 1—W17—0.5OEM-1-G———
A14Analog Volt 4————————
A15Analog Temp 1—W27—0.5OEM-2-Q———
A16Analog Temp 2—W28—0.5OEM-2-P———
A17Analog Volt 1—W25—0.5OEM-2-O———
A18Aux 4————————
A19Aux 3————————
A2Injector 3—W21—0.5OEM-2-Y———
A20Aux 2—W24—0.5OEM-2-I———
A21Aux 1—W23—0.5OEM-1-E———
A22Analog Volt 2—W26—0.5OEM-2-N———
A23Digital Input 3—W31—0.5OEM-1-P———
A24Sensor Ground—W12—0.5SP-0V-1———
A25System Ground—W6—0.85SP-GND-1———
A26Aux 8————————
A27Aux 7————————
A28Aux 6————————
A29Aux 5————————
A3Injector 2—W20—0.5OEM-2-V———
A30Digital Input 1—W29—0.5OEM-1-C———
A31Digital Input 2—W30—0.5OEM-1-N———
A32+5V Out—W14—0.5OEM-2-K———
A33Analog Volt 3————————
A34System Ground—W7—0.85SP-GND-1———
A4Injector 1—W19—0.5OEM-2-U———
A5+14V ECU Power—W2—0.85SP-14V-1———
A6+8V Out————————
A7Shield Ground————————
A8Trigger 1—W15—0.5OEM-2-E———
A9Trigger 2—W16—0.5OEM-2-G———

G4XXTREMEX-B

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
B1Injector 8————————
B10Ignition 8————————
B11Ignition 7————————
B12Ignition 6————————
B13Ignition 5————————
B15Analog Volt 6————————
B16Analog Volt 7————————
B17Shield Ground————————
B18Aux 9————————
B19Digital Input 6—W34—0.5OEM-2-L———
B2Injector 7————————
B20Digital Input 5—W33—0.5OEM-1-V———
B21Digital Input 4—W32—0.5OEM-1-Q———
B22Sensor Ground—W13—0.5SP-0V-1———
B23Analog Volt 8————————
B24Analog Volt 9————————
B25System Ground—W8—0.85SP-GND-1———
B26Aux 10————————
B27CAN 2 H————————
B28CAN 2 L————————
B29Digital Input 8————————
B3Injector 6————————
B30Digital Input 7————————
B31Analog Volt 10————————
B32Analog Volt 11————————
B33Analog Volt 5————————
B34System Ground—W9—0.85SP-GND-1———
B4Injector 5————————
B5Aux 9/10 E-Throttle Supply—W3—0.85SP-14V-1———
B6Analog Temp 3————————
B7Analog Temp 4————————
B8Knock 2————————
B9Knock 1————————

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V————————
BECU power +14V (main relay)—W1—0.85SP-14V-1———
CStart signal—W29—0.5G4XXTREMEX-A-A30———
EMalfunction indicator lamp (MIL)—W23—0.5G4XXTREMEX-A-A21———
GIgnition 1 (coils 1+4, wasted spark)—W17—0.5G4XXTREMEX-A-A13———
HIgnition 2 (coils 2+3, wasted spark)—W18—0.5G4XXTREMEX-A-A12———
NWide-open throttle switch—W30—0.5G4XXTREMEX-A-A31———
PPower steering pressure switch—W31—0.5G4XXTREMEX-A-A23———
QA/C request—W32—0.5G4XXTREMEX-B-B21———
VNeutral/clutch switch—W33—0.5G4XXTREMEX-B-B20———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W4—0.85SP-GND-1———
BPower ground—W5—0.85SP-GND-1———
CSensor ground (E2)—W10—0.5SP-0V-1———
DSensor ground (E2)—W11—0.5SP-0V-1———
ECrank position (CAS NE)—W15—0.5G4XXTREMEX-A-A8———
FNC————————
GCam position (CAS G)—W16—0.5G4XXTREMEX-A-A9———
ITachometer output—W24—0.5G4XXTREMEX-A-A20———
K+5V sensor supply—W14—0.5G4XXTREMEX-A-A32———
LIdle switch (TPS)—W34—0.5G4XXTREMEX-B-B19———
NO2 sensor—W26—0.5G4XXTREMEX-A-A22———
OAir flow meter (AFM)—W25—0.5G4XXTREMEX-A-A17———
PIntake air temperature (IAT)—W28—0.5G4XXTREMEX-A-A16———
QCoolant temperature (ECT)—W27—0.5G4XXTREMEX-A-A15———
UInjector 1 & 3 (batch)—W19—0.5G4XXTREMEX-A-A4———
VInjector 2 & 4 (batch)—W20—0.5G4XXTREMEX-A-A3———
YInjector 3 (California sequential)—W21—0.5G4XXTREMEX-A-A2———
ZInjector 4 (California sequential)—W22—0.5G4XXTREMEX-A-A1———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W10—0.5OEM-2-C———
1——W11—0.5OEM-2-D———
1——W12—0.5G4XXTREMEX-A-A24———
1——W13—0.5G4XXTREMEX-B-B22———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85G4XXTREMEX-A-A5———
1——W3—0.85G4XXTREMEX-B-B5———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W4—0.85OEM-2-A———
1——W5—0.85OEM-2-B———
1——W6—0.85G4XXTREMEX-A-A25———
1——W7—0.85G4XXTREMEX-A-A34———
1——W8—0.85G4XXTREMEX-B-B25———
1——W9—0.85G4XXTREMEX-B-B34———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-1-AConstant +12Vpower_in———single_source
OEM-1-BECU power +14V (main relay)power_inG4XXTREMEX-A-A5 + G4XXTREMEX-B-B5+14V ECU Power + Aux 9/10 E-Throttle Supplypower_insingle_source
OEM-1-CStart signaldigital_inG4XXTREMEX-A-A30Digital Input 1digital_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outG4XXTREMEX-A-A21Aux 1low_side_outsingle_source
OEM-1-GIgnition 1 (coils 1+4, wasted spark)ignition_outG4XXTREMEX-A-A13Ignition 1ignition_outsingle_source
OEM-1-HIgnition 2 (coils 2+3, wasted spark)ignition_outG4XXTREMEX-A-A12Ignition 2ignition_outsingle_source
OEM-1-NWide-open throttle switchdigital_inG4XXTREMEX-A-A31Digital Input 2digital_insingle_source
OEM-1-PPower steering pressure switchdigital_inG4XXTREMEX-A-A23Digital Input 3digital_insingle_source
OEM-1-QA/C requestdigital_inG4XXTREMEX-B-B21Digital Input 4digital_insingle_source
OEM-1-VNeutral/clutch switchdigital_inG4XXTREMEX-B-B20Digital Input 5digital_insingle_source
OEM-2-APower groundgroundG4XXTREMEX-A-A25 + G4XXTREMEX-A-A34 + G4XXTREMEX-B-B25 + G4XXTREMEX-B-B34System Ground + System Ground + System Ground + System Groundgroundsingle_source
OEM-2-BPower groundgroundG4XXTREMEX-A-A25 + G4XXTREMEX-A-A34 + G4XXTREMEX-B-B25 + G4XXTREMEX-B-B34System Ground + System Ground + System Ground + System Groundgroundsingle_source
OEM-2-CSensor ground (E2)sensor_groundG4XXTREMEX-A-A24 + G4XXTREMEX-B-B22Sensor Ground + Sensor Groundsensor_groundcorroborated
OEM-2-DSensor ground (E2)sensor_groundG4XXTREMEX-A-A24 + G4XXTREMEX-B-B22Sensor Ground + Sensor Groundsensor_groundcorroborated
OEM-2-ECrank position (CAS NE)trigger_inG4XXTREMEX-A-A8Trigger 1trigger_insingle_source
OEM-2-FNC————corroborated
OEM-2-GCam position (CAS G)trigger_inG4XXTREMEX-A-A9Trigger 2trigger_insingle_source
OEM-2-ITachometer outputtacho_outG4XXTREMEX-A-A20Aux 2low_side_outsingle_source
OEM-2-K+5V sensor supplyvrefG4XXTREMEX-A-A32+5V Outvrefsingle_source
OEM-2-LIdle switch (TPS)digital_inG4XXTREMEX-B-B19Digital Input 6digital_insingle_source
OEM-2-NO2 sensorlambda_nb_inG4XXTREMEX-A-A22Analog Volt 2analog_insingle_source
OEM-2-OAir flow meter (AFM)analog_inG4XXTREMEX-A-A17Analog Volt 1analog_insingle_source
OEM-2-PIntake air temperature (IAT)temp_inG4XXTREMEX-A-A16Analog Temp 2temp_insingle_source
OEM-2-QCoolant temperature (ECT)temp_inG4XXTREMEX-A-A15Analog Temp 1temp_insingle_source
OEM-2-UInjector 1 & 3 (batch)injector_outG4XXTREMEX-A-A4Injector 1injector_outcorroborated
OEM-2-VInjector 2 & 4 (batch)injector_outG4XXTREMEX-A-A3Injector 2injector_outcorroborated
OEM-2-YInjector 3 (California sequential)injector_outG4XXTREMEX-A-A2Injector 3injector_outcorroborated
OEM-2-ZInjector 4 (California sequential)injector_outG4XXTREMEX-A-A1Injector 4injector_outcorroborated

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2SP-14V-1G4XXTREMEX-A-A50.85no route+14V ECU Power—
W3SP-14V-1G4XXTREMEX-B-B50.85no routeAux 9/10 E-Throttle Supply—
W4OEM-2-ASP-GND-10.85no routePower ground—
W5OEM-2-BSP-GND-10.85no routePower ground—
W6SP-GND-1G4XXTREMEX-A-A250.85no routeSystem Ground—
W7SP-GND-1G4XXTREMEX-A-A340.85no routeSystem Ground—
W8SP-GND-1G4XXTREMEX-B-B250.85no routeSystem Ground—
W9SP-GND-1G4XXTREMEX-B-B340.85no routeSystem Ground—
W10OEM-2-CSP-0V-10.5no routeSensor ground (E2)—
W11OEM-2-DSP-0V-10.5no routeSensor ground (E2)—
W12SP-0V-1G4XXTREMEX-A-A240.5no routeSensor Ground—
W13SP-0V-1G4XXTREMEX-B-B220.5no routeSensor Ground—
W14OEM-2-KG4XXTREMEX-A-A320.5no route+5V sensor supply—
W15OEM-2-EG4XXTREMEX-A-A80.5no routeCrank position (CAS NE)—
W16OEM-2-GG4XXTREMEX-A-A90.5no routeCam position (CAS G)—
W17OEM-1-GG4XXTREMEX-A-A130.5no routeIgnition 1 (coils 1+4, wasted spark)—
W18OEM-1-HG4XXTREMEX-A-A120.5no routeIgnition 2 (coils 2+3, wasted spark)—
W19OEM-2-UG4XXTREMEX-A-A40.5no routeInjector 1 & 3 (batch)—
W20OEM-2-VG4XXTREMEX-A-A30.5no routeInjector 2 & 4 (batch)—
W21OEM-2-YG4XXTREMEX-A-A20.5no routeInjector 3 (California sequential)—
W22OEM-2-ZG4XXTREMEX-A-A10.5no routeInjector 4 (California sequential)—
W23OEM-1-EG4XXTREMEX-A-A210.5no routeMalfunction indicator lamp (MIL)—
W24OEM-2-IG4XXTREMEX-A-A200.5no routeTachometer output—
W25OEM-2-OG4XXTREMEX-A-A170.5no routeAir flow meter (AFM)—
W26OEM-2-NG4XXTREMEX-A-A220.5no routeO2 sensor—
W27OEM-2-QG4XXTREMEX-A-A150.5no routeCoolant temperature (ECT)—
W28OEM-2-PG4XXTREMEX-A-A160.5no routeIntake air temperature (IAT)—
W29OEM-1-CG4XXTREMEX-A-A300.5no routeStart signal—
W30OEM-1-NG4XXTREMEX-A-A310.5no routeWide-open throttle switch—
W31OEM-1-PG4XXTREMEX-A-A230.5no routePower steering pressure switch—
W32OEM-1-QG4XXTREMEX-B-B210.5no routeA/C request—
W33OEM-1-VG4XXTREMEX-B-B200.5no routeNeutral/clutch switch—
W34OEM-2-LG4XXTREMEX-B-B190.5no routeIdle switch (TPS)—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit
connector174515-6TEAMP Multilock .040/.070 hybrid 22-pin female harness plug (Miata NA/NB ECU)1.000ea
connector174516-6TEAMP Multilock .040/.070 hybrid 26-pin female harness plug (Miata NA/NB ECU)1.000ea

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (2)

SeverityCodeSubjectMessage
warnNO_FUEL_PUMPfuel pumpThis 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.
infoNET_FAMILYOEM-2-I ↔ G4XXTREMEX-A-A20OEM-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)

CodeSubjectReasonBy
REQUIRED_UNMAPPEDOEM-1-ABattery-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

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docLink G4X MX5X install manual (NA 1.6/1.8)https://linkecu.com/documentation/MX5X.pdfarchive2026-10-05b7f730de9f6e
4vendor_docLink: G4X XtremeX quickstart guidehttps://linkecu.com/documentation/XtremeXQuickstartGuide.pdf———
3community_copyYourSpec: Link G4X XtremeX flying-lead harness wiring listhttps://wpm.yourspec.com/projects/view/1488———
2community_copy1991 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-086f957a38ed49
2expert_reportJustin Barrera — Miata NA/NB wiring corrections————