Nissan · 1989-94

Nissan 240SX S13 SR20DET swap ECU and tuning guide

The Nissan 240SX S13 SR20DET swap (1989-94) runs the SR20DET (red / black top, S15): 2 L I4, turbocharged, 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 / S14 KA24DE.

Years1989-02
Displacement2L
LayoutI4
InductionTurbocharged
InjectionPort injection
Cam controlVTC intakeblack top +
IgnitionCoil-on-plug
Swap demandHigh

Part of the Nissan SR20 family. US cars came with the KA24

Modeled power and torque

Modelled estimate, not a dyno result.

SR20DET (red / black top, S15): 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)
010020030040050001002003004001k2k3k4k5k6khplb-ftrpm
Solid = power (hp), dashed = torque (lb-ft). Shaded bands show the modeled uncertainty. Hover for values.

Stock is anchored to the factory rating (247 hp at 6400 rpm, 203 lb-ft at 4800 rpm); the curve shape between peaks is modeled. Bolt-ons + tune (pump fuel, more boost): Stock turbo/supercharger; gains limited by compressor and fuel system.

SR20DET (red / black top, S15) 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.

Nissan ECCS ECU, S13 SR20DETPart numbers not yet sourced.
ECU family
Nissan 23710-series ECCS
Applies to
S13 Silvia/180SX SR20DET (1991-94); manual
Not for
CA18DET S13; automatic

No source-supported part number found.

Low confidenceUnverified
ECCS ECU (SR20DET, S13 Silvia / 180SX)
23710-50F05
ECU family
Nissan ECCS, S13 SR20DET (JDM)
Applies to
1991-1994 S13 Silvia/180SX SR20DET, manual; JDM
Not for
automatic (A/T and M/T ECUs differ)

23710-50F05 from a single resale listing ("black top" S13 SR20DET). Early S13 CA18DET cars are a different ECU. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Low confidenceUnverifiedE-1490

Factory ECU pinout: pending

No OEM pin table is in our library yet for the SR20DET (red / black top, S15) factory ECU. 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. Until then, wire from the harness maker's instructions or the factory service manual.

Factory ECU pinout

The researched pinout on file is for ECM (US 240SX S13, KA24DE 1991-94), which is a different ECU from this SR20DET (red / black top, S15) variant. 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.

Plug-and-play harness

Route for this carS3 plug-in harness
1 · S3 plug-in2 · Factory-connector adapter3 · Wire-in

A plug-in harness built for the Haltech Nexus S3 pinout is listed for this vehicle. The ECU2 follows that published pinout, so the factory ECU is unplugged and the ECU2 plugs into the car's own loom. Nothing is written to the factory ECU. Pin-compatible per the published S3 pinout, not yet fit-tested.

MakerHarnessFitsLink
Nexus S2/S3 Plug n Play Adapter Harness Nissan Silvia S13 SR20HT-186334S13 Silvia/180SX SR20DET (1991-94); manual$495LowestMaker ↗
Manual 1991 - 1994 Nissan Silvia S13 SR20DETBF29059-S31991-1994 S13 Silvia/180SX SR20DET, manual; JDM$840Maker ↗
Wire-inUniversal flying lead or re-terminated factory harnessAny engine (terminate to ECU2's two Superseal 34 connectors)Universal harness from $405Maker ↗

Nexus S2/S3 Plug n Play Adapter Harness Nissan Silvia S13 SR20

$495USD list · excl. tax · unconfirmed
Plug-and-playManual onlyOff-road / competition onlymedium confidenceS3 fit not yet tested ⓘ
Plugs into
Nissan ECCS ECU, S13 SR20DET
ECU
Nissan 23710-series ECCS
Confidence
low

No source-supported part number found.

Fits
S13 Silvia/180SX SR20DET (1991-94); manual
Exclusions
CA18DET S13; automatic
SKU
HT-186334
Maker fitment
Nissan Silvia S13 SR20DET; manual only
Maker notes
(search snippet); fits SR20DET (JDM S13) factory ECU plug; swap must retain JDM SR20 engine loom

Boomslang plug-and-play harness for Haltech Nexus S3 - Manual 1991 - 1994 Nissan Silvia S13 SR20DET

$840USD list
Plug-and-playManual onlyhigh confidenceS3 fit not yet tested ⓘ
Plugs into
ECCS ECU (SR20DET, S13 Silvia / 180SX) · 23710-50F05
OEM part numbers
23710-50F05
ECU
Nissan ECCS, S13 SR20DET (JDM)
Confidence
low

23710-50F05 from a single resale listing ("black top" S13 SR20DET). Early S13 CA18DET cars are a different ECU. blank: supplier not stated by a source consulted (Nissan ECCS units are widely reported as Hitachi/JECS but not verified here)

Sources: E-1490

Fits
1991-1994 S13 Silvia/180SX SR20DET, manual; JDM
Exclusions
automatic (A/T and M/T ECUs differ)
SKU
BF29059-S3
Maker fitment
Nissan Silvia S13 SR20DET (Manual); selector years 1991-1994; SKU label: Manual 1991 - 1994 Nissan Silvia S13 SR20DET
Maker notes
separate SKUs exist for other Nexus models (-S2/-R3/-R5/-T1/-T2); Silvia S13 SR20DET (JDM) plug

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

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

    Full sequential fuel and spark for this 4-cylinder on a cable throttle, 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 harness1 listed · from $495 USD listHT-186334
  2. Factory-connector → S3 adapter1 listed · from $840 USD list
  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

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
    Cam phasing (VVT)gated

    Begin with conservative overlap. Cam targets per load cell are then chosen with torque and knock in mind, keeping idle and cold overlap low for stability. Widening cam authority follows the same evidence-gated path as spark.

  4. 4
    Boost controlgated

    A closed-loop boost target by gear and goal, held inside the authority envelope, with knock protection active at boost. Raising boost authority is never automatic; it stays an expert or dyno decision.

  5. 5
    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.

  6. 6
    Factory load sensingfactory reference

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

  7. 7
    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

  8. 8
    Bottom end and head sealingfactory reference

    Reported: MotoIQ cites rod-bearing oil starvation, finger-follower rockers flying off on over-rev, and water pump cavitation near 6,600 rpm; ring lands of stock pistons commonly reported as the first combustion-side failure (shop/forum). (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

ECU2

ECU2Full sequential fuel and spark for this 4-cylinder on a cable throttle, 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.
  • Catalog note: US cars came with the KA24
  1. E-914 Haltech S3 adapter harness page (sourced, high confidence)
  2. E-934 Boomslang identity (sourced, high confidence)
  3. E-935 Boomslang S3 catalog size (sourced, high confidence)
  4. E-900 Haltech Nexus S3 catalog (sourced, high confidence)
  5. E-941 S3 engine harness availability (inferred, medium confidence)
  6. E-1490 harness ECU xref: Nissan S13/S14 SR20DET (unverified, low confidence)