← Back

MX-5 Miata NB1 1999-00 (BP-4W) → ECUMASTER EMU Black (auto)

MX-5 Miata NB1 1999-00 (BP-4W) — ECUMASTER — EMU Black
Drawn by Michael Gnankou · Rev 0 · proposal · 2026-10-04

Revisions

RevLabelByDate
No revisions yet.

Schematic

EMUBLACK-BlackEMUBLACK-GreyOEM-1OEM-2OEM-3SP-0VSP-14VSP-GND

Connectors

EMUBLACK-Black

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Ignition coil #5————————
10Switch #1 In—W48—0.5OEM-1-F———
11RS232 TXD————————
12CAN H————————
13Battery +12V—W3—0.85SP-14V-1———
14Ignition coil #4————————
15EGT in #2————————
16Knock Sensor in #2————————
17Analog In #3—W41—0.5OEM-3-J———
18TPS In—W39—0.5OEM-3-E———
19WBO Ip————————
2EGT in #1————————
20VSS In—W47—0.5OEM-2-D———
21Camsync In #1—W17—0.5OEM-2-H———
22WBO Rcal————————
23Switch #2 In—W49—0.5OEM-1-G———
24RS232 RXD————————
25CAN L————————
26+5V supply—W15—0.5OEM-2-I———
27Power Ground—W7—0.85SP-GND-1———
28Ecu Ground—W8—0.85SP-GND-1———
29Sensor Ground—W12—0.5SP-0V-1———
3Knock Sensor in #1—W18—0.5OEM-2-F———
30Analog In #4—W45—0.5OEM-3-K———
31Analog In #1—W38—0.5OEM-2-L———
32IAT In—W42—0.5OEM-2-E———
33WBO VGND————————
34+5V supply————————
35Analog In #5—W46—0.5OEM-3-S———
36Switch #3 In—W50—0.5OEM-1-P———
37Analog In #6—W51—0.5OEM-1-V———
38Sensor Ground—W13—0.5SP-0V-1———
39Sensor Ground—W14—0.5SP-0V-1———
4Analog In #2—W40—0.5OEM-2-C———
5CLT In—W43—0.5OEM-2-B———
6WBO Vs————————
7Camsync In #2————————
8Primary trigger—W16—0.5OEM-2-J———
9Flex Fuel In—W44—0.5OEM-2-A———

EMUBLACK-Grey

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1Ignition coil #6————————
10H-Bridge #1 Winding B—W34—0.5OEM-1-Q———
11H-Bridge #2 Winding B—W36—0.5OEM-2-N———
12AUX 5—W30—0.5OEM-3-V———
13AUX 2 / Injector #8—W26—0.5OEM-1-R———
14Injector #5—W32—0.5OEM-1-E———
15Injector #2—W22—0.5OEM-3-X———
16Ignition coil #2—W20—0.5OEM-3-H———
17Power Ground—W9—0.85SP-GND-1———
18Ignition +12V————————
19WBO Heater—W29—0.5OEM-1-U———
2H-Bridge #1 Winding A—W35—0.5OEM-2-M———
20AUX 4 / Tacho—W28—0.5OEM-3-N———
21AUX 1 / Injector #7—W25—0.5OEM-1-I———
22Injector #6—W33—0.5OEM-1-O———
23Injector #3—W23—0.5OEM-3-Y———
24Power Ground—W10—0.85SP-GND-1———
3H-Bridge #2 Winding A—W37—0.5OEM-2-O———
4AUX 6—W31—0.5OEM-3-O———
5AUX 3—W27—0.5OEM-1-S———
6Injector #4—W24—0.5OEM-3-Z———
7Injector #1—W21—0.5OEM-3-W———
8Ignition coil #1—W19—0.5OEM-3-G———
9Ignition coil #3————————

OEM-1

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AConstant +12V————————
BECU power +14V (main relay)—W1—0.85SP-14V-1———
EMalfunction indicator lamp (MIL)—W32—0.5EMUBLACK-Grey-14———
FBrake switch—W48—0.5EMUBLACK-Black-10———
GPower steering pressure switch—W49—0.5EMUBLACK-Black-23———
ICondenser fan relay—W25—0.5EMUBLACK-Grey-21———
OAlternator control—W33—0.5EMUBLACK-Grey-22———
PA/C request—W50—0.5EMUBLACK-Black-36———
QCharge lamp—W34—0.5EMUBLACK-Grey-10———
RCooling fan relay—W26—0.5EMUBLACK-Grey-13———
SA/C clutch relay—W27—0.5EMUBLACK-Grey-5———
UFront O2 heater—W29—0.5EMUBLACK-Grey-19———
VNeutral switch—W51—0.5EMUBLACK-Black-37———

OEM-2

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
AFuel tank pressure—W44—0.5EMUBLACK-Black-9———
BIntake air temperature (IAT)—W43—0.5EMUBLACK-Black-5———
CFront O2 signal—W40—0.5EMUBLACK-Black-4———
DVehicle speed—W47—0.5EMUBLACK-Black-20———
ECoolant temperature (ECT)—W42—0.5EMUBLACK-Black-32———
FKnock sensor—W18—0.5EMUBLACK-Black-3———
HCam position (CMP)—W17—0.5EMUBLACK-Black-21———
I+5V sensor supply—W15—0.5EMUBLACK-Black-26———
JCrank position (CKP)—W16—0.5EMUBLACK-Black-8———
KTachometer output————————
LMass air flow (MAF)—W38—0.5EMUBLACK-Black-31———
MEGR valve—W35—0.5EMUBLACK-Grey-2———
NEGR valve—W36—0.5EMUBLACK-Grey-11———
OEGR valve—W37—0.5EMUBLACK-Grey-3———
PEGR valve————————

OEM-3

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
APower ground—W4—0.85SP-GND-1———
BPower ground—W5—0.85SP-GND-1———
CPower ground—W6—0.85SP-GND-1———
EThrottle position (TPS)—W39—0.5EMUBLACK-Black-18———
FSignal ground—W11—0.5SP-0V-1———
GIgnition 1 (coils 1+4, wasted spark)—W19—0.5EMUBLACK-Grey-8———
HIgnition 2 (coils 2+3, wasted spark)—W20—0.5EMUBLACK-Grey-16———
IClutch switch————————
JRear O2 signal—W41—0.5EMUBLACK-Black-17———
KFuel level—W45—0.5EMUBLACK-Black-30———
LEvap purge solenoid————————
MISC valve +14V feed—W2—0.85SP-14V-1———
NFuel pump relay—W28—0.5EMUBLACK-Grey-20———
OISC valve low side—W31—0.5EMUBLACK-Grey-4———
QVICS solenoid (intake butterflies)————————
SEGR boost sensor—W46—0.5EMUBLACK-Black-35———
TEGR boost solenoid————————
UCanister drain cut valve (CDCV)————————
VRear O2 heater—W30—0.5EMUBLACK-Grey-12———
WInjector 1—W21—0.5EMUBLACK-Grey-7———
XInjector 2—W22—0.5EMUBLACK-Grey-15———
YInjector 3—W23—0.5EMUBLACK-Grey-23———
ZInjector 4—W24—0.5EMUBLACK-Grey-6———

SP-0V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W11—0.5OEM-3-F———
1——W12—0.5EMUBLACK-Black-29———
1——W13—0.5EMUBLACK-Black-38———
1——W14—0.5EMUBLACK-Black-39———

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-1-B———
1——W2—0.85OEM-3-M———
1——W3—0.85EMUBLACK-Black-13———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W4—0.85OEM-3-A———
1——W5—0.85OEM-3-B———
1——W6—0.85OEM-3-C———
1——W7—0.85EMUBLACK-Black-27———
1——W8—0.85EMUBLACK-Black-28———
1——W9—0.85EMUBLACK-Grey-17———
1——W10—0.85EMUBLACK-Grey-24———

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_inEMUBLACK-Black-13Battery +12Vpower_insingle_source
OEM-1-EMalfunction indicator lamp (MIL)low_side_outEMUBLACK-Grey-14Injector #5injector_outsingle_source
OEM-1-FBrake switchdigital_inEMUBLACK-Black-10Switch #1 Indigital_insingle_source
OEM-1-GPower steering pressure switchdigital_inEMUBLACK-Black-23Switch #2 Indigital_insingle_source
OEM-1-ICondenser fan relaylow_side_outEMUBLACK-Grey-21AUX 1 / Injector #7low_side_outsingle_source
OEM-1-OAlternator controllow_side_outEMUBLACK-Grey-22Injector #6injector_outsingle_source
OEM-1-PA/C requestdigital_inEMUBLACK-Black-36Switch #3 Indigital_insingle_source
OEM-1-QCharge lamplow_side_outEMUBLACK-Grey-10H-Bridge #1 Winding Bhbridge_outsingle_source
OEM-1-RCooling fan relaylow_side_outEMUBLACK-Grey-13AUX 2 / Injector #8low_side_outsingle_source
OEM-1-SA/C clutch relaylow_side_outEMUBLACK-Grey-5AUX 3low_side_outsingle_source
OEM-1-UFront O2 heaterlow_side_outEMUBLACK-Grey-19WBO Heaterlow_side_outsingle_source
OEM-1-VNeutral switchdigital_inEMUBLACK-Black-37Analog In #6analog_insingle_source
OEM-2-AFuel tank pressureanalog_inEMUBLACK-Black-9Flex Fuel Inanalog_insingle_source
OEM-2-BIntake air temperature (IAT)temp_inEMUBLACK-Black-5CLT Intemp_insingle_source
OEM-2-CFront O2 signallambda_nb_inEMUBLACK-Black-4Analog In #2analog_insingle_source
OEM-2-DVehicle speeddigital_inEMUBLACK-Black-20VSS Indigital_insingle_source
OEM-2-ECoolant temperature (ECT)temp_inEMUBLACK-Black-32IAT Intemp_insingle_source
OEM-2-FKnock sensorknock_inEMUBLACK-Black-3Knock Sensor in #1knock_insingle_source
OEM-2-HCam position (CMP)trigger_inEMUBLACK-Black-21Camsync In #1trigger_insingle_source
OEM-2-I+5V sensor supplyvrefEMUBLACK-Black-26+5V supplyvrefsingle_source
OEM-2-JCrank position (CKP)trigger_inEMUBLACK-Black-8Primary triggertrigger_insingle_source
OEM-2-KTachometer outputtacho_out———single_source
OEM-2-LMass air flow (MAF)analog_inEMUBLACK-Black-31Analog In #1analog_insingle_source
OEM-2-MEGR valvelow_side_outEMUBLACK-Grey-2H-Bridge #1 Winding Ahbridge_outsingle_source
OEM-2-NEGR valvelow_side_outEMUBLACK-Grey-11H-Bridge #2 Winding Bhbridge_outsingle_source
OEM-2-OEGR valvelow_side_outEMUBLACK-Grey-3H-Bridge #2 Winding Ahbridge_outsingle_source
OEM-2-PEGR valvelow_side_out———single_source
OEM-3-APower groundgroundEMUBLACK-Black-27 + EMUBLACK-Black-28 + EMUBLACK-Grey-17 + EMUBLACK-Grey-24Power Ground + Ecu Ground + Power Ground + Power Groundgroundsingle_source
OEM-3-BPower groundgroundEMUBLACK-Black-27 + EMUBLACK-Black-28 + EMUBLACK-Grey-17 + EMUBLACK-Grey-24Power Ground + Ecu Ground + Power Ground + Power Groundgroundsingle_source
OEM-3-CPower groundgroundEMUBLACK-Black-27 + EMUBLACK-Black-28 + EMUBLACK-Grey-17 + EMUBLACK-Grey-24Power Ground + Ecu Ground + Power Ground + Power Groundgroundsingle_source
OEM-3-EThrottle position (TPS)analog_inEMUBLACK-Black-18TPS Inanalog_insingle_source
OEM-3-FSignal groundsensor_groundEMUBLACK-Black-29 + EMUBLACK-Black-38 + EMUBLACK-Black-39Sensor Ground + Sensor Ground + Sensor Groundsensor_groundsingle_source
OEM-3-GIgnition 1 (coils 1+4, wasted spark)ignition_outEMUBLACK-Grey-8Ignition coil #1ignition_outsingle_source
OEM-3-HIgnition 2 (coils 2+3, wasted spark)ignition_outEMUBLACK-Grey-16Ignition coil #2ignition_outsingle_source
OEM-3-IClutch switchdigital_in———single_source
OEM-3-JRear O2 signallambda_nb_inEMUBLACK-Black-17Analog In #3analog_insingle_source
OEM-3-KFuel levelanalog_inEMUBLACK-Black-30Analog In #4analog_insingle_source
OEM-3-LEvap purge solenoidlow_side_out———single_source
OEM-3-MISC valve +14V feedpower_inEMUBLACK-Black-13Battery +12Vpower_insingle_source
OEM-3-NFuel pump relaylow_side_outEMUBLACK-Grey-20AUX 4 / Tacholow_side_outsingle_source
OEM-3-OISC valve low sidelow_side_outEMUBLACK-Grey-4AUX 6low_side_outsingle_source
OEM-3-QVICS solenoid (intake butterflies)low_side_out———single_source
OEM-3-SEGR boost sensoranalog_inEMUBLACK-Black-35Analog In #5analog_insingle_source
OEM-3-TEGR boost solenoidlow_side_out———single_source
OEM-3-UCanister drain cut valve (CDCV)low_side_out———single_source
OEM-3-VRear O2 heaterlow_side_outEMUBLACK-Grey-12AUX 5low_side_outsingle_source
OEM-3-WInjector 1injector_outEMUBLACK-Grey-7Injector #1injector_outsingle_source
OEM-3-XInjector 2injector_outEMUBLACK-Grey-15Injector #2injector_outsingle_source
OEM-3-YInjector 3injector_outEMUBLACK-Grey-23Injector #3injector_outsingle_source
OEM-3-ZInjector 4injector_outEMUBLACK-Grey-6Injector #4injector_outsingle_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-1-BSP-14V-10.85no routeECU power +14V (main relay)—
W2OEM-3-MSP-14V-10.85no routeISC valve +14V feed—
W3SP-14V-1EMUBLACK-Black-130.85no routeBattery +12V—
W4OEM-3-ASP-GND-10.85no routePower ground—
W5OEM-3-BSP-GND-10.85no routePower ground—
W6OEM-3-CSP-GND-10.85no routePower ground—
W7SP-GND-1EMUBLACK-Black-270.85no routePower Ground—
W8SP-GND-1EMUBLACK-Black-280.85no routeEcu Ground—
W9SP-GND-1EMUBLACK-Grey-170.85no routePower Ground—
W10SP-GND-1EMUBLACK-Grey-240.85no routePower Ground—
W11OEM-3-FSP-0V-10.5no routeSignal ground—
W12SP-0V-1EMUBLACK-Black-290.5no routeSensor Ground—
W13SP-0V-1EMUBLACK-Black-380.5no routeSensor Ground—
W14SP-0V-1EMUBLACK-Black-390.5no routeSensor Ground—
W15OEM-2-IEMUBLACK-Black-260.5no route+5V sensor supply—
W16OEM-2-JEMUBLACK-Black-80.5no routeCrank position (CKP)—
W17OEM-2-HEMUBLACK-Black-210.5no routeCam position (CMP)—
W18OEM-2-FEMUBLACK-Black-30.5no routeKnock sensor—
W19OEM-3-GEMUBLACK-Grey-80.5no routeIgnition 1 (coils 1+4, wasted spark)—
W20OEM-3-HEMUBLACK-Grey-160.5no routeIgnition 2 (coils 2+3, wasted spark)—
W21OEM-3-WEMUBLACK-Grey-70.5no routeInjector 1—
W22OEM-3-XEMUBLACK-Grey-150.5no routeInjector 2—
W23OEM-3-YEMUBLACK-Grey-230.5no routeInjector 3—
W24OEM-3-ZEMUBLACK-Grey-60.5no routeInjector 4—
W25OEM-1-IEMUBLACK-Grey-210.5no routeCondenser fan relay—
W26OEM-1-REMUBLACK-Grey-130.5no routeCooling fan relay—
W27OEM-1-SEMUBLACK-Grey-50.5no routeA/C clutch relay—
W28OEM-3-NEMUBLACK-Grey-200.5no routeFuel pump relay—
W29OEM-1-UEMUBLACK-Grey-190.5no routeFront O2 heater—
W30OEM-3-VEMUBLACK-Grey-120.5no routeRear O2 heater—
W31OEM-3-OEMUBLACK-Grey-40.5no routeISC valve low side—
W32OEM-1-EEMUBLACK-Grey-140.5no routeMalfunction indicator lamp (MIL)—
W33OEM-1-OEMUBLACK-Grey-220.5no routeAlternator control—
W34OEM-1-QEMUBLACK-Grey-100.5no routeCharge lamp—
W35OEM-2-MEMUBLACK-Grey-20.5no routeEGR valve—
W36OEM-2-NEMUBLACK-Grey-110.5no routeEGR valve—
W37OEM-2-OEMUBLACK-Grey-30.5no routeEGR valve—
W38OEM-2-LEMUBLACK-Black-310.5no routeMass air flow (MAF)—
W39OEM-3-EEMUBLACK-Black-180.5no routeThrottle position (TPS)—
W40OEM-2-CEMUBLACK-Black-40.5no routeFront O2 signal—
W41OEM-3-JEMUBLACK-Black-170.5no routeRear O2 signal—
W42OEM-2-EEMUBLACK-Black-320.5no routeCoolant temperature (ECT)—
W43OEM-2-BEMUBLACK-Black-50.5no routeIntake air temperature (IAT)—
W44OEM-2-AEMUBLACK-Black-90.5no routeFuel tank pressure—
W45OEM-3-KEMUBLACK-Black-300.5no routeFuel level—
W46OEM-3-SEMUBLACK-Black-350.5no routeEGR boost sensor—
W47OEM-2-DEMUBLACK-Black-200.5no routeVehicle speed—
W48OEM-1-FEMUBLACK-Black-100.5no routeBrake switch—
W49OEM-1-GEMUBLACK-Black-230.5no routePower steering pressure switch—
W50OEM-1-PEMUBLACK-Black-360.5no routeA/C request—
W51OEM-1-VEMUBLACK-Black-370.5no routeNeutral switch—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (8)

SeverityCodeSubjectMessage
warnNET_FAMILYOEM-1-Q ↔ EMUBLACK-Grey-10OEM-1-Q "Charge lamp" [low_side_out] is wired to EMUBLACK-Grey-10 "H-Bridge #1 Winding B" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-1-V ↔ EMUBLACK-Black-37OEM-1-V "Neutral switch" [digital_in] is wired to EMUBLACK-Black-37 "Analog In #6" [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-2-M ↔ EMUBLACK-Grey-2OEM-2-M "EGR valve" [low_side_out] is wired to EMUBLACK-Grey-2 "H-Bridge #1 Winding A" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-N ↔ EMUBLACK-Grey-11OEM-2-N "EGR valve" [low_side_out] is wired to EMUBLACK-Grey-11 "H-Bridge #2 Winding B" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
warnNET_FAMILYOEM-2-O ↔ EMUBLACK-Grey-3OEM-2-O "EGR valve" [low_side_out] is wired to EMUBLACK-Grey-3 "H-Bridge #2 Winding A" [hbridge_out]. A half-bridge can act as a low-side switch only if configured that way.
infoNET_FAMILYOEM-1-E ↔ EMUBLACK-Grey-14OEM-1-E "Malfunction indicator lamp (MIL)" [low_side_out] is wired to EMUBLACK-Grey-14 "Injector #5" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoNET_FAMILYOEM-1-O ↔ EMUBLACK-Grey-22OEM-1-O "Alternator control" [low_side_out] is wired to EMUBLACK-Grey-22 "Injector #6" [injector_out]. Injector drivers can usually run general low-side loads; check current and PWM frequency.
infoUNMAPPEDOEM7 optional OEM pins are not mapped: OEM-2-K Tachometer output; OEM-2-P EGR valve; OEM-3-I Clutch switch; OEM-3-L Evap purge solenoid; OEM-3-Q VICS solenoid (intake butterflies); OEM-3-T EGR boost solenoid; OEM-3-U Canister drain cut valve (CDCV)

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-04. Review every wire against both manuals before building. Not wired: - OEM-1 A: Constant +12V: ECUMASTER EMU Black has no battery-constant input; not needed - OEM-2 P: EGR valve: no free low_side/ls_hs/injector/hbridge on ECUMASTER EMU Black - OEM-3 L: Evap purge solenoid: no free low_side/ls_hs/injector/hbridge on ECUMASTER EMU Black - OEM-3 Q: VICS solenoid (intake butterflies): no free low_side/ls_hs/injector/hbridge on ECUMASTER EMU Black - OEM-3 T: EGR boost solenoid: no free low_side/ls_hs/injector/hbridge on ECUMASTER EMU Black - OEM-3 U: Canister drain cut valve (CDCV): no free low_side/ls_hs/injector/hbridge on ECUMASTER EMU Black - OEM-2 K: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on ECUMASTER EMU Black - OEM-3 I: Clutch switch: no free switch_in/frequency_in/analog_0_5 on ECUMASTER EMU Black - EMUBLACK-Grey 18: Ignition +12V: not fed (the stock ECU has no ignition-sense pin); feed it from a switched-ignition source

Sources

ReliabilityKindTitleURL
4vendor_docECUMASTER EMU Black — pinout (Black 39-pin / Grey 24-pin)https://www.ecumaster.com/wp/wp-content/uploads/2020/05/EMU_Black_pinout.pdf
4vendor_docLink G4X MX5NB1X install manual (NB1 1999-00)https://linkecu.com/documentation/MX5XNB1.pdf