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
| Status | proposal · not yet verified: nobody has reported building and running this harness |
|---|---|
| Open errors | none |
| Size of the job | 44 wires · 6 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 | M170-A-23 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W3 | SP-14V-1 | M170-A-32 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W4 | SP-14V-1 | M170-A-41 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W5 | OEM-1-A | M170-A-54 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W6 | OEM-2-A | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W7 | OEM-2-B | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W8 | OEM-2-C | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W9 | OEM-2-D | SP-GND-1 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W10 | SP-GND-1 | M170-A-14 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W11 | SP-GND-1 | M170-A-15 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W12 | SP-GND-1 | M170-A-19 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W13 | SP-GND-1 | M170-A-20 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W14 | SP-GND-1 | M170-A-21 | 0.85 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W15 | OEM-2-F | SP-0V-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W16 | SP-0V-1 | M170-A-11 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W17 | SP-0V-1 | M170-A-27 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W18 | OEM-2-K | M170-A-16 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W19 | OEM-2-E | M170-A-49 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W20 | OEM-2-G | M170-A-56 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W21 | OEM-1-G | M170-A-1 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W22 | OEM-1-H | M170-A-5 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W23 | OEM-2-U | M170-A-33 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W24 | OEM-2-V | M170-A-43 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W25 | OEM-2-Y | M170-A-50 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W26 | OEM-2-Z | M170-A-51 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W27 | OEM-1-J | M170-A-63 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W28 | OEM-1-R | M170-A-66 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W29 | OEM-2-S | M170-A-24 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W30 | OEM-2-T | M170-A-42 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W31 | OEM-2-W | M170-A-57 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W32 | OEM-1-E | M170-A-62 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W33 | OEM-2-R | M170-A-9 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W34 | OEM-2-X | M170-A-8 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W35 | OEM-2-O | M170-A-26 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W36 | OEM-2-M | M170-A-18 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W37 | OEM-2-N | M170-A-6 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W38 | OEM-2-Q | M170-A-28 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W39 | OEM-2-P | M170-A-38 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W40 | OEM-1-M | M170-A-46 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W41 | OEM-1-C | M170-A-45 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W42 | OEM-1-P | M170-A-52 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W43 | OEM-1-Q | M170-A-53 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W44 | OEM-1-V | M170-A-13 | 0.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 A | Probe B | Expect | Why | Reading |
|---|---|---|---|---|---|
| 1 | M170-A-23 | M170-A-11 | open (OL) | +12 V supply must not touch sensor ground | |
| 2 | M170-A-23 | M170-A-14 | open (OL) | +12 V supply must not touch power ground | |
| 3 | M170-A-54 | M170-A-11 | open (OL) | +12 V supply must not touch sensor ground | |
| 4 | M170-A-54 | M170-A-14 | open (OL) | +12 V supply must not touch power ground | |
| 5 | M170-A-11 | M170-A-16 | open (OL) | sensor ground must not touch 5 V sensor reference | |
| 6 | M170-A-14 | M170-A-16 | open (OL) | power ground must not touch 5 V sensor reference | |
| 7 | M170-A-23 | M170-A-16 | open (OL) | +12 V supply must not touch 5 V sensor reference | |
| 8 | M170-A-54 | M170-A-16 | open (OL) | +12 V supply must not touch 5 V sensor reference |
Revisions
| Rev | Label | By | Date |
|---|---|---|---|
| No revisions yet. | |||
Schematic
Connectors
M170-A
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Low Side Ignition 1 | — | W21 | — | 0.5 | OEM-1-G | — | — | — |
| 10 | Low Side Ignition 4 | — | — | — | — | — | — | — | — |
| 11 | Sensor 0V A | — | W16 | — | 0.5 | SP-0V-1 | — | — | — |
| 12 | Analogue Voltage Input 5 | — | — | — | — | — | — | — | — |
| 13 | Universal Digital Input 7 | — | W44 | — | 0.5 | OEM-1-V | — | — | — |
| 14 | Battery Negative 1 | — | W10 | — | 0.85 | SP-GND-1 | — | — | — |
| 15 | Battery Negative 2 | — | W11 | — | 0.85 | SP-GND-1 | — | — | — |
| 16 | Sensor 5.0V A | — | W18 | — | 0.5 | OEM-2-K | — | — | — |
| 17 | Low Side Ignition 5 | — | — | — | — | — | — | — | — |
| 18 | Analogue Voltage Input 2 | — | W36 | — | 0.5 | OEM-2-M | — | — | — |
| 19 | Battery Negative 3 | — | W12 | — | 0.85 | SP-GND-1 | — | — | — |
| 2 | Low Side Ignition 8 | — | — | — | — | — | — | — | — |
| 20 | Battery Negative 4 | — | W13 | — | 0.85 | SP-GND-1 | — | — | — |
| 21 | Battery Negative 5 | — | W14 | — | 0.85 | SP-GND-1 | — | — | — |
| 22 | Universal Digital Input 8 | — | — | — | — | — | — | — | — |
| 23 | Battery Positive | — | W2 | — | 0.85 | SP-14V-1 | — | — | — |
| 24 | Peak Hold Injector 5 | — | W29 | — | 0.5 | OEM-2-S | — | — | — |
| 25 | Low Side Ignition 6 | — | — | — | — | — | — | — | — |
| 26 | Analogue Voltage Input 1 | — | W35 | — | 0.5 | OEM-2-O | — | — | — |
| 27 | Sensor 0V B | — | W17 | — | 0.5 | SP-0V-1 | — | — | — |
| 28 | Analogue Temperature Input 1 | — | W38 | — | 0.5 | OEM-2-Q | — | — | — |
| 29 | Knock Input 1 | — | — | — | — | — | — | — | — |
| 3 | Low Side Ignition 7 | — | — | — | — | — | — | — | — |
| 30 | Analogue Temperature Input 3 | — | — | — | — | — | — | — | — |
| 31 | CAN Bus 1 Low | — | — | — | — | — | — | — | — |
| 32 | Battery Positive | — | W3 | — | 0.85 | SP-14V-1 | — | — | — |
| 33 | Peak Hold Injector 1 | — | W23 | — | 0.5 | OEM-2-U | — | — | — |
| 34 | Sensor 5.0V B | — | — | — | — | — | — | — | — |
| 35 | Analogue Voltage Input 7 | — | — | — | — | — | — | — | — |
| 36 | Analogue Voltage Input 6 | — | — | — | — | — | — | — | — |
| 37 | Sensor 6.3V | — | — | — | — | — | — | — | — |
| 38 | Analogue Temperature Input 2 | — | W39 | — | 0.5 | OEM-2-P | — | — | — |
| 39 | Analogue Temperature Input 4 | — | — | — | — | — | — | — | — |
| 4 | Low Side Ignition 3 | — | — | — | — | — | — | — | — |
| 40 | CAN Bus 1 High | — | — | — | — | — | — | — | — |
| 41 | Battery Positive | — | W4 | — | 0.85 | SP-14V-1 | — | — | — |
| 42 | Peak Hold Injector 6 | — | W30 | — | 0.5 | OEM-2-T | — | — | — |
| 43 | Low Side Injector 1 | — | W24 | — | 0.5 | OEM-2-V | — | — | — |
| 44 | Analogue Voltage Input 8 | — | — | — | — | — | — | — | — |
| 45 | Universal Digital Input 4 | — | W41 | — | 0.5 | OEM-1-C | — | — | — |
| 46 | Universal Digital Input 3 | — | W40 | — | 0.5 | OEM-1-M | — | — | — |
| 47 | Ethernet Transmit - | — | — | — | — | — | — | — | — |
| 48 | Ethernet Transmit + | — | — | — | — | — | — | — | — |
| 49 | Universal Digital Input 1 | — | W19 | — | 0.5 | OEM-2-E | — | — | — |
| 5 | Low Side Ignition 2 | — | W22 | — | 0.5 | OEM-1-H | — | — | — |
| 50 | Peak Hold Injector 2 | — | W25 | — | 0.5 | OEM-2-Y | — | — | — |
| 51 | Low Side Injector 2 | — | W26 | — | 0.5 | OEM-2-Z | — | — | — |
| 52 | Universal Digital Input 5 | — | W42 | — | 0.5 | OEM-1-P | — | — | — |
| 53 | Universal Digital Input 6 | — | W43 | — | 0.5 | OEM-1-Q | — | — | — |
| 54 | Battery Backup | — | W5 | — | 0.85 | OEM-1-A | — | — | — |
| 55 | Ethernet Receive + | — | — | — | — | — | — | — | — |
| 56 | Universal Digital Input 2 | — | W20 | — | 0.5 | OEM-2-G | — | — | — |
| 57 | Peak Hold Injector 7 | — | W31 | — | 0.5 | OEM-2-W | — | — | — |
| 58 | Half Bridge Output 5 | — | — | — | — | — | — | — | — |
| 59 | Half Bridge Output 3 | — | — | — | — | — | — | — | — |
| 6 | Analogue Voltage Input 3 | — | W37 | — | 0.5 | OEM-2-N | — | — | — |
| 60 | Knock Input 2 | — | — | — | — | — | — | — | — |
| 61 | Ethernet Receive - | — | — | — | — | — | — | — | — |
| 62 | Peak Hold Injector 8 | — | W32 | — | 0.5 | OEM-1-E | — | — | — |
| 63 | Peak Hold Injector 3 | — | W27 | — | 0.5 | OEM-1-J | — | — | — |
| 64 | Half Bridge Output 6 | — | — | — | — | — | — | — | — |
| 65 | Half Bridge Output 4 | — | — | — | — | — | — | — | — |
| 66 | Peak Hold Injector 4 | — | W28 | — | 0.5 | OEM-1-R | — | — | — |
| 7 | Analogue Voltage Input 4 | — | — | — | — | — | — | — | — |
| 8 | Half Bridge Output 2 | — | W34 | — | 0.5 | OEM-2-X | — | — | — |
| 9 | Half Bridge Output 1 | — | W33 | — | 0.5 | OEM-2-R | — | — | — |
OEM-1
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Constant +12V | — | W5 | — | 0.85 | M170-A-54 | — | — | — |
| B | ECU power +14V (main relay) | — | W1 | — | 0.85 | SP-14V-1 | — | — | — |
| C | Start signal | — | W41 | — | 0.5 | M170-A-45 | — | — | — |
| E | Malfunction indicator lamp (MIL) | — | W32 | — | 0.5 | M170-A-62 | — | — | — |
| G | Ignition 1 (coils 1+4, wasted spark) | — | W21 | — | 0.5 | M170-A-1 | — | — | — |
| H | Ignition 2 (coils 2+3, wasted spark) | — | W22 | — | 0.5 | M170-A-5 | — | — | — |
| J | A/C relay | — | W27 | — | 0.5 | M170-A-63 | — | — | — |
| M | Vehicle speed | — | W40 | — | 0.5 | M170-A-46 | — | — | — |
| P | Power steering pressure switch | — | W42 | — | 0.5 | M170-A-52 | — | — | — |
| Q | A/C request | — | W43 | — | 0.5 | M170-A-53 | — | — | — |
| R | Cooling fan relay | — | W28 | — | 0.5 | M170-A-66 | — | — | — |
| V | Neutral/clutch switch | — | W44 | — | 0.5 | M170-A-13 | — | — | — |
OEM-2
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| A | Power ground | — | W6 | — | 0.85 | SP-GND-1 | — | — | — |
| B | Power ground | — | W7 | — | 0.85 | SP-GND-1 | — | — | — |
| C | Power ground | — | W8 | — | 0.85 | SP-GND-1 | — | — | — |
| D | Power ground | — | W9 | — | 0.85 | SP-GND-1 | — | — | — |
| E | Crank position (CAS NE) | — | W19 | — | 0.5 | M170-A-49 | — | — | — |
| F | MAF ground | — | W15 | — | 0.5 | SP-0V-1 | — | — | — |
| G | Cam position (CAS G) | — | W20 | — | 0.5 | M170-A-56 | — | — | — |
| I | Tachometer output | — | — | — | — | — | — | — | — |
| K | +5V sensor supply | — | W18 | — | 0.5 | M170-A-16 | — | — | — |
| M | Throttle position (TPS) | — | W36 | — | 0.5 | M170-A-18 | — | — | — |
| N | O2 sensor | — | W37 | — | 0.5 | M170-A-6 | — | — | — |
| O | Mass air flow (MAF) | — | W35 | — | 0.5 | M170-A-26 | — | — | — |
| P | Intake air temperature (IAT) | — | W39 | — | 0.5 | M170-A-38 | — | — | — |
| Q | Coolant temperature (ECT) | — | W38 | — | 0.5 | M170-A-28 | — | — | — |
| R | PRC solenoid (fuel pressure regulator) | — | W33 | — | 0.5 | M170-A-9 | — | — | — |
| S | Condenser fan relay | — | W29 | — | 0.5 | M170-A-24 | — | — | — |
| T | Fuel pump relay | — | W30 | — | 0.5 | M170-A-42 | — | — | — |
| U | Injector 1 | — | W23 | — | 0.5 | M170-A-33 | — | — | — |
| V | Injector 2 | — | W24 | — | 0.5 | M170-A-43 | — | — | — |
| W | ISC solenoid | — | W31 | — | 0.5 | M170-A-57 | — | — | — |
| X | Evap purge solenoid | — | W34 | — | 0.5 | M170-A-8 | — | — | — |
| Y | Injector 3 | — | W25 | — | 0.5 | M170-A-50 | — | — | — |
| Z | Injector 4 | — | W26 | — | 0.5 | M170-A-51 | — | — | — |
SP-0V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W15 | — | 0.5 | OEM-2-F | — | — | — |
| 1 | — | — | W16 | — | 0.5 | M170-A-11 | — | — | — |
| 1 | — | — | W17 | — | 0.5 | M170-A-27 | — | — | — |
SP-14V
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W1 | — | 0.85 | OEM-1-B | — | — | — |
| 1 | — | — | W2 | — | 0.85 | M170-A-23 | — | — | — |
| 1 | — | — | W3 | — | 0.85 | M170-A-32 | — | — | — |
| 1 | — | — | W4 | — | 0.85 | M170-A-41 | — | — | — |
SP-GND
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| 1 | — | — | W6 | — | 0.85 | OEM-2-A | — | — | — |
| 1 | — | — | W7 | — | 0.85 | OEM-2-B | — | — | — |
| 1 | — | — | W8 | — | 0.85 | OEM-2-C | — | — | — |
| 1 | — | — | W9 | — | 0.85 | OEM-2-D | — | — | — |
| 1 | — | — | W10 | — | 0.85 | M170-A-14 | — | — | — |
| 1 | — | — | W11 | — | 0.85 | M170-A-15 | — | — | — |
| 1 | — | — | W12 | — | 0.85 | M170-A-19 | — | — | — |
| 1 | — | — | W13 | — | 0.85 | M170-A-20 | — | — | — |
| 1 | — | — | W14 | — | 0.85 | M170-A-21 | — | — | — |
Pin map
| OEM point | OEM function | OEM family | Target point | Target function | Target family | Wire colour | Evidence |
|---|---|---|---|---|---|---|---|
| OEM-1-A | Constant +12V | power_in | M170-A-54 | Battery Backup | power_in | single_source | |
| OEM-1-B | ECU power +14V (main relay) | power_in | M170-A-23 + M170-A-32 + M170-A-41 | Battery Positive + Battery Positive + Battery Positive | power_in | single_source | |
| OEM-1-C | Start signal | digital_in | M170-A-45 | Universal Digital Input 4 | digital_in | single_source | |
| OEM-1-E | Malfunction indicator lamp (MIL) | low_side_out | M170-A-62 | Peak Hold Injector 8 | injector_out | single_source | |
| OEM-1-G | Ignition 1 (coils 1+4, wasted spark) | ignition_out | M170-A-1 | Low Side Ignition 1 | ignition_out | single_source | |
| OEM-1-H | Ignition 2 (coils 2+3, wasted spark) | ignition_out | M170-A-5 | Low Side Ignition 2 | ignition_out | single_source | |
| OEM-1-J | A/C relay | low_side_out | M170-A-63 | Peak Hold Injector 3 | injector_out | single_source | |
| OEM-1-M | Vehicle speed | digital_in | M170-A-46 | Universal Digital Input 3 | digital_in | single_source | |
| OEM-1-P | Power steering pressure switch | digital_in | M170-A-52 | Universal Digital Input 5 | digital_in | single_source | |
| OEM-1-Q | A/C request | digital_in | M170-A-53 | Universal Digital Input 6 | digital_in | single_source | |
| OEM-1-R | Cooling fan relay | low_side_out | M170-A-66 | Peak Hold Injector 4 | injector_out | single_source | |
| OEM-1-V | Neutral/clutch switch | digital_in | M170-A-13 | Universal Digital Input 7 | digital_in | single_source | |
| OEM-2-A | Power ground | ground | M170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21 | Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5 | ground | single_source | |
| OEM-2-B | Power ground | ground | M170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21 | Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5 | ground | single_source | |
| OEM-2-C | Power ground | ground | M170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21 | Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5 | ground | single_source | |
| OEM-2-D | Power ground | ground | M170-A-14 + M170-A-15 + M170-A-19 + M170-A-20 + M170-A-21 | Battery Negative 1 + Battery Negative 2 + Battery Negative 3 + Battery Negative 4 + Battery Negative 5 | ground | single_source | |
| OEM-2-E | Crank position (CAS NE) | trigger_in | M170-A-49 | Universal Digital Input 1 | digital_in | single_source | |
| OEM-2-F | MAF ground | sensor_ground | M170-A-11 + M170-A-27 | Sensor 0V A + Sensor 0V B | sensor_ground | single_source | |
| OEM-2-G | Cam position (CAS G) | trigger_in | M170-A-56 | Universal Digital Input 2 | digital_in | single_source | |
| OEM-2-I | Tachometer output | tacho_out | — | — | — | single_source | |
| OEM-2-K | +5V sensor supply | vref | M170-A-16 | Sensor 5.0V A | vref | single_source | |
| OEM-2-M | Throttle position (TPS) | analog_in | M170-A-18 | Analogue Voltage Input 2 | analog_in | single_source | |
| OEM-2-N | O2 sensor | lambda_nb_in | M170-A-6 | Analogue Voltage Input 3 | analog_in | single_source | |
| OEM-2-O | Mass air flow (MAF) | analog_in | M170-A-26 | Analogue Voltage Input 1 | analog_in | single_source | |
| OEM-2-P | Intake air temperature (IAT) | temp_in | M170-A-38 | Analogue Temperature Input 2 | temp_in | single_source | |
| OEM-2-Q | Coolant temperature (ECT) | temp_in | M170-A-28 | Analogue Temperature Input 1 | temp_in | single_source | |
| OEM-2-R | PRC solenoid (fuel pressure regulator) | low_side_out | M170-A-9 | Half Bridge Output 1 | hbridge_out | single_source | |
| OEM-2-S | Condenser fan relay | low_side_out | M170-A-24 | Peak Hold Injector 5 | injector_out | single_source | |
| OEM-2-T | Fuel pump relay | low_side_out | M170-A-42 | Peak Hold Injector 6 | injector_out | single_source | |
| OEM-2-U | Injector 1 | injector_out | M170-A-33 | Peak Hold Injector 1 | injector_out | single_source | |
| OEM-2-V | Injector 2 | injector_out | M170-A-43 | Low Side Injector 1 | injector_out | single_source | |
| OEM-2-W | ISC solenoid | low_side_out | M170-A-57 | Peak Hold Injector 7 | injector_out | single_source | |
| OEM-2-X | Evap purge solenoid | low_side_out | M170-A-8 | Half Bridge Output 2 | hbridge_out | single_source | |
| OEM-2-Y | Injector 3 | injector_out | M170-A-50 | Peak Hold Injector 2 | injector_out | single_source | |
| OEM-2-Z | Injector 4 | injector_out | M170-A-51 | Low Side Injector 2 | injector_out | single_source |
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 | M170-A-23 | 0.85 | no route | Battery Positive | — | |
| W3 | SP-14V-1 | M170-A-32 | 0.85 | no route | Battery Positive | — | |
| W4 | SP-14V-1 | M170-A-41 | 0.85 | no route | Battery Positive | — | |
| W5 | OEM-1-A | M170-A-54 | 0.85 | no route | Constant +12V | — | |
| W6 | OEM-2-A | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W7 | OEM-2-B | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W8 | OEM-2-C | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W9 | OEM-2-D | SP-GND-1 | 0.85 | no route | Power ground | — | |
| W10 | SP-GND-1 | M170-A-14 | 0.85 | no route | Battery Negative 1 | — | |
| W11 | SP-GND-1 | M170-A-15 | 0.85 | no route | Battery Negative 2 | — | |
| W12 | SP-GND-1 | M170-A-19 | 0.85 | no route | Battery Negative 3 | — | |
| W13 | SP-GND-1 | M170-A-20 | 0.85 | no route | Battery Negative 4 | — | |
| W14 | SP-GND-1 | M170-A-21 | 0.85 | no route | Battery Negative 5 | — | |
| W15 | OEM-2-F | SP-0V-1 | 0.5 | no route | MAF ground | — | |
| W16 | SP-0V-1 | M170-A-11 | 0.5 | no route | Sensor 0V A | — | |
| W17 | SP-0V-1 | M170-A-27 | 0.5 | no route | Sensor 0V B | — | |
| W18 | OEM-2-K | M170-A-16 | 0.5 | no route | +5V sensor supply | — | |
| W19 | OEM-2-E | M170-A-49 | 0.5 | no route | Crank position (CAS NE) | — | |
| W20 | OEM-2-G | M170-A-56 | 0.5 | no route | Cam position (CAS G) | — | |
| W21 | OEM-1-G | M170-A-1 | 0.5 | no route | Ignition 1 (coils 1+4, wasted spark) | — | |
| W22 | OEM-1-H | M170-A-5 | 0.5 | no route | Ignition 2 (coils 2+3, wasted spark) | — | |
| W23 | OEM-2-U | M170-A-33 | 0.5 | no route | Injector 1 | — | |
| W24 | OEM-2-V | M170-A-43 | 0.5 | no route | Injector 2 | — | |
| W25 | OEM-2-Y | M170-A-50 | 0.5 | no route | Injector 3 | — | |
| W26 | OEM-2-Z | M170-A-51 | 0.5 | no route | Injector 4 | — | |
| W27 | OEM-1-J | M170-A-63 | 0.5 | no route | A/C relay | — | |
| W28 | OEM-1-R | M170-A-66 | 0.5 | no route | Cooling fan relay | — | |
| W29 | OEM-2-S | M170-A-24 | 0.5 | no route | Condenser fan relay | — | |
| W30 | OEM-2-T | M170-A-42 | 0.5 | no route | Fuel pump relay | — | |
| W31 | OEM-2-W | M170-A-57 | 0.5 | no route | ISC solenoid | — | |
| W32 | OEM-1-E | M170-A-62 | 0.5 | no route | Malfunction indicator lamp (MIL) | — | |
| W33 | OEM-2-R | M170-A-9 | 0.5 | no route | PRC solenoid (fuel pressure regulator) | — | |
| W34 | OEM-2-X | M170-A-8 | 0.5 | no route | Evap purge solenoid | — | |
| W35 | OEM-2-O | M170-A-26 | 0.5 | no route | Mass air flow (MAF) | — | |
| W36 | OEM-2-M | M170-A-18 | 0.5 | no route | Throttle position (TPS) | — | |
| W37 | OEM-2-N | M170-A-6 | 0.5 | no route | O2 sensor | — | |
| W38 | OEM-2-Q | M170-A-28 | 0.5 | no route | Coolant temperature (ECT) | — | |
| W39 | OEM-2-P | M170-A-38 | 0.5 | no route | Intake air temperature (IAT) | — | |
| W40 | OEM-1-M | M170-A-46 | 0.5 | no route | Vehicle speed | — | |
| W41 | OEM-1-C | M170-A-45 | 0.5 | no route | Start signal | — | |
| W42 | OEM-1-P | M170-A-52 | 0.5 | no route | Power steering pressure switch | — | |
| W43 | OEM-1-Q | M170-A-53 | 0.5 | no route | A/C request | — | |
| W44 | OEM-1-V | M170-A-13 | 0.5 | no route | Neutral/clutch switch | — |
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 (11)
| Severity | Code | Subject | Message |
|---|---|---|---|
| warn | NET_FAMILY | OEM-2-E ↔ M170-A-49 | OEM-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. |
| warn | NET_FAMILY | OEM-2-G ↔ M170-A-56 | OEM-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. |
| warn | NET_FAMILY | OEM-2-R ↔ M170-A-9 | OEM-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. |
| warn | NET_FAMILY | OEM-2-X ↔ M170-A-8 | OEM-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. |
| info | NET_FAMILY | OEM-1-E ↔ M170-A-62 | OEM-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. |
| info | NET_FAMILY | OEM-1-J ↔ M170-A-63 | OEM-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. |
| info | NET_FAMILY | OEM-1-R ↔ M170-A-66 | OEM-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. |
| info | NET_FAMILY | OEM-2-S ↔ M170-A-24 | OEM-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. |
| info | NET_FAMILY | OEM-2-T ↔ M170-A-42 | OEM-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. |
| info | NET_FAMILY | OEM-2-W ↔ M170-A-57 | OEM-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. |
| info | UNMAPPED | OEM | 1 optional OEM pins are not mapped: OEM-2-I Tachometer output |
Accepted (0)
| Code | Subject | Reason | By |
|---|
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
| 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 | MoTeC: M1 ECU Hardware manual (7 Nov 2013) — M130/M150/M170/M190 pinout tables | https://web.archive.org/web/2023id_/https://www.motec.com.au/hessian/uploads/M1_ECU_Hardware_c2517380e4.pdf | — | 2026-10-05 | 03dc5975f739 |