MX-5 Miata Mazdaspeed 2004-05 (BP-ZET turbo, no VVT) → MoTeC M170 13170 (auto)
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.
| Status | draft · not yet verified: nobody has reported building and running this harness |
|---|---|
| Open errors | 8: read the Findings page before cutting any wire |
| Size of the job | 2 wires · 2 connectors · 0 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-4-AE | M170-A-26 | 0.5 | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ | |
| W2 | OEM-4-R | M170-A-28 | 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 |
|---|---|---|---|---|---|
| No supply/ground nets found to cross-check. | |||||
If any reading doesn't match, stop and get help before powering up.
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 | — | — | — | — | — | — | — | — |
| 10 | Low Side Ignition 4 | — | — | — | — | — | — | — | — |
| 11 | Sensor 0V A | — | — | — | — | — | — | — | — |
| 12 | Analogue Voltage Input 5 | — | — | — | — | — | — | — | — |
| 13 | Universal Digital Input 7 | — | — | — | — | — | — | — | — |
| 14 | Battery Negative 1 | — | — | — | — | — | — | — | — |
| 15 | Battery Negative 2 | — | — | — | — | — | — | — | — |
| 16 | Sensor 5.0V A | — | — | — | — | — | — | — | — |
| 17 | Low Side Ignition 5 | — | — | — | — | — | — | — | — |
| 18 | Analogue Voltage Input 2 | — | — | — | — | — | — | — | — |
| 19 | Battery Negative 3 | — | — | — | — | — | — | — | — |
| 2 | Low Side Ignition 8 | — | — | — | — | — | — | — | — |
| 20 | Battery Negative 4 | — | — | — | — | — | — | — | — |
| 21 | Battery Negative 5 | — | — | — | — | — | — | — | — |
| 22 | Universal Digital Input 8 | — | — | — | — | — | — | — | — |
| 23 | Battery Positive | — | — | — | — | — | — | — | — |
| 24 | Peak Hold Injector 5 | — | — | — | — | — | — | — | — |
| 25 | Low Side Ignition 6 | — | — | — | — | — | — | — | — |
| 26 | Analogue Voltage Input 1 | — | W1 | — | 0.5 | OEM-4-AE | — | — | — |
| 27 | Sensor 0V B | — | — | — | — | — | — | — | — |
| 28 | Analogue Temperature Input 1 | — | W2 | — | 0.5 | OEM-4-R | — | — | — |
| 29 | Knock Input 1 | — | — | — | — | — | — | — | — |
| 3 | Low Side Ignition 7 | — | — | — | — | — | — | — | — |
| 30 | Analogue Temperature Input 3 | — | — | — | — | — | — | — | — |
| 31 | CAN Bus 1 Low | — | — | — | — | — | — | — | — |
| 32 | Battery Positive | — | — | — | — | — | — | — | — |
| 33 | Peak Hold Injector 1 | — | — | — | — | — | — | — | — |
| 34 | Sensor 5.0V B | — | — | — | — | — | — | — | — |
| 35 | Analogue Voltage Input 7 | — | — | — | — | — | — | — | — |
| 36 | Analogue Voltage Input 6 | — | — | — | — | — | — | — | — |
| 37 | Sensor 6.3V | — | — | — | — | — | — | — | — |
| 38 | Analogue Temperature Input 2 | — | — | — | — | — | — | — | — |
| 39 | Analogue Temperature Input 4 | — | — | — | — | — | — | — | — |
| 4 | Low Side Ignition 3 | — | — | — | — | — | — | — | — |
| 40 | CAN Bus 1 High | — | — | — | — | — | — | — | — |
| 41 | Battery Positive | — | — | — | — | — | — | — | — |
| 42 | Peak Hold Injector 6 | — | — | — | — | — | — | — | — |
| 43 | Low Side Injector 1 | — | — | — | — | — | — | — | — |
| 44 | Analogue Voltage Input 8 | — | — | — | — | — | — | — | — |
| 45 | Universal Digital Input 4 | — | — | — | — | — | — | — | — |
| 46 | Universal Digital Input 3 | — | — | — | — | — | — | — | — |
| 47 | Ethernet Transmit - | — | — | — | — | — | — | — | — |
| 48 | Ethernet Transmit + | — | — | — | — | — | — | — | — |
| 49 | Universal Digital Input 1 | — | — | — | — | — | — | — | — |
| 5 | Low Side Ignition 2 | — | — | — | — | — | — | — | — |
| 50 | Peak Hold Injector 2 | — | — | — | — | — | — | — | — |
| 51 | Low Side Injector 2 | — | — | — | — | — | — | — | — |
| 52 | Universal Digital Input 5 | — | — | — | — | — | — | — | — |
| 53 | Universal Digital Input 6 | — | — | — | — | — | — | — | — |
| 54 | Battery Backup | — | — | — | — | — | — | — | — |
| 55 | Ethernet Receive + | — | — | — | — | — | — | — | — |
| 56 | Universal Digital Input 2 | — | — | — | — | — | — | — | — |
| 57 | Peak Hold Injector 7 | — | — | — | — | — | — | — | — |
| 58 | Half Bridge Output 5 | — | — | — | — | — | — | — | — |
| 59 | Half Bridge Output 3 | — | — | — | — | — | — | — | — |
| 6 | Analogue Voltage Input 3 | — | — | — | — | — | — | — | — |
| 60 | Knock Input 2 | — | — | — | — | — | — | — | — |
| 61 | Ethernet Receive - | — | — | — | — | — | — | — | — |
| 62 | Peak Hold Injector 8 | — | — | — | — | — | — | — | — |
| 63 | Peak Hold Injector 3 | — | — | — | — | — | — | — | — |
| 64 | Half Bridge Output 6 | — | — | — | — | — | — | — | — |
| 65 | Half Bridge Output 4 | — | — | — | — | — | — | — | — |
| 66 | Peak Hold Injector 4 | — | — | — | — | — | — | — | — |
| 7 | Analogue Voltage Input 4 | — | — | — | — | — | — | — | — |
| 8 | Half Bridge Output 2 | — | — | — | — | — | — | — | — |
| 9 | Half Bridge Output 1 | — | — | — | — | — | — | — | — |
OEM-4
| Cavity | Function | Signal | Wire | Colour | Gauge (mm²) | Destination | Terminal | Seal | Plug |
|---|---|---|---|---|---|---|---|---|---|
| AC | Data link connector (DLC TEN, turbo) | — | — | — | — | — | — | — | — |
| AE | BARO/MAP sensor (turbo boost pressure) | — | W1 | — | 0.5 | M170-A-26 | — | — | — |
| D | Boost control solenoid (turbo) | — | — | — | — | — | — | — | — |
| E | Boost control solenoid (turbo) | — | — | — | — | — | — | — | — |
| R | Intake air temperature 2 (IAT2, turbo) | — | W2 | — | 0.5 | M170-A-28 | — | — | — |
Pin map
| OEM point | OEM function | OEM family | Target point | Target function | Target family | Wire colour | Evidence |
|---|---|---|---|---|---|---|---|
| OEM-4-AC | Data link connector (DLC TEN, turbo) | serial | — | — | — | BrY | single_source |
| OEM-4-AE | BARO/MAP sensor (turbo boost pressure) | analog_in | M170-A-26 | Analogue Voltage Input 1 | analog_in | LY | single_source |
| OEM-4-D | Boost control solenoid (turbo) | high_side_out | — | — | — | Y | single_source |
| OEM-4-E | Boost control solenoid (turbo) | high_side_out | — | — | — | Y | single_source |
| OEM-4-R | Intake air temperature 2 (IAT2, turbo) | temp_in | M170-A-28 | Analogue Temperature Input 1 | temp_in | VY | single_source |
Cut list
| Wire | From | To | Gauge (mm²) | Colour | Length | Signal | Ident |
|---|---|---|---|---|---|---|---|
| W1 | OEM-4-AE | M170-A-26 | 0.5 | no route | BARO/MAP sensor (turbo boost pressure) | — | |
| W2 | OEM-4-R | M170-A-28 | 0.5 | no route | Intake air temperature 2 (IAT2, turbo) | — |
Bill of materials
| Category | Part number | Manufacturer | Description | Qty | Unit |
|---|
ECU setup sheet
| Role | Engine ref | Engine signal | Sensor | ECU point | ECU function | ECU class | Setup flag |
|---|---|---|---|---|---|---|---|
| No configured channels. | |||||||
Findings
Open (9)
| Severity | Code | Subject | Message |
|---|---|---|---|
| error | PHYS_REQUIRED_OPEN | M170-A-14 | M170-A-14 "Battery Negative 1" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-15 | M170-A-15 "Battery Negative 2" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-19 | M170-A-19 "Battery Negative 3" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-20 | M170-A-20 "Battery Negative 4" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-21 | M170-A-21 "Battery Negative 5" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-23 | M170-A-23 "Battery Positive" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-32 | M170-A-32 "Battery Positive" is required but not wired. |
| error | PHYS_REQUIRED_OPEN | M170-A-41 | M170-A-41 "Battery Positive" is required but not wired. |
| info | UNMAPPED | OEM | 3 optional OEM pins are not mapped: OEM-4-AC Data link connector (DLC TEN, turbo); OEM-4-D Boost control solenoid (turbo); OEM-4-E Boost control solenoid (turbo) |
Accepted (0)
| Code | Subject | Reason | By |
|---|
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: - Main-relay feed: no ecu_main_power pin on the stock or the new ECU - M170-A 14: Battery Negative 1: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 15: Battery Negative 2: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 19: Battery Negative 3: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 20: Battery Negative 4: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 21: Battery Negative 5: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 23: Battery Positive: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 32: Battery Positive: required by MoTeC M170 but no stock pin feeds it; wire by hand - M170-A 41: Battery Positive: required by MoTeC M170 but no stock pin feeds it; wire by hand Not wired: - OEM-4 D: Boost control solenoid (turbo): no free high_side/ls_hs on MoTeC M170 - OEM-4 E: Boost control solenoid (turbo): no free high_side/ls_hs on MoTeC M170 - OEM-4 AC: Data link connector (DLC TEN, turbo): no free k_line on MoTeC M170
Sources
| Reliability | Kind | Title | URL | Archive | Captured | SHA-256 |
|---|---|---|---|---|---|---|
| 4 | oem_manual | 2005 Mazda MX-5 Miata Engine Performance Control System (PCM terminal voltage reference, BP and BP WITH TC) | https://trull.org/alex/pubmirror/www.mellens.net/mazda/Mazda-Miata-2005/engine_control_system.pdf | — | — | — |
| 4 | vendor_doc | Adaptronic eSel039 Select Plugin ECU for Mazda MX5 / Miata NB8B/C (OEM ECU pinout) | https://www.miataturbo.net/attachments/ecus-tuning-54/04-msm-ecu-pinout-104032/nb8bc_oem_ecu_pinouts-224948d1602912806 | — | — | — |
| 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 |