Nissan · 1991-98

Nissan 240SX S13 / S14 KA24DE ECU and tuning guide

The Nissan 240SX S13 / S14 KA24DE (1991-98) runs the KA24DE: 2.4 L I4, naturally aspirated, port injection, cable throttle.

Reviewed by GAINS editorial team on 2026-11-04.

Factory ECU, pinout and chassis research on this page is shared with Nissan 240SX S13 SR20DET swap.

Engine: KA24DE

Years1991-04
Displacement2.4L
LayoutI4
InductionNaturally aspirated
InjectionPort injection
Cam controlnone
IgnitionDistributor
Swap demandMedium

Part of the Nissan KA24 family.

Modeled power and torque

Modelled estimate, not a dyno result.

KA24DE: stock vs common buildsmodeled

Modeled estimate, not a dyno measurement. Real results vary with fuel, weather, dyno type and build.

Stock (factory-rated peaks; shape modeled)
0501001502002503000501001502002503001k2k3k4k5k6khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (155 hp at 5600 rpm, 160 lb-ft at 4400 rpm); the curve shape between peaks is modeled. Intake + exhaust + tune (pump fuel): Typical NA gains come mostly above mid-rpm.

KA24DE data

Platform background

The S13 platform was sold as the Silvia and 180SX in Japan (CA18DET, then SR20DE/SR20DET from the January 1991 minor change) and as the 240SX in North America with the KA24. The SR20DET swap into US 240SX cars is the most common S13 build. This page gives the factory ECM terminal table for the 1991-94 US 240SX KA24DE from Nissan's service manual, which is the chassis-side reference for swap wiring.

Factory ECU

Japan engines

CA18DE/CA18DET at launch (1988), replaced by SR20DE/SR20DET in January 1991

Sourced2
US ECM (KA24DE)

Nissan ECCS, MAF-based, with the crank angle sensor in the distributor (reference and 1 degree position signals, 0-5 V digital)

Sourced1
Swirl controlUS KA24DE ECM drives an S.C.V. (swirl control valve) solenoidSourced1
Self-diagnosis
  • Malfunction indicator lamp on all models
  • Separate California and non-California calibrations
Sourced · medium1

Swap wiring on a US S13 usually merges a JDM SR20DET engine harness and ECU with the 240SX body harness, or replaces both with a standalone. Signals that must be carried across include ECM power and ignition feeds, fuel pump relay control, tachometer, coolant gauge sender, A/C request and neutral switch. The JDM SR20DET ECU terminal table was not obtained in English; verify against the Japanese Nissan manual or the SR20DET harness itself.

Factory ECU: harness cross-reference

From the factory ECU each listed harness plugs into. The factory ECU is unplugged, not modified. Check the label and part number on your own ECU before ordering.

ECCS ECU (KA24E 1989-90 / KA24DE 1991-94 240SX, S13)
23710-40F0023710-40F0123710-40F07
ECU family
Nissan ECCS, S13 240SX KA24E/KA24DE
Applies to
1989-1994 240SX (S13), manual; USDM
Not for
automatic (A/T and M/T ECUs differ)

23710-40F00 (1989), 40F01 (1989-90), 40F07 (1990-91) are KA24E examples from dealer catalogue; 1991-94 KA24DE numbers not found. One harness spans KA24E (SOHC) and KA24DE (DOHC) ECU versions. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Sourced · mediumE-1480E-1490
ECM (KA24DE 1995-98 240SX, S14)
23710-72F13
ECU family
Nissan ECCS, S14 240SX KA24DE (OBD-II from 1996)
Applies to
1995-1998 240SX (S14), manual; USDM
Not for
automatic; 1995 OBD1 cars use BF29154-S3 per Boomslang SKU split

23710-72F13 listed for 1996-97 240SX KA24DE (superseded 2371M-72F15RE reman); example only. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Sourced · mediumE-1481
ECCS ECU (KA24DE, 1995 240SX, OBD-I)Part numbers not yet sourced.
ECU family
Nissan ECCS, S14 240SX KA24DE (OBD-I)
Applies to
1995 240SX, manual; USDM
Not for
1996-98 OBD-II

No 1995-specific number found. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Low confidenceUnverified

Factory ECU pinout

Each connector face drawn from the OEM service manual's pin data, with every terminal's function and wire colour where the manual prints it.

Nissan 240SX (S13) KA24DE ECM, 1991-94 US

The Nissan 240SX (S13) KA24DE ECM, 1991-94 US uses 1 connector with 64 cavities. This page draws each face from the OEM figure and lists the 34 terminals the OEM table documents, with wire colours where the manual prints them.

1991-1994 · US · 1 connector, 64 cavities · 34 terminals sourced

ECM harness connector, 240SX S13 (KA24DE)64 cavities · 34 terminals listed · 64 cavities in two rows: 101-108/109-116, 1-7/8-14, centre bolt, 15-22/23-30, 31-39/40-48.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedHarness side (looking into the plug), as drawn in the OEM figure.
Nissan 240SX (S13) KA24DE ECM, 1991-94 US: ECM harness connector, 240SX S13 (KA24DE)101: Injector No. 1101102: PAIRC solenoid valve102103: Injector No. 3103104: Fuel pump relay104105: EGR and canister control solenoid valve105106: no terminal listed106107: no terminal listed107108: no terminal listed1081: Ignition signal12: no terminal listed23: Ignition check34: ECCS relay (self-shutoff)45: no terminal listed56: no terminal listed67: no terminal listed715: no terminal listed1516: Mass air flow sensor1617: no terminal listed1718: Engine coolant temperature sensor1819: Oxygen sensor1920: Throttle position sensor2021: no terminal listed2122: Crank angle sensor reference signal2231: Crank angle sensor position signal3132: no terminal listed3233: no terminal listed3334: Start signal3435: Neutral position switch3536: Ignition switch3637: Throttle position sensor power supply3738: Power supply for ECM3839: no terminal listed39109: no terminal listed109110: Injector No. 2110111: no terminal listed111112: Injector No. 4112113: IACV-AAC valve113114: no terminal listed114115: no terminal listed115116: no terminal listed1168: EGR temperature sensor89: Condenser fan relay910: no terminal listed1011: Air conditioner relay1112: no terminal listed1213: no terminal listed1314: no terminal listed1423: no terminal listed2324: no terminal listed2425: S.C.V. (swirl control valve) control solenoid2526: no terminal listed2627: Knock sensor2728: no terminal listed2829: no terminal listed2930: Crank angle sensor reference signal3040: Crank angle sensor position signal4041: Air conditioner switch4142: no terminal listed4243: Power steering oil pressure switch4344: no terminal listed4445: Fan switch4546: Power supply (back-up)4647: Power supply for ECM4748: no terminal listed48
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Ignition signalIgnition—
3Ignition checkIgnition—
4ECCS relay (self-shutoff)Outputs—
8EGR temperature sensorSensor signal—
9Condenser fan relayOutputs—
11Air conditioner relayOutputs—
16Mass air flow sensorSensor signal—
18Engine coolant temperature sensorSensor signal—
19Oxygen sensorSensor signal—
20Throttle position sensorSensor signal—
22Crank angle sensor reference signalCrank / cam—
25S.C.V. (swirl control valve) control solenoidOutputs—
27Knock sensorSensor signal—
30Crank angle sensor reference signalCrank / cam—
31Crank angle sensor position signalCrank / cam—
34Start signalSensor signal—
35Neutral position switchSensor signal—
36Ignition switchPower—
37Throttle position sensor power supplySensor 5 V / ground—
38Power supply for ECMPower—
40Crank angle sensor position signalCrank / cam—
41Air conditioner switchSensor signal—
43Power steering oil pressure switchSensor signal—
45Fan switchSensor signal—
46Power supply (back-up)Power—
47Power supply for ECMPower—
101Injector No. 1Injector—
102PAIRC solenoid valveOutputs—
103Injector No. 3Injector—
104Fuel pump relayOutputs—
105EGR and canister control solenoid valveOutputs—
110Injector No. 2Injector—
112Injector No. 4Injector—
113IACV-AAC valveOutputs—

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (high confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

Coverage, year splits and safety

Covers the US-market 240SX KA24DE ECM only (1991-94). The catalog row also spans the S14; the 1997 S14 KA24DE ECM is its own family. The JDM S13 SR20DET ECU is a different unit and is not covered.

Source notes: This table is the US 240SX KA24DE ECM from the Nissan 240SX service manual (EF and EC section, ECM inspection table); it is not the SR20DET ECU. Grounds and wire colours are not listed in that table. The JDM S13 Silvia/180SX SR20DET ECCS terminal table is in the Japanese-language Nissan RPS13/PS13 service manual (Section B1/EC), which was not parsed.

Safety: disconnect the battery before working on the ECU harness, and confirm each terminal with a meter against your own car's manual before cutting or pinning wires.

Nissan 240SX (S14) KA24DE ECM, 1997 US

The Nissan 240SX (S14) KA24DE ECM, 1997 US uses 1 connector with 88 cavities. This page draws each face from the OEM figure and lists the 74 terminals the OEM table documents, with wire colours where the manual prints them.

1997 · US · 1 connector, 88 cavities · 74 terminals sourced

ECM harness connector, 240SX S14 (KA24DE, 1997)88 cavities · 74 terminals listed · Cavity numbering and arrangement read with high confidence; confidence is medium because the mixed cavity sizes do not fit the uniform grid.

Looking into the harness plug's mating face (mirror of the ECU face).

How the OEM figure is orientedHarness side (looking into the plug), as drawn in the OEM figure.
Nissan 240SX (S14) KA24DE ECM, 1997 US: ECM harness connector, 240SX S14 (KA24DE, 1997)101: IACV-AAC valve (open)101102: Injector No. 1102103: EGRC-solenoid valve103107: Injector No. 2107108: EVAP canister vent control valve108109: Injector No. 4109113: Current return113114: REC relay114115: Front heated oxygen sensor heater115104: Injector No. 3104105: EVAP canister purge control solenoid valve105106: ECCS ground106110: Rear heated oxygen sensor heater110111: no terminal listed111112: ECCS ground112116: no terminal listed116117: Vacuum cut valve bypass valve117118: ECCS ground1181: Ignition signal12: Ignition check23: Tachometer35: EVAP canister purge volume control valve56: EVAP canister purge volume control valve67: 5th position switch (M/T)78: Fuel pump relay89: Air conditioner triple-pressure switch911: no terminal listed1112: no terminal listed1213: Cooling fan relay (high)1314: Cooling fan relay (low)1415: Air conditioner relay1516: EVAP canister purge volume control valve1617: EVAP canister purge volume control valve1718: Malfunction indicator lamp184: ECCS relay (self-shutoff)410: ECCS ground1019: ECCS ground1920: Start signal2021: Air conditioner switch2122: Neutral position switch (M/T)2223: Throttle position sensor2324: A/T signal No. 12425: Power steering oil pressure switch2526: Vehicle speed sensor2627: Throttle position switch (closed position)2728: Intake air temperature sensor2829: A/T signal No. 22930: A/T signal No. 33031: no terminal listed3132: no terminal listed3233: Throttle position sensor signal to A/T control unit3334: no terminal listed3435: no terminal listed3536: no terminal listed3637: Ambient air temperature switch3738: Ignition switch3839: ECCS ground3942: no terminal listed4243: ECCS ground (measurement reference)4349: Sensors' power supply4950: Sensors' ground5040: Camshaft position sensor (reference signal)4041: Camshaft position sensor (position signal)4153: Crankshaft position sensor (OBD)5354: Knock sensor5455: Rear window defogger relay5544: Camshaft position sensor (reference signal)4445: no terminal listed4546: Front heated oxygen sensor4657: no terminal listed5758: Data link connector for GST5859: no terminal listed5960: no terminal listed6047: Mass air flow sensor4748: Mass air flow sensor ground4862: EGR temperature sensor6263: Tank fuel temperature sensor6364: Data link connector for CONSULT6465: Data link connector for CONSULT6551: Engine coolant temperature sensor5152: Rear heated oxygen sensor5266: Absolute pressure sensor6667: EVAP control system pressure sensor6768: Data link connector for CONSULT6869: MAP/BARO switch solenoid valve6956: Power supply for ECM5661: Power supply for ECM6170: Power supply (back-up)70
Hover, tap or tab to a cavity to see its terminal.
PinFunctionTypeWireNotes
1Ignition signalIgnitionW
2Ignition checkIgnitionY/R
3TachometerComms / diagY/R
4ECCS relay (self-shutoff)OutputsR/B
5EVAP canister purge volume control valveOutputsL
6EVAP canister purge volume control valveOutputsY/L
75th position switch (M/T)Sensor signalY/LA/T: A/T check signal (wire R/B).
8Fuel pump relayOutputsB/P
9Air conditioner triple-pressure switchSensor signalOR/B
10ECCS groundGroundB
13Cooling fan relay (high)OutputsOR/L
14Cooling fan relay (low)OutputsL/G
15Air conditioner relayOutputsB/P
16EVAP canister purge volume control valveOutputsW/B
17EVAP canister purge volume control valveOutputsR/G
18Malfunction indicator lampComms / diagOR
19ECCS groundGroundB
20Start signalSensor signalOR
21Air conditioner switchSensor signalOR/L
22Neutral position switch (M/T)Sensor signalG/ORA/T: Inhibitor switch (wire R/G).
23Throttle position sensorSensor signalW
24A/T signal No. 1Sensor signalL/G
25Power steering oil pressure switchSensor signalPU/W
26Vehicle speed sensorSensor signalY/G
27Throttle position switch (closed position)Sensor signalL/G
28Intake air temperature sensorSensor signalL/W
29A/T signal No. 2Sensor signalL/W
30A/T signal No. 3Sensor signalL/R
33Throttle position sensor signal to A/T control unitSensor signalR/Y
37Ambient air temperature switchSensor signalL/W
38Ignition switchPowerB/R
39ECCS groundGroundB
40Camshaft position sensor (reference signal)Crank / camW
41Camshaft position sensor (position signal)Crank / camB
43ECCS ground (measurement reference)GroundB
44Camshaft position sensor (reference signal)Crank / camW
46Front heated oxygen sensorSensor signalW
47Mass air flow sensorSensor signalW
48Mass air flow sensor groundSensor 5 V / groundB
49Sensors' power supplySensor 5 V / groundLG/R
50Sensors' groundSensor 5 V / groundB
51Engine coolant temperature sensorSensor signalL/OR
52Rear heated oxygen sensorSensor signalW
53Crankshaft position sensor (OBD)Crank / camP
54Knock sensorSensor signalW
55Rear window defogger relayOutputsL/R
56Power supply for ECMPowerB/W
58Data link connector for GSTComms / diagR
61Power supply for ECMPowerB/W
62EGR temperature sensorSensor signalB/W
63Tank fuel temperature sensorSensor signalY
64Data link connector for CONSULTComms / diagG/B
65Data link connector for CONSULTComms / diagG
66Absolute pressure sensorSensor signalW
67EVAP control system pressure sensorSensor signalG
68Data link connector for CONSULTComms / diagG/W
69MAP/BARO switch solenoid valveOutputsY/B
70Power supply (back-up)PowerR
101IACV-AAC valve (open)OutputsBR
102Injector No. 1InjectorW/B
103EGRC-solenoid valveOutputsL/R
104Injector No. 3InjectorG/B
105EVAP canister purge control solenoid valveOutputsY/R
106ECCS groundGroundB
107Injector No. 2InjectorY/B
108EVAP canister vent control valveOutputsY/G
109Injector No. 4InjectorL/B
110Rear heated oxygen sensor heaterOutputsB
112ECCS groundGroundB
113Current returnOther / not usedR
114REC relayOutputsOR/L
115Front heated oxygen sensor heaterOutputsL
117Vacuum cut valve bypass valveOutputsG/R
118ECCS groundGroundB

Our drawing from published pin data; not an OEM drawing. Layout from the OEM face view (medium confidence). Confirm against the factory manual for your exact year and market before cutting or pinning wires.

Coverage, year splits and safety

Covers the 1997 US 240SX (S14) KA24DE ECM, from the 1997 service manual. 1995-96 and 1998 cars were not checked against their own manuals.

Source notes: SR20DET rows come from the Nissan Model S14 Series Service Manual (1994, LHD export) ECM input/output signal inspection table; the scanned copy is missing page EC-197 (terminals 1-18 including ignition and injector-to-cylinder assignment), so those rows are absent and must be taken from a complete copy of the manual or the S14 wiring diagram. KA24DE rows (with terminal-side wire colours) come from the 1997 Nissan 240SX service manual EC section, ECM inspection table.

Safety: disconnect the battery before working on the ECU harness, and confirm each terminal with a meter against your own car's manual before cutting or pinning wires.

All factory ECU pinouts →

Plug-and-play harness

Route for this carFactory-connector adapter
1 · S3 plug-in2 · Factory-connector adapter3 · Wire-in

No Haltech S3 plug-in harness is listed for this vehicle, but a Boomslang adapter harness is: it plugs into the factory ECU connector on one side and the S3 pinout on the other, so the ECU2 replaces the factory ECU without cutting the loom. Nothing is written to the factory ECU. Pin-compatible per the published S3 pinout, not yet fit-tested.

MakerHarnessFitsLink
Manual 1989 - 1994 Nissan 240SXBF29030-S31989-1994 240SX (S13), manual; USDM$840LowestMaker ↗
Manual 1995 - 1998 Nissan 240SXBF29031-S31995-1998 240SX (S14), manual; USDM$840LowestMaker ↗
Manual 1995 - 1995 Nissan 240SX OBD1BF29154-S31995 240SX, manual; USDM$840LowestMaker ↗
Wire-inUniversal flying lead or re-terminated factory harnessAny engine (terminate to ECU2's two Superseal 34 connectors)Universal harness from $405Maker ↗

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 1989 - 1994 Nissan 240SX

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
ECCS ECU (KA24E 1989-90 / KA24DE 1991-94 240SX, S13) · 23710-40F00, 23710-40F01…
OEM part numbers
23710-40F00, 23710-40F01, 23710-40F07
ECU
Nissan ECCS, S13 240SX KA24E/KA24DE
Confidence
medium

23710-40F00 (1989), 40F01 (1989-90), 40F07 (1990-91) are KA24E examples from dealer catalogue; 1991-94 KA24DE numbers not found. One harness spans KA24E (SOHC) and KA24DE (DOHC) ECU versions. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Sources: E-1480, E-1490

Fits
1989-1994 240SX (S13), manual; USDM
Exclusions
automatic (A/T and M/T ECUs differ)
SKU
BF29030-S3
Maker fitment
Nissan 240SX (Manual); selector years 1989-1994; SKU label: Manual 1989 - 1994 Nissan 240SX
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); S13 1989-94 (KA24E 89-90 incl.)

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 1995 - 1998 Nissan 240SX

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
ECM (KA24DE 1995-98 240SX, S14) · 23710-72F13
OEM part numbers
23710-72F13
ECU
Nissan ECCS, S14 240SX KA24DE (OBD-II from 1996)
Confidence
medium

23710-72F13 listed for 1996-97 240SX KA24DE (superseded 2371M-72F15RE reman); example only. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Sources: E-1481

Fits
1995-1998 240SX (S14), manual; USDM
Exclusions
automatic; 1995 OBD1 cars use BF29154-S3 per Boomslang SKU split
SKU
BF29031-S3
Maker fitment
Nissan 240SX (Manual); selector years 1995-1998; SKU label: Manual 1995 - 1998 Nissan 240SX
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); S14 1995-98

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 1995 - 1995 Nissan 240SX OBD1

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
ECCS ECU (KA24DE, 1995 240SX, OBD-I)
ECU
Nissan ECCS, S14 240SX KA24DE (OBD-I)
Confidence
low

No 1995-specific number found. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Fits
1995 240SX, manual; USDM
Exclusions
1996-98 OBD-II
SKU
BF29154-S3
Maker fitment
Nissan 240SX OBD1 (Manual); selector years 1995-1995; SKU label: Manual 1995 - 1995 Nissan 240SX OBD1
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); 1995 OBD1 variant

Haltech and Boomslang are trademarks of their respective owners. GAINS is not affiliated with or endorsed by them.

Your GAINS system for this car · pre-release

ECU2 for the 240SX S13 / S14

Planned with the same rules as the configurator for this car's 4 cyl · port injection · cable throttle. The factory ECU is unplugged and replaced; nothing is written to it.

  • ECU2Engine controller

    4 cyl · port injection · cable throttle

    Runs this 4-cylinder's injectors and its distributor on one ignition output, with the wideband built in.

    in designEst. availability: April 2027

    Price TBA

Add PDM2 to switch and protect chassis loads (pumps, fans, lights, accessories). Add it in the configurator →

Track days? Add the Telemetry Dongle Pro for 25 Hz GPS lap timing; it plugs into the OBD-II port, and your phone is the dash. Plan it in the configurator →

What you get

  • A screen on the ECUA 2.4-inch, 500-nit display in the lid, readable in a footwell.
  • Faults in plain words"Coolant temp sensor open circuit.
  • S3-style harnessesConnector A and C pin functions follow the published Nexus S3 wiring diagram.
  • Powered CAN portA sealed 4-pin port on the insert carries 12 V and CAN for the PDM2 and GAINS displays: one cable per accessory.
  • GAINS insideThe on-ECU adaptive layer, the app, logging and your limits.

How it wires in

  1. Haltech S3 plug-in harnessNone listed for this car
  2. Factory-connector → S3 adapter3 listed · from $840 USD listBF29030-S3
  3. Wire-inAlways possible

Pin-compatible per the published S3 pinout, not yet fit-tested. Every harness option for this car ↓

ECU2 is in design; specifications may change. All GAINS hardware is pre-release concept design; nothing is for sale yet and no application is validated on a vehicle. Harness fitment is from published pinouts and not yet fit-tested.

How GAINS approaches the 240SX S13 / S14

Our starting method for this engine, as foundations first: get it running and drivable, then learn fuel, then the hardware-specific strategies. It is a methodology outline, not a validated calibration.

  1. 1
    Base map and first startplanned

    Start from displacement, injector data and the sensors fitted, then let the first-start learner settle cranking, idle and warm-up before any load work. The goal is a safe, running engine, not a finished calibration.

  2. 2
    Lambda targets and VE learningclosed loop on GAINS ECUs

    Air-fuel targets come from your goal (street, track, economy). The ECU then learns its fuel table cell by cell from the onboard wideband inside a signed envelope, and you approve promoting what it learned into the base map.

  3. 3
    Drivability foundationsplanned

    Pedal map, tip-in and decel fuel, idle control, cold start and warm-up enrichment: the tables tuners spend hours on after the main map. Each is a strategy in the knowledge engine with its own limits.

  4. 4
    Factory load sensingfactory reference

    What the factory ECU measures load with: MAF (hot-wire / hot-film) (high confidence)

  5. 5
    Wideband sensorhardware

    Add a wideband: the factory narrowband only tells rich from lean around stoichiometric, so it cannot close the loop at power or economy targets; fit a Bosch LSU 4.9 for the GAINS ECU's built-in controller

  6. 6
    Bottom end and head sealingfactory reference

    Reported: Per DSPORT, factory piston ring lands crack beyond ~300 hp especially with detonation; composite head gasket and shim followers at high rpm also cited. (medium confidence) Limits depend on tune quality, fuel, rpm and condition and are not guaranteed.

Drivetrain

LayoutFront-engine rear-wheel drive with multilink rear suspensionSourced2
Rear steerHICAS-II four-wheel steering optional (Japan)Sourced2
Transmissions

Manual and automatic versions (ECM has neutral position switch input; A/T models use inhibitor signals)

Sourced · medium1

Chassis integration

CoolingCondenser fan relay (9) and fan switch (45) handled by the ECMSourced1
A/CA/C switch input (41) and A/C relay output (11)Sourced1
Power steeringPower steering oil pressure switch input (43) for idle-upSourced1

When a JDM SR20DET ECU replaces the KA24DE ECM, chassis features controlled by the US ECM (condenser fan, A/C cut, power steering idle-up, emissions solenoids) must be reconnected to the corresponding SR ECU pins or recreated in a standalone.

Tuning notes

SR20DET (S14 spec reference)8.5:1 compression, 86 x 86 mm, high-impedance injectorsSourced3

S13-era SR20DETs are tuned the same way as later versions: boost control, fuel, MAF or MAP load sensing and ignition developed with knock monitoring. Early S13 SR20DETs do not have the variable valve timing of the S14 and S15 engines, so VTC settings do not apply.

Popular swaps

Typical swap
  • JDM SR20DET from Silvia/180SX into US 240SX
  • Same S13 chassis family
Sourced · medium2

Because the Silvia, 180SX and 240SX share the S13 body, SR20DET mounts, gearbox and driveshaft from a JDM car fit the US chassis. The main work is harness merging, fuel pump capacity and gauge integration. RB-series six-cylinder swaps are also common but require more fabrication.

GAINS on the 240SX S13 / S14

ECU2

ECU2Runs this 4-cylinder's injectors and its distributor on one ignition output, with the wideband built in.Est. availability: April 2027
Hardware fromPrice TBAPlan and compare costs

Designed so your phone is the laptop, keypad and dash

The GAINS app is designed to handle tuning, logging, gauges and switch inputs over Bluetooth, so the system needs no separate CAN keypad or display. Keypad, dash and logging views are planned; the iOS prototype runs on simulated data today.

Wideband, IMU and logging built in

An onboard Bosch LSU 4.9 wideband controller, a 6-axis IMU and onboard logging are designed into the ECU rather than sold as add-on modules.

Modular, so you buy what the engine needs

This engine runs on ECU2. PDM2 (power, body and gearbox) is optional and connects over ECU2's powered CAN port; the Telemetry Dongle Pro adds GPS lap timing from the OBD-II port.

Calibration that keeps learning

Instead of a fixed map that drifts as parts and conditions change, the ECU keeps adapting its fuel trims within limits you can see and approve in the app.

Adaptive tuning strategies

  • VE learning closed loop on GAINS ECUs

    Learns the fuel table from the onboard wideband as you drive, cell by cell, inside a signed authority envelope. Learned trims are promoted into the base map without a step in fuelling.

  • Goal-based lambda targets closed loop on GAINS ECUs

    Sets air-fuel targets from your goal (economy, response, power, safety margin) instead of a single fixed table.

  • Knock protection protection

    Listens for knock on a dedicated knock processor, pulls timing at once and restores it slowly. It only ever reduces advance.

  • Warm-up, cranking, idle and transient fuel planned

    The same learning approach applied to the tables tuners spend hours on after the main map is done.

  • Spark advance and boost authority gated

    Widening ignition advance or boost is never automatic. It stays an expert or dyno decision until validated knock detection exists for the engine family.

Already running another ECU? In advisor mode the same strategies read your logs and recommend exact table changes with the reasoning, which you apply in your ECU vendor's own software.

GAINS hardware is pre-release concept design. Simulated results only; nothing is validated on a vehicle yet.

Frequently asked

When did the S13 Silvia get the SR20DET?

In the January 1991 minor change, replacing the CA18DET.2

What are the US S13 KA24DE crank angle sensor pins?

Reference signal on terminals 22 and 30, position signal on 31 and 40.1

Which S13 KA24DE ECM pins are the injectors?

101 (No.1), 110 (No.2), 103 (No.3), 112 (No.4).1

Is there an official SR20DET pinout for the S13?

Nissan's English 240SX manual covers only the KA24DE; the SR20DET pinout is in the Japanese S13 manual.1

Sources

Numbered as cited above. Hover or tap a citation chip to preview it.

  1. Nissan 240SX (S13, KA24DE, 1991-94) Service Manual, section EF and EC · Nissan North America (archived copy from nicoclub.com) · service-manual · retrieved 2026-10-25
  2. Nissan Heritage Collection: Silvia K's (1989, S13) · Nissan Motor Co., Ltd. · oem · retrieved 2026-10-25
  3. Nissan Model S14 Series Service Manual (1994, LHD export, SR20DET), sections EM and EC · Nissan Motor Co., Ltd. (archived copy from nicoclub.com) · service-manual · retrieved 2026-10-25

Catalog data and evidence

  • Catalog data, not yet expert-reviewed.
  • No vehicle photos: illustrations only until licensed imagery is available.
  1. E-934 Boomslang identity (sourced, high confidence)
  2. E-935 Boomslang S3 catalog size (sourced, high confidence)
  3. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  4. E-941 S3 engine harness availability (inferred, medium confidence)
  5. E-1480 harness ECU xref: Nissan 240SX 1989-91 KA24E (verified, high confidence)
  6. E-1490 harness ECU xref: Nissan S13/S14 SR20DET (unverified, low confidence)
  7. E-1481 harness ECU xref: Nissan 240SX 1996-97 KA24DE (verified, medium confidence)