← Back

MX-5 Miata NA6 1990-93 (B6-ZE, 1.6) → DTAFast P8 (auto)

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

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 job39 wires · 6 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-1P8-C1-190.85☐☐☐☐☐☐☐
W3OEM-2-ASP-GND-10.85☐☐☐☐☐☐☐
W4OEM-2-BSP-GND-10.85☐☐☐☐☐☐☐
W5SP-GND-1P8-C1-150.85☐☐☐☐☐☐☐
W6SP-GND-1P8-C1-340.85☐☐☐☐☐☐☐
W7SP-GND-1P8-C1-550.85☐☐☐☐☐☐☐
W8OEM-2-CSP-0V-10.5☐☐☐☐☐☐☐
W9OEM-2-DSP-0V-10.5☐☐☐☐☐☐☐
W10SP-0V-1P8-C1-460.5☐☐☐☐☐☐☐
W11SP-0V-1P8-C1-470.5☐☐☐☐☐☐☐
W12SP-0V-1P8-C1-490.5☐☐☐☐☐☐☐
W13SP-0V-1P8-C1-510.5☐☐☐☐☐☐☐
W14OEM-2-KP8-C1-100.5☐☐☐☐☐☐☐
W15OEM-2-EP8-C1-80.5☐☐☐☐☐☐☐
W16OEM-2-GP8-C1-270.5☐☐☐☐☐☐☐
W17OEM-1-GP8-C1-10.5☐☐☐☐☐☐☐
W18OEM-1-HP8-C1-380.5☐☐☐☐☐☐☐
W19OEM-2-UP8-C1-370.5☐☐☐☐☐☐☐
W20OEM-2-VP8-C1-180.5☐☐☐☐☐☐☐
W21OEM-2-YP8-C1-540.5☐☐☐☐☐☐☐
W22OEM-2-ZP8-C1-360.5☐☐☐☐☐☐☐
W23OEM-2-QP8-C1-260.5☐☐☐☐☐☐☐
W24OEM-1-JP8-C1-410.5☐☐☐☐☐☐☐
W25OEM-1-RP8-C1-50.5☐☐☐☐☐☐☐
W26OEM-1-EP8-C1-430.5☐☐☐☐☐☐☐
W27OEM-2-WP8-C1-40.5☐☐☐☐☐☐☐
W28OEM-2-XP8-C1-420.5☐☐☐☐☐☐☐
W29OEM-2-IP8-C1-240.5☐☐☐☐☐☐☐
W30OEM-2-OP8-C1-250.5☐☐☐☐☐☐☐
W31OEM-2-MP8-C1-480.5☐☐☐☐☐☐☐
W32OEM-2-NP8-C1-120.5☐☐☐☐☐☐☐
W33OEM-2-PP8-C1-450.5☐☐☐☐☐☐☐
W34OEM-1-CP8-C1-130.5☐☐☐☐☐☐☐
W35OEM-1-NP8-C1-140.5☐☐☐☐☐☐☐
W36OEM-1-PP8-C1-310.5☐☐☐☐☐☐☐
W37OEM-1-QP8-C1-320.5☐☐☐☐☐☐☐
W38OEM-1-VP8-C1-330.5☐☐☐☐☐☐☐
W39OEM-2-LP8-C1-110.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
1P8-C1-19P8-C1-15open (OL)+12 V supply must not touch power ground
2P8-C1-19P8-C1-46open (OL)+12 V supply must not touch sensor ground
3P8-C1-15P8-C1-10open (OL)power ground must not touch 5 V sensor reference
4P8-C1-19P8-C1-10open (OL)+12 V supply must not touch 5 V sensor reference
5P8-C1-46P8-C1-10open (OL)sensor ground 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

OEM-1OEM-2P8-C1SP-0VSP-14VSP-GND

Connectors

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V————————
BECU power +14V (main relay)—W1—0.85SP-14V-1———
CStart signal—W34—0.5P8-C1-13———
EMalfunction indicator lamp (MIL)—W26—0.5P8-C1-43———
GIgnition 1 (coils 1+4, wasted spark)—W17—0.5P8-C1-1———
HIgnition 2 (coils 2+3, wasted spark)—W18—0.5P8-C1-38———
JA/C relay—W24—0.5P8-C1-41———
NWide-open throttle switch—W35—0.5P8-C1-14———
PPower steering pressure switch—W36—0.5P8-C1-31———
QA/C request—W37—0.5P8-C1-32———
RA/C extra cooling fan relay—W25—0.5P8-C1-5———
VNeutral/clutch switch—W38—0.5P8-C1-33———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W3—0.85SP-GND-1———
BPower ground—W4—0.85SP-GND-1———
CSensor ground (E2)—W8—0.5SP-0V-1———
DSensor ground (E2)—W9—0.5SP-0V-1———
ECrank position (CAS NE)—W15—0.5P8-C1-8———
FNC————————
GCam position (CAS G)—W16—0.5P8-C1-27———
ITachometer output—W29—0.5P8-C1-24———
K+5V sensor supply—W14—0.5P8-C1-10———
LIdle switch (TPS)—W39—0.5P8-C1-11———
MTPS signal (A/T)—W31—0.5P8-C1-48———
NO2 sensor—W32—0.5P8-C1-12———
OAir flow meter (AFM)—W30—0.5P8-C1-25———
PIntake air temperature (IAT)—W33—0.5P8-C1-45———
QCoolant temperature (ECT)—W23—0.5P8-C1-26———
UInjector 1 & 3 (batch)—W19—0.5P8-C1-37———
VInjector 2 & 4 (batch)—W20—0.5P8-C1-18———
WIdle speed control (ISC) valve—W27—0.5P8-C1-4———
XPurge solenoid valve—W28—0.5P8-C1-42———
YInjector 3 (California sequential)—W21—0.5P8-C1-54———
ZInjector 4 (California sequential)—W22—0.5P8-C1-36———

P8-C1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Coil 1—W17—0.5OEM-1-G———
105 Volts—W14—0.5OEM-2-K———
11Undriven Wheel (must)—W39—0.5OEM-2-L———
12Lambda Signal—W32—0.5OEM-2-N———
13Map2/ALS/Ana1 On/Off—W34—0.5OEM-1-C———
14Traction Wet/Dry—W35—0.5OEM-1-N———
15Power Ground—W5—0.85SP-GND-1———
16Injector 8————————
17Injector 5————————
18Injector 2—W20—0.5OEM-2-V———
1912 Volts—W2—0.85SP-14V-1———
2Coil 4————————
20Coil 3————————
21Turbo Pressure Valve————————
22Coil 8/or Aux5————————
23Turbo ALS Valve————————
24Tacho—W29—0.5OEM-2-I———
25Analogue Input 1—W30—0.5OEM-2-O———
26Water Temp—W23—0.5OEM-2-Q———
27Cam Sensor—W16—0.5OEM-2-G———
285 Volts————————
29Left Driven Wheel————————
3Coil 6————————
30Map————————
31Launch Button—W36—0.5OEM-1-P———
32Traction On/Off—W37—0.5OEM-1-Q———
33Shift Cut—W38—0.5OEM-1-V———
34Power Ground—W6—0.85SP-GND-1———
35Injector 6————————
36Injector 4—W22—0.5OEM-2-Z———
37Injector 1—W19—0.5OEM-2-U———
38Coil 2—W18—0.5OEM-1-H———
39Coil 5————————
4Idle Valve—W27—0.5OEM-2-W———
40Coil 7————————
41Fuel Pump Relay—W24—0.5OEM-1-J———
42Cam Phase Valve/Aux Out 4—W28—0.5OEM-2-X———
43Aux Out 3—W26—0.5OEM-1-E———
44Analogue Input 3————————
45Air Temp—W33—0.5OEM-2-P———
46Signal Ground—W10—0.5SP-0V-1———
47Signal Ground—W11—0.5SP-0V-1———
48Throttle Wiper—W31—0.5OEM-2-M———
49Lambda Earth—W12—0.5SP-0V-1———
5Aux Out 2—W25—0.5OEM-1-R———
50Undriven Wheel (optional)————————
51Signal Ground—W13—0.5SP-0V-1———
525 Volts————————
53Injector 7————————
54Injector 3—W21—0.5OEM-2-Y———
55Power Ground—W7—0.85SP-GND-1———
6Shift Light————————
7Analogue Input 2 Or Log Switch————————
8Crank Sensor—W15—0.5OEM-2-E———
9Right Driven Wheel————————

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W8—0.5OEM-2-C———
1——W9—0.5OEM-2-D———
1——W10—0.5P8-C1-46———
1——W11—0.5P8-C1-47———
1——W12—0.5P8-C1-49———
1——W13—0.5P8-C1-51———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85P8-C1-19———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W3—0.85OEM-2-A———
1——W4—0.85OEM-2-B———
1——W5—0.85P8-C1-15———
1——W6—0.85P8-C1-34———
1——W7—0.85P8-C1-55———

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_inP8-C1-1912 Voltspower_inWRsingle_source
OEM-1-CStart signaldigital_inP8-C1-13Map2/ALS/Ana1 On/Offdigital_inVsingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outP8-C1-43Aux Out 3low_side_outYBsingle_source
OEM-1-GIgnition 1 (coils 1+4, wasted spark)ignition_outP8-C1-1Coil 1ignition_outsingle_source
OEM-1-HIgnition 2 (coils 2+3, wasted spark)ignition_outP8-C1-38Coil 2ignition_outsingle_source
OEM-1-JA/C relaylow_side_outP8-C1-41Fuel Pump Relaylow_side_outLBsingle_source
OEM-1-NWide-open throttle switchdigital_inP8-C1-14Traction Wet/Drydigital_insingle_source
OEM-1-PPower steering pressure switchdigital_inP8-C1-31Launch Buttondigital_insingle_source
OEM-1-QA/C requestdigital_inP8-C1-32Traction On/Offdigital_insingle_source
OEM-1-RA/C extra cooling fan relaylow_side_outP8-C1-5Aux Out 2low_side_outBGsingle_source
OEM-1-VNeutral/clutch switchdigital_inP8-C1-33Shift Cutdigital_insingle_source
OEM-2-APower groundgroundP8-C1-15 + P8-C1-34 + P8-C1-55Power Ground + Power Ground + Power Groundgroundsingle_source
OEM-2-BPower groundgroundP8-C1-15 + P8-C1-34 + P8-C1-55Power Ground + Power Ground + Power Groundgroundsingle_source
OEM-2-CSensor ground (E2)sensor_groundP8-C1-46 + P8-C1-47 + P8-C1-49 + P8-C1-51Signal Ground + Signal Ground + Lambda Earth + Signal Groundsensor_groundcorroborated
OEM-2-DSensor ground (E2)sensor_groundP8-C1-46 + P8-C1-47 + P8-C1-49 + P8-C1-51Signal Ground + Signal Ground + Lambda Earth + Signal Groundsensor_groundcorroborated
OEM-2-ECrank position (CAS NE)trigger_inP8-C1-8Crank Sensortrigger_inWsingle_source
OEM-2-FNC————corroborated
OEM-2-GCam position (CAS G)trigger_inP8-C1-27Cam Sensortrigger_inYLsingle_source
OEM-2-ITachometer outputtacho_outP8-C1-24Tachotacho_outsingle_source
OEM-2-K+5V sensor supplyvrefP8-C1-105 VoltsvrefLgRsingle_source
OEM-2-LIdle switch (TPS)digital_inP8-C1-11Undriven Wheel (must)digital_inLgWsingle_source
OEM-2-MTPS signal (A/T)analog_inP8-C1-48Throttle Wiperanalog_inRBsingle_source
OEM-2-NO2 sensorlambda_nb_inP8-C1-12Lambda Signallambda_nb_inRLsingle_source
OEM-2-OAir flow meter (AFM)analog_inP8-C1-25Analogue Input 1analog_inRsingle_source
OEM-2-PIntake air temperature (IAT)temp_inP8-C1-45Air Temptemp_inRGsingle_source
OEM-2-QCoolant temperature (ECT)temp_inP8-C1-26Water Temptemp_inLWsingle_source
OEM-2-UInjector 1 & 3 (batch)injector_outP8-C1-37Injector 1injector_outYcorroborated
OEM-2-VInjector 2 & 4 (batch)injector_outP8-C1-18Injector 2injector_outYBcorroborated
OEM-2-WIdle speed control (ISC) valvelow_side_outP8-C1-4Idle Valvelow_side_outLOrsingle_source
OEM-2-XPurge solenoid valvelow_side_outP8-C1-42Cam Phase Valve/Aux Out 4low_side_outWLsingle_source
OEM-2-YInjector 3 (California sequential)injector_outP8-C1-54Injector 3injector_outcorroborated
OEM-2-ZInjector 4 (California sequential)injector_outP8-C1-36Injector 4injector_outcorroborated

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2SP-14V-1P8-C1-190.85no route12 Volts—
W3OEM-2-ASP-GND-10.85no routePower ground—
W4OEM-2-BSP-GND-10.85no routePower ground—
W5SP-GND-1P8-C1-150.85no routePower Ground—
W6SP-GND-1P8-C1-340.85no routePower Ground—
W7SP-GND-1P8-C1-550.85no routePower Ground—
W8OEM-2-CSP-0V-10.5no routeSensor ground (E2)—
W9OEM-2-DSP-0V-10.5no routeSensor ground (E2)—
W10SP-0V-1P8-C1-460.5no routeSignal Ground—
W11SP-0V-1P8-C1-470.5no routeSignal Ground—
W12SP-0V-1P8-C1-490.5no routeLambda Earth—
W13SP-0V-1P8-C1-510.5no routeSignal Ground—
W14OEM-2-KP8-C1-100.5no route+5V sensor supply—
W15OEM-2-EP8-C1-80.5no routeCrank position (CAS NE)—
W16OEM-2-GP8-C1-270.5no routeCam position (CAS G)—
W17OEM-1-GP8-C1-10.5no routeIgnition 1 (coils 1+4, wasted spark)—
W18OEM-1-HP8-C1-380.5no routeIgnition 2 (coils 2+3, wasted spark)—
W19OEM-2-UP8-C1-370.5no routeInjector 1 & 3 (batch)—
W20OEM-2-VP8-C1-180.5no routeInjector 2 & 4 (batch)—
W21OEM-2-YP8-C1-540.5no routeInjector 3 (California sequential)—
W22OEM-2-ZP8-C1-360.5no routeInjector 4 (California sequential)—
W23OEM-2-QP8-C1-260.5no routeCoolant temperature (ECT)—
W24OEM-1-JP8-C1-410.5no routeA/C relay—
W25OEM-1-RP8-C1-50.5no routeA/C extra cooling fan relay—
W26OEM-1-EP8-C1-430.5no routeMalfunction indicator lamp (MIL)—
W27OEM-2-WP8-C1-40.5no routeIdle speed control (ISC) valve—
W28OEM-2-XP8-C1-420.5no routePurge solenoid valve—
W29OEM-2-IP8-C1-240.5no routeTachometer output—
W30OEM-2-OP8-C1-250.5no routeAir flow meter (AFM)—
W31OEM-2-MP8-C1-480.5no routeTPS signal (A/T)—
W32OEM-2-NP8-C1-120.5no routeO2 sensor—
W33OEM-2-PP8-C1-450.5no routeIntake air temperature (IAT)—
W34OEM-1-CP8-C1-130.5no routeStart signal—
W35OEM-1-NP8-C1-140.5no routeWide-open throttle switch—
W36OEM-1-PP8-C1-310.5no routePower steering pressure switch—
W37OEM-1-QP8-C1-320.5no routeA/C request—
W38OEM-1-VP8-C1-330.5no routeNeutral/clutch switch—
W39OEM-2-LP8-C1-110.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 (0)

SeverityCodeSubjectMessage

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

Auto-mapped by auto_map() from the library pin data on 2026-10-11. Review every wire against both manuals before building. Open items: - Fuel-pump control: DTAFast P8 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: DTAFast P8 has no battery-constant input; not needed

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docDTAFast P8Pro wiring schematichttps://dtafast.co.uk/pages/ecu-wiring-diagrams———
4vendor_docLink G4X MX5X install manual (NA 1.6/1.8)https://linkecu.com/documentation/MX5X.pdfarchive2026-10-05b7f730de9f6e
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————
2community_copyrusefi wiki: 1990 Mazda Miata 1.6 (NA6) ECU pinouthttps://github.com/rusefi/rusefi/wiki/Mazda-Miata-1990—2026-10-08b9f94bbe3f2c