← Back

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

MX-5 Miata NA8 1996-97 (BP-ZE, 1.8, OBD-II) — MoTeC — M170
⚠ NOT CHECKED. Don't build from this.
Drawn by Michael Gnankou · Rev 0 · draft · 2026-10-12

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.

Statusdraft · not yet verified: nobody has reported building and running this harness
Open errorsnone
Size of the job49 wires · 7 connectors · 0 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-4-BSP-14V-10.85☐☐☐☐☐☐☐
W2SP-14V-1M170-A-230.85☐☐☐☐☐☐☐
W3SP-14V-1M170-A-320.85☐☐☐☐☐☐☐
W4SP-14V-1M170-A-410.85☐☐☐☐☐☐☐
W5OEM-4-IM170-A-540.85☐☐☐☐☐☐☐
W6OEM-4-ASP-GND-10.85☐☐☐☐☐☐☐
W7OEM-4-CSP-GND-10.85☐☐☐☐☐☐☐
W8OEM-4-DSP-GND-10.85☐☐☐☐☐☐☐
W9OEM-4-KSP-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-3-OSP-0V-10.5☐☐☐☐☐☐☐
W16OEM-4-HSP-0V-10.5☐☐☐☐☐☐☐
W17SP-0V-1M170-A-110.5☐☐☐☐☐☐☐
W18SP-0V-1M170-A-270.5☐☐☐☐☐☐☐
W19OEM-3-IM170-A-160.5☐☐☐☐☐☐☐
W20OEM-4-EM170-A-490.5☐☐☐☐☐☐☐
W21OEM-4-GM170-A-560.5☐☐☐☐☐☐☐
W22OEM-4-FM170-A-460.5☐☐☐☐☐☐☐
W23OEM-4-NM170-A-10.5☐☐☐☐☐☐☐
W24OEM-4-RM170-A-50.5☐☐☐☐☐☐☐
W25OEM-4-UM170-A-330.5☐☐☐☐☐☐☐
W26OEM-4-VM170-A-430.5☐☐☐☐☐☐☐
W27OEM-4-WM170-A-500.5☐☐☐☐☐☐☐
W28OEM-4-XM170-A-510.5☐☐☐☐☐☐☐
W29OEM-3-BM170-A-260.5☐☐☐☐☐☐☐
W30OEM-3-FM170-A-180.5☐☐☐☐☐☐☐
W31OEM-3-GM170-A-280.5☐☐☐☐☐☐☐
W32OEM-1-AM170-A-630.5☐☐☐☐☐☐☐
W33OEM-1-BM170-A-660.5☐☐☐☐☐☐☐
W34OEM-1-GM170-A-240.5☐☐☐☐☐☐☐
W35OEM-1-UM170-A-420.5☐☐☐☐☐☐☐
W36OEM-3-MM170-A-570.5☐☐☐☐☐☐☐
W37OEM-1-EM170-A-620.5☐☐☐☐☐☐☐
W38OEM-3-HM170-A-60.5☐☐☐☐☐☐☐
W39OEM-3-NM170-A-70.5☐☐☐☐☐☐☐
W40OEM-3-CM170-A-120.5☐☐☐☐☐☐☐
W41OEM-3-DM170-A-360.5☐☐☐☐☐☐☐
W42OEM-3-KM170-A-380.5☐☐☐☐☐☐☐
W43OEM-3-JM170-A-350.5☐☐☐☐☐☐☐
W44OEM-1-MM170-A-450.5☐☐☐☐☐☐☐
W45OEM-1-CM170-A-520.5☐☐☐☐☐☐☐
W46OEM-1-KM170-A-530.5☐☐☐☐☐☐☐
W47OEM-1-LM170-A-130.5☐☐☐☐☐☐☐
W48OEM-1-QM170-A-220.5☐☐☐☐☐☐☐
W49OEM-3-LM170-A-440.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-16M170-A-11open (OL)5 V sensor reference must not touch sensor ground
2M170-A-16M170-A-14open (OL)5 V sensor reference must not touch power ground
3M170-A-11M170-A-23open (OL)sensor ground must not touch +12 V supply
4M170-A-11M170-A-54open (OL)sensor ground must not touch +12 V supply
5M170-A-14M170-A-23open (OL)power ground must not touch +12 V supply
6M170-A-14M170-A-54open (OL)power ground must not touch +12 V supply
7M170-A-16M170-A-23open (OL)5 V sensor reference must not touch +12 V supply
8M170-A-16M170-A-54open (OL)5 V sensor reference must not touch +12 V supply

If any reading doesn't match, stop and get help before powering up.

Revisions

RevLabelByDate
No revisions yet.

Schematic

M170-AOEM-1OEM-3OEM-4SP-0VSP-14VSP-GND

Connectors

M170-A

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

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
ACooling fan relay (low-side)—W32—0.5M170-A-63———
BA/C condenser fan relay—W33—0.5M170-A-66———
CStarter input (12V while cranking)—W45—0.5M170-A-52———
ECheck engine light (MIL)—W37—0.5M170-A-62———
GA/C clutch relay—W34—0.5M170-A-24———
KA/C pressure switch (A/C request)—W46—0.5M170-A-53———
LClutch switch—W47—0.5M170-A-13———
MVehicle speed sensor (VSS)—W44—0.5M170-A-45———
QBrake switch—W48—0.5M170-A-22———
UFuel pump relay (low-side)—W35—0.5M170-A-42———

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
BMAF sensor input—W29—0.5M170-A-26———
CFront O2 sensor input—W40—0.5M170-A-12———
DRear O2 sensor input—W41—0.5M170-A-36———
FThrottle position (TPS)—W30—0.5M170-A-18———
GEngine coolant temp (CLT)—W31—0.5M170-A-28———
HEGR boost sensor—W38—0.5M170-A-6———
I+5V sensor reference—W19—0.5M170-A-16———
JEGR valve position sensor—W43—0.5M170-A-35———
KIntake air temp (IAT)—W42—0.5M170-A-38———
LIdle switch (closed throttle)—W49—0.5M170-A-44———
MFront O2 heater control—W36—0.5M170-A-57———
NEGR boost sensor (2nd channel)—W39—0.5M170-A-7———
OSensor ground—W15—0.5SP-0V-1———
PPower steering pressure switch————————

OEM-4

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AChassis ground—W6—0.85SP-GND-1———
BECU power +12V (main relay)—W1—0.85SP-14V-1———
CChassis ground—W7—0.85SP-GND-1———
DChassis ground—W8—0.85SP-GND-1———
ECrank position (CKP) sensor—W20—0.5M170-A-49———
FCAS SGT (cam trigger)—W22—0.5M170-A-46———
GCAS SGC (cam sync)—W21—0.5M170-A-56———
HCrank pickup timing ground (CKP gnd)—W16—0.5SP-0V-1———
IPermanent +12V (battery)—W5—0.85M170-A-54———
JPRC solenoid (FPR control)————————
KChassis ground—W9—0.85SP-GND-1———
LTachometer output————————
NIgnition coil trigger (cyl 1&4)—W23—0.5M170-A-1———
OEGR vent solenoid————————
PEGR vacuum solenoid————————
QIdle air control (IAC) valve————————
RIgnition coil trigger (cyl 2&3)—W24—0.5M170-A-5———
TEVAP purge solenoid————————
UInjector 1 (cyl 1)—W25—0.5M170-A-33———
VInjector 2 (cyl 2)—W26—0.5M170-A-43———
WInjector 3 (cyl 3)—W27—0.5M170-A-50———
XInjector 4 (cyl 4)—W28—0.5M170-A-51———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W15—0.5OEM-3-O———
1——W16—0.5OEM-4-H———
1——W17—0.5M170-A-11———
1——W18—0.5M170-A-27———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-4-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-4-A———
1——W7—0.85OEM-4-C———
1——W8—0.85OEM-4-D———
1——W9—0.85OEM-4-K———
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-ACooling fan relay (low-side)low_side_outM170-A-63Peak Hold Injector 3injector_outcorroborated
OEM-1-BA/C condenser fan relaylow_side_outM170-A-66Peak Hold Injector 4injector_outcorroborated
OEM-1-CStarter input (12V while cranking)digital_inM170-A-52Universal Digital Input 5digital_incorroborated
OEM-1-ECheck engine light (MIL)low_side_outM170-A-62Peak Hold Injector 8injector_outcorroborated
OEM-1-GA/C clutch relaylow_side_outM170-A-24Peak Hold Injector 5injector_outcorroborated
OEM-1-KA/C pressure switch (A/C request)digital_inM170-A-53Universal Digital Input 6digital_incorroborated
OEM-1-LClutch switchdigital_inM170-A-13Universal Digital Input 7digital_incorroborated
OEM-1-MVehicle speed sensor (VSS)digital_inM170-A-45Universal Digital Input 4digital_incorroborated
OEM-1-QBrake switchdigital_inM170-A-22Universal Digital Input 8digital_incorroborated
OEM-1-UFuel pump relay (low-side)low_side_outM170-A-42Peak Hold Injector 6injector_outcorroborated
OEM-3-BMAF sensor inputanalog_inM170-A-26Analogue Voltage Input 1analog_incorroborated
OEM-3-CFront O2 sensor inputlambda_nb_inM170-A-12Analogue Voltage Input 5analog_incorroborated
OEM-3-DRear O2 sensor inputlambda_nb_inM170-A-36Analogue Voltage Input 6analog_incorroborated
OEM-3-FThrottle position (TPS)analog_inM170-A-18Analogue Voltage Input 2analog_incorroborated
OEM-3-GEngine coolant temp (CLT)temp_inM170-A-28Analogue Temperature Input 1temp_incorroborated
OEM-3-HEGR boost sensoranalog_inM170-A-6Analogue Voltage Input 3analog_incorroborated
OEM-3-I+5V sensor referencevrefM170-A-16Sensor 5.0V Avrefcorroborated
OEM-3-JEGR valve position sensoranalog_inM170-A-35Analogue Voltage Input 7analog_incorroborated
OEM-3-KIntake air temp (IAT)temp_inM170-A-38Analogue Temperature Input 2temp_incorroborated
OEM-3-LIdle switch (closed throttle)digital_inM170-A-44Analogue Voltage Input 8analog_incorroborated
OEM-3-MFront O2 heater controllow_side_outM170-A-57Peak Hold Injector 7injector_outcorroborated
OEM-3-NEGR boost sensor (2nd channel)analog_inM170-A-7Analogue Voltage Input 4analog_incorroborated
OEM-3-OSensor groundsensor_groundM170-A-11 + M170-A-27Sensor 0V A + Sensor 0V Bsensor_groundcorroborated
OEM-3-PPower steering pressure switchdigital_in———corroborated
OEM-4-AChassis 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 5groundcorroborated
OEM-4-BECU power +12V (main relay)power_inM170-A-23 + M170-A-32 + M170-A-41Battery Positive + Battery Positive + Battery Positivepower_incorroborated
OEM-4-CChassis 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 5groundcorroborated
OEM-4-DChassis 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 5groundcorroborated
OEM-4-ECrank position (CKP) sensortrigger_inM170-A-49Universal Digital Input 1digital_incorroborated
OEM-4-FCAS SGT (cam trigger)trigger_inM170-A-46Universal Digital Input 3digital_incorroborated
OEM-4-GCAS SGC (cam sync)trigger_inM170-A-56Universal Digital Input 2digital_incorroborated
OEM-4-HCrank pickup timing ground (CKP gnd)sensor_groundM170-A-11 + M170-A-27Sensor 0V A + Sensor 0V Bsensor_groundcorroborated
OEM-4-IPermanent +12V (battery)power_inM170-A-54Battery Backuppower_incorroborated
OEM-4-JPRC solenoid (FPR control)low_side_out———corroborated
OEM-4-KChassis 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 5groundcorroborated
OEM-4-LTachometer outputtacho_out———corroborated
OEM-4-NIgnition coil trigger (cyl 1&4)ignition_outM170-A-1Low Side Ignition 1ignition_outcorroborated
OEM-4-OEGR vent solenoidlow_side_out———corroborated
OEM-4-PEGR vacuum solenoidlow_side_out———corroborated
OEM-4-QIdle air control (IAC) valvelow_side_out———corroborated
OEM-4-RIgnition coil trigger (cyl 2&3)ignition_outM170-A-5Low Side Ignition 2ignition_outcorroborated
OEM-4-TEVAP purge solenoidlow_side_out———corroborated
OEM-4-UInjector 1 (cyl 1)injector_outM170-A-33Peak Hold Injector 1injector_outcorroborated
OEM-4-VInjector 2 (cyl 2)injector_outM170-A-43Low Side Injector 1injector_outcorroborated
OEM-4-WInjector 3 (cyl 3)injector_outM170-A-50Peak Hold Injector 2injector_outcorroborated
OEM-4-XInjector 4 (cyl 4)injector_outM170-A-51Low Side Injector 2injector_outcorroborated

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-4-BSP-14V-10.85no routeECU power +12V (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-4-IM170-A-540.85no routePermanent +12V (battery)—
W6OEM-4-ASP-GND-10.85no routeChassis ground—
W7OEM-4-CSP-GND-10.85no routeChassis ground—
W8OEM-4-DSP-GND-10.85no routeChassis ground—
W9OEM-4-KSP-GND-10.85no routeChassis 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-3-OSP-0V-10.5no routeSensor ground—
W16OEM-4-HSP-0V-10.5no routeCrank pickup timing ground (CKP gnd)—
W17SP-0V-1M170-A-110.5no routeSensor 0V A—
W18SP-0V-1M170-A-270.5no routeSensor 0V B—
W19OEM-3-IM170-A-160.5no route+5V sensor reference—
W20OEM-4-EM170-A-490.5no routeCrank position (CKP) sensor—
W21OEM-4-GM170-A-560.5no routeCAS SGC (cam sync)—
W22OEM-4-FM170-A-460.5no routeCAS SGT (cam trigger)—
W23OEM-4-NM170-A-10.5no routeIgnition coil trigger (cyl 1&4)—
W24OEM-4-RM170-A-50.5no routeIgnition coil trigger (cyl 2&3)—
W25OEM-4-UM170-A-330.5no routeInjector 1 (cyl 1)—
W26OEM-4-VM170-A-430.5no routeInjector 2 (cyl 2)—
W27OEM-4-WM170-A-500.5no routeInjector 3 (cyl 3)—
W28OEM-4-XM170-A-510.5no routeInjector 4 (cyl 4)—
W29OEM-3-BM170-A-260.5no routeMAF sensor input—
W30OEM-3-FM170-A-180.5no routeThrottle position (TPS)—
W31OEM-3-GM170-A-280.5no routeEngine coolant temp (CLT)—
W32OEM-1-AM170-A-630.5no routeCooling fan relay (low-side)—
W33OEM-1-BM170-A-660.5no routeA/C condenser fan relay—
W34OEM-1-GM170-A-240.5no routeA/C clutch relay—
W35OEM-1-UM170-A-420.5no routeFuel pump relay (low-side)—
W36OEM-3-MM170-A-570.5no routeFront O2 heater control—
W37OEM-1-EM170-A-620.5no routeCheck engine light (MIL)—
W38OEM-3-HM170-A-60.5no routeEGR boost sensor—
W39OEM-3-NM170-A-70.5no routeEGR boost sensor (2nd channel)—
W40OEM-3-CM170-A-120.5no routeFront O2 sensor input—
W41OEM-3-DM170-A-360.5no routeRear O2 sensor input—
W42OEM-3-KM170-A-380.5no routeIntake air temp (IAT)—
W43OEM-3-JM170-A-350.5no routeEGR valve position sensor—
W44OEM-1-MM170-A-450.5no routeVehicle speed sensor (VSS)—
W45OEM-1-CM170-A-520.5no routeStarter input (12V while cranking)—
W46OEM-1-KM170-A-530.5no routeA/C pressure switch (A/C request)—
W47OEM-1-LM170-A-130.5no routeClutch switch—
W48OEM-1-QM170-A-220.5no routeBrake switch—
W49OEM-3-LM170-A-440.5no routeIdle switch (closed throttle)—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (11)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-3-L ↔ M170-A-44OEM-3-L "Idle switch (closed throttle)" [digital_in] is wired to M170-A-44 "Analogue Voltage Input 8" [analog_in]. Analog and digital on one net. A switch on an analog input works with a pull-up and a threshold; an analog sensor on a digital input loses its value.
warnNET_FAMILYOEM-4-E ↔ M170-A-49OEM-4-E "Crank position (CKP) sensor" [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-4-F ↔ M170-A-46OEM-4-F "CAS SGT (cam trigger)" [trigger_in] is wired to M170-A-46 "Universal Digital Input 3" [digital_in]. Hall-type cam/speed signals can use a digital input if it handles the frequency; VR signals cannot.
warnNET_FAMILYOEM-4-G ↔ M170-A-56OEM-4-G "CAS SGC (cam sync)" [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.
infoNET_FAMILYOEM-1-A ↔ M170-A-63OEM-1-A "Cooling fan relay (low-side)" [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-B ↔ M170-A-66OEM-1-B "A/C condenser 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-1-E ↔ M170-A-62OEM-1-E "Check engine light (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-G ↔ M170-A-24OEM-1-G "A/C clutch 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-1-U ↔ M170-A-42OEM-1-U "Fuel pump relay (low-side)" [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-3-M ↔ M170-A-57OEM-3-M "Front O2 heater control" [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.
infoUNMAPPEDOEM7 optional OEM pins are not mapped: OEM-3-P Power steering pressure switch; OEM-4-J PRC solenoid (FPR control); OEM-4-L Tachometer output; OEM-4-O EGR vent solenoid; OEM-4-P EGR vacuum solenoid; OEM-4-Q Idle air control (IAC) valve; OEM-4-T EVAP purge solenoid

Accepted (0)

CodeSubjectReasonBy

Notes

Fit check: unconfirmed. Confirm these before building: - Trigger pattern for Mazda BP-ZE not found in the ECU's docs (No native BP-ZE (NA8) mode; MoTeC support (N. Butler) is "fairly certain" the 4G63T mode works — not confirmed.) Auto-mapped by auto_map() from the library pin data on 2026-10-11. Review every wire against both manuals before building. Not wired: - OEM-4 J: PRC solenoid (FPR control): no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M170 - OEM-4 O: EGR vent solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M170 - OEM-4 P: EGR vacuum solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M170 - OEM-4 Q: Idle air control (IAC) valve: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M170 - OEM-4 T: EVAP purge solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on MoTeC M170 - OEM-4 L: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on MoTeC M170 - OEM-3 P: Power steering pressure switch: no free switch_in/frequency_in/analog_0_5 on MoTeC M170

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docAEM EMS 30-1720 Plug-and-Play adapter manual (1996-97 Miata)https://static.summitracing.com/global/images/instructions/avm-30-1720.pdf———
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
3community_copyMellens.net: 1996 Mazda Miata wiring diagrams (FSM-derived)http://www.mellens.net/mazda/mazda_miata_extra_manual/1996_wiring.pdf———