← Back

MX-5 Miata NA8 1994-97 (BP-ZE, 1.8) → MoTeC M170 13170 (auto)

MX-5 Miata NA8 1994-97 (BP-ZE, 1.8) — MoTeC — M170
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-08

Before you start

Statusproposal · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job44 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-1M170-A-230.85☐☐☐☐☐☐☐
W3SP-14V-1M170-A-320.85☐☐☐☐☐☐☐
W4SP-14V-1M170-A-410.85☐☐☐☐☐☐☐
W5OEM-1-AM170-A-540.85☐☐☐☐☐☐☐
W6OEM-2-ASP-GND-10.85☐☐☐☐☐☐☐
W7OEM-2-BSP-GND-10.85☐☐☐☐☐☐☐
W8OEM-2-CSP-GND-10.85☐☐☐☐☐☐☐
W9OEM-2-DSP-GND-10.85☐☐☐☐☐☐☐
W10SP-GND-1M170-A-140.85☐☐☐☐☐☐☐
W11SP-GND-1M170-A-150.85☐☐☐☐☐☐☐
W12SP-GND-1M170-A-190.85☐☐☐☐☐☐☐
W13SP-GND-1M170-A-200.85☐☐☐☐☐☐☐
W14SP-GND-1M170-A-210.85☐☐☐☐☐☐☐
W15OEM-2-FSP-0V-10.5☐☐☐☐☐☐☐
W16SP-0V-1M170-A-110.5☐☐☐☐☐☐☐
W17SP-0V-1M170-A-270.5☐☐☐☐☐☐☐
W18OEM-2-KM170-A-160.5☐☐☐☐☐☐☐
W19OEM-2-EM170-A-490.5☐☐☐☐☐☐☐
W20OEM-2-GM170-A-560.5☐☐☐☐☐☐☐
W21OEM-1-GM170-A-10.5☐☐☐☐☐☐☐
W22OEM-1-HM170-A-50.5☐☐☐☐☐☐☐
W23OEM-2-UM170-A-330.5☐☐☐☐☐☐☐
W24OEM-2-VM170-A-430.5☐☐☐☐☐☐☐
W25OEM-2-YM170-A-500.5☐☐☐☐☐☐☐
W26OEM-2-ZM170-A-510.5☐☐☐☐☐☐☐
W27OEM-1-JM170-A-630.5☐☐☐☐☐☐☐
W28OEM-1-RM170-A-660.5☐☐☐☐☐☐☐
W29OEM-2-SM170-A-240.5☐☐☐☐☐☐☐
W30OEM-2-TM170-A-420.5☐☐☐☐☐☐☐
W31OEM-2-WM170-A-570.5☐☐☐☐☐☐☐
W32OEM-1-EM170-A-620.5☐☐☐☐☐☐☐
W33OEM-2-RM170-A-90.5☐☐☐☐☐☐☐
W34OEM-2-XM170-A-80.5☐☐☐☐☐☐☐
W35OEM-2-OM170-A-260.5☐☐☐☐☐☐☐
W36OEM-2-MM170-A-180.5☐☐☐☐☐☐☐
W37OEM-2-NM170-A-60.5☐☐☐☐☐☐☐
W38OEM-2-QM170-A-280.5☐☐☐☐☐☐☐
W39OEM-2-PM170-A-380.5☐☐☐☐☐☐☐
W40OEM-1-MM170-A-460.5☐☐☐☐☐☐☐
W41OEM-1-CM170-A-450.5☐☐☐☐☐☐☐
W42OEM-1-PM170-A-520.5☐☐☐☐☐☐☐
W43OEM-1-QM170-A-530.5☐☐☐☐☐☐☐
W44OEM-1-VM170-A-130.5☐☐☐☐☐☐☐

Bench test (before first power-up)

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
1M170-A-23M170-A-11open (OL)+12 V supply must not touch sensor ground
2M170-A-23M170-A-14open (OL)+12 V supply must not touch power ground
3M170-A-54M170-A-11open (OL)+12 V supply must not touch sensor ground
4M170-A-54M170-A-14open (OL)+12 V supply must not touch power ground
5M170-A-11M170-A-16open (OL)sensor ground must not touch 5 V sensor reference
6M170-A-14M170-A-16open (OL)power ground must not touch 5 V sensor reference
7M170-A-23M170-A-16open (OL)+12 V supply must not touch 5 V sensor reference
8M170-A-54M170-A-16open (OL)+12 V supply must not touch 5 V sensor reference

Revisions

RevLabelByDate
No revisions yet.

Schematic

M170-AOEM-1OEM-2SP-0VSP-14VSP-GND

Connectors

M170-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Low Side Ignition 1—W21—0.5OEM-1-G———
10Low Side Ignition 4————————
11Sensor 0V A—W16—0.5SP-0V-1———
12Analogue Voltage Input 5————————
13Universal Digital Input 7—W44—0.5OEM-1-V———
14Battery Negative 1—W10—0.85SP-GND-1———
15Battery Negative 2—W11—0.85SP-GND-1———
16Sensor 5.0V A—W18—0.5OEM-2-K———
17Low Side Ignition 5————————
18Analogue Voltage Input 2—W36—0.5OEM-2-M———
19Battery Negative 3—W12—0.85SP-GND-1———
2Low Side Ignition 8————————
20Battery Negative 4—W13—0.85SP-GND-1———
21Battery Negative 5—W14—0.85SP-GND-1———
22Universal Digital Input 8————————
23Battery Positive—W2—0.85SP-14V-1———
24Peak Hold Injector 5—W29—0.5OEM-2-S———
25Low Side Ignition 6————————
26Analogue Voltage Input 1—W35—0.5OEM-2-O———
27Sensor 0V B—W17—0.5SP-0V-1———
28Analogue Temperature Input 1—W38—0.5OEM-2-Q———
29Knock Input 1————————
3Low Side Ignition 7————————
30Analogue Temperature Input 3————————
31CAN Bus 1 Low————————
32Battery Positive—W3—0.85SP-14V-1———
33Peak Hold Injector 1—W23—0.5OEM-2-U———
34Sensor 5.0V B————————
35Analogue Voltage Input 7————————
36Analogue Voltage Input 6————————
37Sensor 6.3V————————
38Analogue Temperature Input 2—W39—0.5OEM-2-P———
39Analogue Temperature Input 4————————
4Low Side Ignition 3————————
40CAN Bus 1 High————————
41Battery Positive—W4—0.85SP-14V-1———
42Peak Hold Injector 6—W30—0.5OEM-2-T———
43Low Side Injector 1—W24—0.5OEM-2-V———
44Analogue Voltage Input 8————————
45Universal Digital Input 4—W41—0.5OEM-1-C———
46Universal Digital Input 3—W40—0.5OEM-1-M———
47Ethernet Transmit -————————
48Ethernet Transmit +————————
49Universal Digital Input 1—W19—0.5OEM-2-E———
5Low Side Ignition 2—W22—0.5OEM-1-H———
50Peak Hold Injector 2—W25—0.5OEM-2-Y———
51Low Side Injector 2—W26—0.5OEM-2-Z———
52Universal Digital Input 5—W42—0.5OEM-1-P———
53Universal Digital Input 6—W43—0.5OEM-1-Q———
54Battery Backup—W5—0.85OEM-1-A———
55Ethernet Receive +————————
56Universal Digital Input 2—W20—0.5OEM-2-G———
57Peak Hold Injector 7—W31—0.5OEM-2-W———
58Half Bridge Output 5————————
59Half Bridge Output 3————————
6Analogue Voltage Input 3—W37—0.5OEM-2-N———
60Knock Input 2————————
61Ethernet Receive -————————
62Peak Hold Injector 8—W32—0.5OEM-1-E———
63Peak Hold Injector 3—W27—0.5OEM-1-J———
64Half Bridge Output 6————————
65Half Bridge Output 4————————
66Peak Hold Injector 4—W28—0.5OEM-1-R———
7Analogue Voltage Input 4————————
8Half Bridge Output 2—W34—0.5OEM-2-X———
9Half Bridge Output 1—W33—0.5OEM-2-R———

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V—W5—0.85M170-A-54———
BECU power +14V (main relay)—W1—0.85SP-14V-1———
CStart signal—W41—0.5M170-A-45———
EMalfunction indicator lamp (MIL)—W32—0.5M170-A-62———
GIgnition 1 (coils 1+4, wasted spark)—W21—0.5M170-A-1———
HIgnition 2 (coils 2+3, wasted spark)—W22—0.5M170-A-5———
JA/C relay—W27—0.5M170-A-63———
MVehicle speed—W40—0.5M170-A-46———
PPower steering pressure switch—W42—0.5M170-A-52———
QA/C request—W43—0.5M170-A-53———
RCooling fan relay—W28—0.5M170-A-66———
VNeutral/clutch switch—W44—0.5M170-A-13———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W6—0.85SP-GND-1———
BPower ground—W7—0.85SP-GND-1———
CPower ground—W8—0.85SP-GND-1———
DPower ground—W9—0.85SP-GND-1———
ECrank position (CAS NE)—W19—0.5M170-A-49———
FMAF ground—W15—0.5SP-0V-1———
GCam position (CAS G)—W20—0.5M170-A-56———
ITachometer output————————
K+5V sensor supply—W18—0.5M170-A-16———
MThrottle position (TPS)—W36—0.5M170-A-18———
NO2 sensor—W37—0.5M170-A-6———
OMass air flow (MAF)—W35—0.5M170-A-26———
PIntake air temperature (IAT)—W39—0.5M170-A-38———
QCoolant temperature (ECT)—W38—0.5M170-A-28———
RPRC solenoid (fuel pressure regulator)—W33—0.5M170-A-9———
SCondenser fan relay—W29—0.5M170-A-24———
TFuel pump relay—W30—0.5M170-A-42———
UInjector 1—W23—0.5M170-A-33———
VInjector 2—W24—0.5M170-A-43———
WISC solenoid—W31—0.5M170-A-57———
XEvap purge solenoid—W34—0.5M170-A-8———
YInjector 3—W25—0.5M170-A-50———
ZInjector 4—W26—0.5M170-A-51———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W15—0.5OEM-2-F———
1——W16—0.5M170-A-11———
1——W17—0.5M170-A-27———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85M170-A-23———
1——W3—0.85M170-A-32———
1——W4—0.85M170-A-41———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W6—0.85OEM-2-A———
1——W7—0.85OEM-2-B———
1——W8—0.85OEM-2-C———
1——W9—0.85OEM-2-D———
1——W10—0.85M170-A-14———
1——W11—0.85M170-A-15———
1——W12—0.85M170-A-19———
1——W13—0.85M170-A-20———
1——W14—0.85M170-A-21———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-1-AConstant +12Vpower_inM170-A-54Battery Backuppower_insingle_source
OEM-1-BECU power +14V (main relay)power_inM170-A-23 + M170-A-32 + M170-A-41Battery Positive + Battery Positive + Battery Positivepower_insingle_source
OEM-1-CStart signaldigital_inM170-A-45Universal Digital Input 4digital_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outM170-A-62Peak Hold Injector 8injector_outsingle_source
OEM-1-GIgnition 1 (coils 1+4, wasted spark)ignition_outM170-A-1Low Side Ignition 1ignition_outsingle_source
OEM-1-HIgnition 2 (coils 2+3, wasted spark)ignition_outM170-A-5Low Side Ignition 2ignition_outsingle_source
OEM-1-JA/C relaylow_side_outM170-A-63Peak Hold Injector 3injector_outsingle_source
OEM-1-MVehicle speeddigital_inM170-A-46Universal Digital Input 3digital_insingle_source
OEM-1-PPower steering pressure switchdigital_inM170-A-52Universal Digital Input 5digital_insingle_source
OEM-1-QA/C requestdigital_inM170-A-53Universal Digital Input 6digital_insingle_source
OEM-1-RCooling fan relaylow_side_outM170-A-66Peak Hold Injector 4injector_outsingle_source
OEM-1-VNeutral/clutch switchdigital_inM170-A-13Universal Digital Input 7digital_insingle_source
OEM-2-APower groundgroundM170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5groundsingle_source
OEM-2-BPower groundgroundM170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5groundsingle_source
OEM-2-CPower groundgroundM170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5groundsingle_source
OEM-2-DPower groundgroundM170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5groundsingle_source
OEM-2-ECrank position (CAS NE)trigger_inM170-A-49Universal Digital Input 1digital_insingle_source
OEM-2-FMAF groundsensor_groundM170-A-11 + M170-A-27Sensor 0V A + Sensor 0V Bsensor_groundsingle_source
OEM-2-GCam position (CAS G)trigger_inM170-A-56Universal Digital Input 2digital_insingle_source
OEM-2-ITachometer outputtacho_out———single_source
OEM-2-K+5V sensor supplyvrefM170-A-16Sensor 5.0V Avrefsingle_source
OEM-2-MThrottle position (TPS)analog_inM170-A-18Analogue Voltage Input 2analog_insingle_source
OEM-2-NO2 sensorlambda_nb_inM170-A-6Analogue Voltage Input 3analog_insingle_source
OEM-2-OMass air flow (MAF)analog_inM170-A-26Analogue Voltage Input 1analog_insingle_source
OEM-2-PIntake air temperature (IAT)temp_inM170-A-38Analogue Temperature Input 2temp_insingle_source
OEM-2-QCoolant temperature (ECT)temp_inM170-A-28Analogue Temperature Input 1temp_insingle_source
OEM-2-RPRC solenoid (fuel pressure regulator)low_side_outM170-A-9Half Bridge Output 1hbridge_outsingle_source
OEM-2-SCondenser fan relaylow_side_outM170-A-24Peak Hold Injector 5injector_outsingle_source
OEM-2-TFuel pump relaylow_side_outM170-A-42Peak Hold Injector 6injector_outsingle_source
OEM-2-UInjector 1injector_outM170-A-33Peak Hold Injector 1injector_outsingle_source
OEM-2-VInjector 2injector_outM170-A-43Low Side Injector 1injector_outsingle_source
OEM-2-WISC solenoidlow_side_outM170-A-57Peak Hold Injector 7injector_outsingle_source
OEM-2-XEvap purge solenoidlow_side_outM170-A-8Half Bridge Output 2hbridge_outsingle_source
OEM-2-YInjector 3injector_outM170-A-50Peak Hold Injector 2injector_outsingle_source
OEM-2-ZInjector 4injector_outM170-A-51Low Side Injector 2injector_outsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2SP-14V-1M170-A-230.85no routeBattery Positive—
W3SP-14V-1M170-A-320.85no routeBattery Positive—
W4SP-14V-1M170-A-410.85no routeBattery Positive—
W5OEM-1-AM170-A-540.85no routeConstant +12V—
W6OEM-2-ASP-GND-10.85no routePower ground—
W7OEM-2-BSP-GND-10.85no routePower ground—
W8OEM-2-CSP-GND-10.85no routePower ground—
W9OEM-2-DSP-GND-10.85no routePower ground—
W10SP-GND-1M170-A-140.85no routeBattery Negative 1—
W11SP-GND-1M170-A-150.85no routeBattery Negative 2—
W12SP-GND-1M170-A-190.85no routeBattery Negative 3—
W13SP-GND-1M170-A-200.85no routeBattery Negative 4—
W14SP-GND-1M170-A-210.85no routeBattery Negative 5—
W15OEM-2-FSP-0V-10.5no routeMAF ground—
W16SP-0V-1M170-A-110.5no routeSensor 0V A—
W17SP-0V-1M170-A-270.5no routeSensor 0V B—
W18OEM-2-KM170-A-160.5no route+5V sensor supply—
W19OEM-2-EM170-A-490.5no routeCrank position (CAS NE)—
W20OEM-2-GM170-A-560.5no routeCam position (CAS G)—
W21OEM-1-GM170-A-10.5no routeIgnition 1 (coils 1+4, wasted spark)—
W22OEM-1-HM170-A-50.5no routeIgnition 2 (coils 2+3, wasted spark)—
W23OEM-2-UM170-A-330.5no routeInjector 1—
W24OEM-2-VM170-A-430.5no routeInjector 2—
W25OEM-2-YM170-A-500.5no routeInjector 3—
W26OEM-2-ZM170-A-510.5no routeInjector 4—
W27OEM-1-JM170-A-630.5no routeA/C relay—
W28OEM-1-RM170-A-660.5no routeCooling fan relay—
W29OEM-2-SM170-A-240.5no routeCondenser fan relay—
W30OEM-2-TM170-A-420.5no routeFuel pump relay—
W31OEM-2-WM170-A-570.5no routeISC solenoid—
W32OEM-1-EM170-A-620.5no routeMalfunction indicator lamp (MIL)—
W33OEM-2-RM170-A-90.5no routePRC solenoid (fuel pressure regulator)—
W34OEM-2-XM170-A-80.5no routeEvap purge solenoid—
W35OEM-2-OM170-A-260.5no routeMass air flow (MAF)—
W36OEM-2-MM170-A-180.5no routeThrottle position (TPS)—
W37OEM-2-NM170-A-60.5no routeO2 sensor—
W38OEM-2-QM170-A-280.5no routeCoolant temperature (ECT)—
W39OEM-2-PM170-A-380.5no routeIntake air temperature (IAT)—
W40OEM-1-MM170-A-460.5no routeVehicle speed—
W41OEM-1-CM170-A-450.5no routeStart signal—
W42OEM-1-PM170-A-520.5no routePower steering pressure switch—
W43OEM-1-QM170-A-530.5no routeA/C request—
W44OEM-1-VM170-A-130.5no routeNeutral/clutch switch—

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 (11)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-2-E ↔ M170-A-49OEM-2-E "Crank position (CAS NE)" [trigger_in] is wired to M170-A-49 "Universal Digital Input 1" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot.
warnNET_FAMILYOEM-2-G ↔ M170-A-56OEM-2-G "Cam position (CAS G)" [trigger_in] is wired to M170-A-56 "Universal Digital Input 2" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot.
warnNET_FAMILYOEM-2-R ↔ M170-A-9OEM-2-R "PRC solenoid (fuel pressure regulator)" [low_side_out] is wired to M170-A-9 "Half Bridge Output 1" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-X ↔ M170-A-8OEM-2-X "Evap purge solenoid" [low_side_out] is wired to M170-A-8 "Half Bridge Output 2" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
infoNET_FAMILYOEM-1-E ↔ M170-A-62OEM-1-E "Malfunction indicator lamp (MIL)" [low_side_out] is wired to M170-A-62 "Peak Hold Injector 8" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-1-J ↔ M170-A-63OEM-1-J "A/C relay" [low_side_out] is wired to M170-A-63 "Peak Hold Injector 3" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-1-R ↔ M170-A-66OEM-1-R "Cooling fan relay" [low_side_out] is wired to M170-A-66 "Peak Hold Injector 4" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-S ↔ M170-A-24OEM-2-S "Condenser fan relay" [low_side_out] is wired to M170-A-24 "Peak Hold Injector 5" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-T ↔ M170-A-42OEM-2-T "Fuel pump relay" [low_side_out] is wired to M170-A-42 "Peak Hold Injector 6" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-2-W ↔ M170-A-57OEM-2-W "ISC solenoid" [low_side_out] is wired to M170-A-57 "Peak Hold Injector 7" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoUNMAPPEDOEM1 optional OEM pins are not mapped: OEM-2-I Tachometer output

Accepted (0)

CodeSubjectReasonBy

Notes

Auto-mapped by auto_map() from the library pin data on 2026-10-06. Review every wire against both manuals before building. Not wired: - OEM-2 I: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M170

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docLink G4X MX5X install manual (NA 1.6/1.8)https://linkecu.com/documentation/MX5X.pdfarchive2026-10-05b7f730de9f6e
4vendor_docMoTeC: M1 ECU Hardware manual (7 Nov 2013) — M130/M150/M170/M190 pinout tableshttps://web.archive.org/web/2023id_/https://www.motec.com.au/hessian/uploads/M1_ECU_Hardware_c2517380e4.pdf—2026-10-0503dc5975f739