← Back

Mazda RX-7 FD 1992-2002 (13B-REW twin-turbo) → generic Main relay (EFI) (auto)

Mazda RX-7 FD 1992-2002 (13B-REW twin-turbo)
⚠ NOT CHECKED. Don't build from this.
Drawn by Michael Gnankou · Rev 0 · draft · 2026-10-20

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 errors23: read the Findings page before cutting any wire
Size of the job6 wires · 6 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-D-4ASP-14V-10.85☐☐☐☐☐☐☐
W2OEM-D-4ESP-14V-10.85☐☐☐☐☐☐☐
W3SP-14V-1MAINRELAYEFI-R-COIL+0.85☐☐☐☐☐☐☐
W4OEM-A-1AFSP-GND-10.85☐☐☐☐☐☐☐
W5OEM-A-1AJSP-GND-10.85☐☐☐☐☐☐☐
W6OEM-A-1LSP-GND-10.85☐☐☐☐☐☐☐

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
1OEM-A-1AFMAINRELAYEFI-R-COIL+open (OL)power ground 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

MAINRELAYEFI-ROEM-AOEM-BOEM-COEM-DSP-14VSP-GND

Connectors

MAINRELAYEFI-R

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
COIL+Relay coil positive (ignition-switched +12V)—W3—0.85SP-14V-1———
COIL-Relay coil negative (ECU low-side driver)————————
INRelay contact input (battery + via main fuse)————————
OUTRelay contact output (switched +12V bus)————————

OEM-A

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1AAOMP stepper phase B1————————
1ABSensor ground————————
1ACInjector 4 (rear secondary)————————
1AEOMP stepper phase A1————————
1AFPower ground—W4—0.85SP-GND-1———
1AJPower ground—W5—0.85SP-GND-1———
1CIdle speed control (ISC) solenoid————————
1ETurbo charge control solenoid————————
1GPurge solenoid————————
1HCooling fan relay (low speed)————————
1ITurbo charge relief solenoid————————
1KTurbo pre-control solenoid————————
1LPower ground—W6—0.85SP-GND-1———
1MTurbo control solenoid————————
1OBoost control solenoid————————
1QInjector 1 (front primary)————————
1SOMP stepper phase B2————————
1UInjector 2 (rear primary)————————
1WOMP stepper phase A2————————
1XSensor ground————————
1YInjector 3 (front secondary)————————

OEM-C

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
3A+5V sensor supply————————
3ABSensor ground————————
3DO2 sensor (narrowband)————————
3GFuel pressure regulator control (PRC) solenoid————————
3HOMP position sensor————————
3IThrottle position (TPS, full range)————————
3OKnock sensor————————
3RCrank position (CAS NE)————————
3SSensor ground (CAS)————————
3TIntake air temperature (IAT)————————
3UHome position (CAS G)————————
3VFuel temperature————————
3WCoolant temperature (ECT)————————

OEM-D

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
4AECU main power (+12V via main relay/ECR)—W1—0.85SP-14V-1———
4AABrake pedal switch————————
4AFIgnition front trailing————————
4AHMAP sensor (PIM)————————
4AJIgnition rear trailing————————
4ANIgnition leading (wasted spark)————————
4BBattery constant (+12V)————————
4CStart signal (STA)————————
4DAir pump clutch relay————————
4EECU main power (+12V via main relay/ECR)—W2—0.85SP-14V-1———
4FFuel pump speed relay————————
4GFuel pump relay————————
4IA/C relay————————
4KCooling fan relay (low speed)————————
4LCooling fan relay (high speed)————————
4MTachometer output————————
4QVehicle speed sensor————————
4SClutch switch————————
4VA/C request————————
4WPower steering pressure switch————————

SP-14V

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W1—0.85OEM-D-4A———
1——W2—0.85OEM-D-4E———
1——W3—0.85MAINRELAYEFI-R-COIL+———

SP-GND

CavityFunctionSignalWireColourGauge (mm²)DestinationTerminalSealPlug
1——W4—0.85OEM-A-1AF———
1——W5—0.85OEM-A-1AJ———
1——W6—0.85OEM-A-1L———

Pin map

OEM pointOEM functionOEM familyTarget pointTarget functionTarget familyWire colourEvidence
OEM-A-1AAOMP stepper phase B1hbridge_out———single_source
OEM-A-1ABSensor groundsensor_ground———single_source
OEM-A-1ACInjector 4 (rear secondary)injector_out———single_source
OEM-A-1AEOMP stepper phase A1hbridge_out———single_source
OEM-A-1AFPower groundground———single_source
OEM-A-1AJPower groundground———single_source
OEM-A-1CIdle speed control (ISC) solenoidlow_side_out———single_source
OEM-A-1ETurbo charge control solenoidlow_side_out———single_source
OEM-A-1GPurge solenoidlow_side_out———single_source
OEM-A-1HCooling fan relay (low speed)low_side_out———single_source
OEM-A-1ITurbo charge relief solenoidlow_side_out———single_source
OEM-A-1KTurbo pre-control solenoidlow_side_out———single_source
OEM-A-1LPower groundground———single_source
OEM-A-1MTurbo control solenoidlow_side_out———single_source
OEM-A-1OBoost control solenoidlow_side_out———single_source
OEM-A-1QInjector 1 (front primary)injector_out———single_source
OEM-A-1SOMP stepper phase B2hbridge_out———single_source
OEM-A-1UInjector 2 (rear primary)injector_out———single_source
OEM-A-1WOMP stepper phase A2hbridge_out———single_source
OEM-A-1XSensor groundsensor_ground———single_source
OEM-A-1YInjector 3 (front secondary)injector_out———single_source
OEM-C-3A+5V sensor supplyvref———single_source
OEM-C-3ABSensor groundsensor_ground———single_source
OEM-C-3DO2 sensor (narrowband)lambda_nb_in———single_source
OEM-C-3GFuel pressure regulator control (PRC) solenoidlow_side_out———single_source
OEM-C-3HOMP position sensoranalog_in———single_source
OEM-C-3IThrottle position (TPS, full range)analog_in———single_source
OEM-C-3OKnock sensorknock_in———single_source
OEM-C-3RCrank position (CAS NE)trigger_in———single_source
OEM-C-3SSensor ground (CAS)sensor_ground———single_source
OEM-C-3TIntake air temperature (IAT)temp_in———single_source
OEM-C-3UHome position (CAS G)trigger_in———single_source
OEM-C-3VFuel temperaturetemp_in———single_source
OEM-C-3WCoolant temperature (ECT)temp_in———single_source
OEM-D-4AECU main power (+12V via main relay/ECR)power_inMAINRELAYEFI-R-COIL+Relay coil positive (ignition-switched +12V)power_insingle_source
OEM-D-4AABrake pedal switchdigital_in———single_source
OEM-D-4AFIgnition front trailingignition_out———single_source
OEM-D-4AHMAP sensor (PIM)analog_in———single_source
OEM-D-4AJIgnition rear trailingignition_out———single_source
OEM-D-4ANIgnition leading (wasted spark)ignition_out———single_source
OEM-D-4BBattery constant (+12V)power_in———single_source
OEM-D-4CStart signal (STA)digital_in———single_source
OEM-D-4DAir pump clutch relaylow_side_out———single_source
OEM-D-4EECU main power (+12V via main relay/ECR)power_inMAINRELAYEFI-R-COIL+Relay coil positive (ignition-switched +12V)power_insingle_source
OEM-D-4FFuel pump speed relaylow_side_out———single_source
OEM-D-4GFuel pump relaylow_side_out———single_source
OEM-D-4IA/C relaylow_side_out———single_source
OEM-D-4KCooling fan relay (low speed)low_side_out———single_source
OEM-D-4LCooling fan relay (high speed)low_side_out———single_source
OEM-D-4MTachometer outputtacho_out———single_source
OEM-D-4QVehicle speed sensordigital_in———single_source
OEM-D-4SClutch switchdigital_in———single_source
OEM-D-4VA/C requestdigital_in———single_source
OEM-D-4WPower steering pressure switchdigital_in———single_source

Cut list

WireFromToGauge (mm²)ColourLengthSignalIdent
W1OEM-D-4ASP-14V-10.85no routeECU main power (+12V via main relay/ECR)—
W2OEM-D-4ESP-14V-10.85no routeECU main power (+12V via main relay/ECR)—
W3SP-14V-1MAINRELAYEFI-R-COIL+0.85no routeRelay coil positive (ignition-switched +12V)—
W4OEM-A-1AFSP-GND-10.85no routePower ground—
W5OEM-A-1AJSP-GND-10.85no routePower ground—
W6OEM-A-1LSP-GND-10.85no routePower ground—

Bill of materials

CategoryPart numberManufacturerDescriptionQtyUnit

ECU setup sheet

RoleEngine refEngine signalSensorECU pointECU functionECU classSetup flag
No configured channels.

Findings

Open (24)

SeverityCodeSubjectMessage
errorPHYS_REQUIRED_OPENMAINRELAYEFI-R-COIL-MAINRELAYEFI-R-COIL- "Relay coil negative (ECU low-side driver)" is required but not wired.
errorPHYS_REQUIRED_OPENMAINRELAYEFI-R-INMAINRELAYEFI-R-IN "Relay contact input (battery + via main fuse)" is required but not wired.
errorPHYS_REQUIRED_OPENMAINRELAYEFI-R-OUTMAINRELAYEFI-R-OUT "Relay contact output (switched +12V bus)" is required but not wired.
errorREQUIRED_UNMAPPEDOEM-A-1ABRequired OEM function "Sensor ground" (sensor_ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1ACRequired OEM function "Injector 4 (rear secondary)" (injector_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1AFRequired OEM function "Power ground" (ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1AJRequired OEM function "Power ground" (ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1LRequired OEM function "Power ground" (ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1QRequired OEM function "Injector 1 (front primary)" (injector_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1URequired OEM function "Injector 2 (rear primary)" (injector_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1XRequired OEM function "Sensor ground" (sensor_ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-A-1YRequired OEM function "Injector 3 (front secondary)" (injector_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3ARequired OEM function "+5V sensor supply" (vref) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3ABRequired OEM function "Sensor ground" (sensor_ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3IRequired OEM function "Throttle position (TPS, full range)" (analog_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3RRequired OEM function "Crank position (CAS NE)" (trigger_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3SRequired OEM function "Sensor ground (CAS)" (sensor_ground) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3URequired OEM function "Home position (CAS G)" (trigger_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-C-3WRequired OEM function "Coolant temperature (ECT)" (temp_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-D-4AFRequired OEM function "Ignition front trailing" (ignition_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-D-4AHRequired OEM function "MAP sensor (PIM)" (analog_in) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-D-4AJRequired OEM function "Ignition rear trailing" (ignition_out) is not connected to the new ECU.
errorREQUIRED_UNMAPPEDOEM-D-4ANRequired OEM function "Ignition leading (wasted spark)" (ignition_out) is not connected to the new ECU.
infoUNMAPPEDOEM31 optional OEM pins are not mapped: OEM-A-1AA OMP stepper phase B1; OEM-A-1AE OMP stepper phase A1; OEM-A-1C Idle speed control (ISC) solenoid; OEM-A-1E Turbo charge control solenoid; OEM-A-1G Purge solenoid; OEM-A-1H Cooling fan relay (low speed); OEM-A-1I Turbo charge relief solenoid; OEM-A-1K Turbo pre-control solenoid; OEM-A-1M Turbo control solenoid; OEM-A-1O Boost control solenoid; OEM-A-1S OMP stepper phase B2; OEM-A-1W OMP stepper phase A2; OEM-C-3D O2 sensor (narrowband); OEM-C-3G Fuel pressure regulator control (PRC) solenoid; OEM-C-3H OMP position sensor; OEM-C-3O Knock sensor; OEM-C-3T Intake air temperature (IAT); OEM-C-3V Fuel temperature; OEM-D-4AA Brake pedal switch; OEM-D-4C Start signal (STA); OEM-D-4D Air pump clutch relay; OEM-D-4F Fuel pump speed relay; OEM-D-4G Fuel pump relay; OEM-D-4I A/C relay; OEM-D-4K Cooling fan relay (low speed); OEM-D-4L Cooling fan relay (high speed); OEM-D-4M Tachometer output; OEM-D-4Q Vehicle speed sensor; OEM-D-4S Clutch switch; OEM-D-4V A/C request; OEM-D-4W Power steering pressure switch

Accepted (1)

CodeSubjectReasonBy
REQUIRED_UNMAPPEDOEM-D-4BBattery-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-20. Review every wire against both manuals before building. Open items: - generic Main relay (EFI): no power-ground pins in the library - generic Main relay (EFI): no sensor-ground pin in the library - OEM-C 3A: +5V sensor supply: generic Main relay (EFI) has no 5 V reference in the library - OEM-C 3R: Crank position (CAS NE): no free crank_vr/frequency_in input on generic Main relay (EFI) - OEM-C 3U: Home position (CAS G): no free cam_vr/cam_hall/frequency_in input on generic Main relay (EFI) - OEM-D 4AF: Ignition front trailing: no free ignition output on generic Main relay (EFI) - OEM-D 4AJ: Ignition rear trailing: no free ignition output on generic Main relay (EFI) - OEM-D 4AN: Ignition leading (wasted spark): no free ignition output on generic Main relay (EFI) - OEM-A 1Q: Injector 1 (front primary): no free injector output on generic Main relay (EFI) - OEM-A 1U: Injector 2 (rear primary): no free injector output on generic Main relay (EFI) - OEM-A 1Y: Injector 3 (front secondary): no free injector output on generic Main relay (EFI) - OEM-A 1AC: Injector 4 (rear secondary): no free injector output on generic Main relay (EFI) - OEM-D 4AH: MAP sensor (PIM): no free map/analog_0_5 on generic Main relay (EFI) - OEM-C 3I: Throttle position (TPS, full range): no free tps/analog_0_5 on generic Main relay (EFI) - OEM-C 3W: Coolant temperature (ECT): no free thermistor/analog_0_5 on generic Main relay (EFI) - OEM-A 1AB: Sensor ground: no rule for class ground_sensor; wire by hand - OEM-A 1X: Sensor ground: no rule for class ground_sensor; wire by hand - OEM-C 3AB: Sensor ground: no rule for class ground_sensor; wire by hand - OEM-C 3S: Sensor ground (CAS): no rule for class ground_sensor; wire by hand - MAINRELAYEFI-R COIL-: Relay coil negative (ECU low-side driver): required by generic Main relay (EFI) but no stock pin feeds it; wire by hand - MAINRELAYEFI-R IN: Relay contact input (battery + via main fuse): required by generic Main relay (EFI) but no stock pin feeds it; wire by hand - MAINRELAYEFI-R OUT: Relay contact output (switched +12V bus): required by generic Main relay (EFI) but no stock pin feeds it; wire by hand Not wired: - OEM-D 4B: Battery constant (+12V): generic Main relay (EFI) has no battery-constant memory input; not needed - OEM-C 3O: Knock sensor: no free knock input on generic Main relay (EFI) - OEM-A 1H: Cooling fan relay (low speed): no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4D: Air pump clutch relay: no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4F: Fuel pump speed relay: no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4G: Fuel pump relay: no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4I: A/C relay: no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4K: Cooling fan relay (low speed): no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-D 4L: Cooling fan relay (high speed): no free relay_control/low_side/heater_low_side/ls_hs/injector rated ≥ 0.2 A on generic Main relay (EFI) - OEM-A 1C: Idle speed control (ISC) solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1E: Turbo charge control solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1G: Purge solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1I: Turbo charge relief solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1K: Turbo pre-control solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1M: Turbo control solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-A 1O: Boost control solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-C 3G: Fuel pressure regulator control (PRC) solenoid: no free low_side/relay_control/heater_low_side/ls_hs/injector on generic Main relay (EFI) - OEM-D 4M: Tachometer output: no free tacho/frequency_out/low_side/ls_hs on generic Main relay (EFI) - OEM-C 3D: O2 sensor (narrowband): no free o2_narrowband/analog_0_5 on generic Main relay (EFI) - OEM-C 3T: Intake air temperature (IAT): no free thermistor/analog_0_5 on generic Main relay (EFI) - OEM-C 3V: Fuel temperature: no free thermistor/analog_0_5 on generic Main relay (EFI) - OEM-C 3H: OMP position sensor: no free analog_0_5 on generic Main relay (EFI) - OEM-D 4Q: Vehicle speed sensor: no free frequency_in/switch_in on generic Main relay (EFI) - OEM-D 4AA: Brake pedal switch: no free switch_in/frequency_in/analog_0_5 on generic Main relay (EFI) - OEM-D 4C: Start signal (STA): no free switch_in/frequency_in/analog_0_5 on generic Main relay (EFI) - OEM-D 4S: Clutch switch: no free switch_in/frequency_in/analog_0_5 on generic Main relay (EFI) - OEM-D 4V: A/C request: no free switch_in/frequency_in/analog_0_5 on generic Main relay (EFI) - OEM-D 4W: Power steering pressure switch: no free switch_in/frequency_in/analog_0_5 on generic Main relay (EFI) - OEM-A 1AA: OMP stepper phase B1: no +/− pair in the pinout (multi-phase or half-documented motor); wire by hand - OEM-A 1AE: OMP stepper phase A1: no +/− pair in the pinout (multi-phase or half-documented motor); wire by hand - OEM-A 1S: OMP stepper phase B2: no +/− pair in the pinout (multi-phase or half-documented motor); wire by hand - OEM-A 1W: OMP stepper phase A2: no +/− pair in the pinout (multi-phase or half-documented motor); wire by hand

Sources

ReliabilityKindTitleURLArchiveCapturedSHA-256
4vendor_docEmtron SL4/SL6/SL8 pinout pageshttps://docs.emtronaustralia.com.au/engine-management/wiring/index.htmlarchive2026-10-05e52b3da9996a
4vendor_docHaltech: RX7 FD Series 7-8 Nexus PnP adapter pinout (HT-186338)https://www.haltech.com/wp-admin/admin-ajax.php?action=ht_get_file&id=681af8c0cc78f3b6860e615e&op=1———
3forumrusEFI Mazda Miata 2002 engine wiringhttps://github.com/rusefi/rusefi/wiki/Mazda-Miata-2002archive2026-10-05cc3cae670408
2forumdefreezemotorsport: MS3 FD3S 16-bit ECU pinouthttps://defreezemotorsport.ru/doku.php?id=ms3:fd3s162———