Brand:
Toyota
Model Name:
Yaris NCP90 91 92 93
Manual:
Repair Manual
Section:
1Nz-Fe Engine Control System
Title:
Sfi System
DTC P0504 Brake Switch "A" / "B" Correlation
DESCRIPTION
The stop light switch is a duplex system that transmits two signals: STP and ST1-. These two signals are used by the ECM to monitor whether or not the brake system is working properly. If the signals, which indicate the brake pedal is being depressed and released, are detected simultaneously, the ECM interprets this as a malfunction in the stop light switch and sets the DTC.- HINT:
- The normal conditions are as shown in the table below. The signals can be read using an intelligent tester.
| Signals | Brake Pedal Released | In Transition | Brake Pedal Depressed |
| STP | OFF | ON | ON |
| ST1- | ON | ON | OFF |
| DTC No. | DTC Detection conditions | Trouble Areas |
| P0504 | Conditions (a), (b) and (c) continue for 0.5 seconds or more (1 trip detection logic): (a) ignition switch to ON (b) Brake pedal released (c) STP signal OFF when ST1- signal OFF |
|
WIRING DIAGRAM


INSPECTION PROCEDURE
- NOTICE:
- Inspect the fuses for circuits related to this system before performing the following inspection procedure.
- HINT:
- Read freeze frame data using an intelligent tester. Freeze frame data records the engine conditions when a malfunction is detected. When troubleshooting, freeze frame data can help determine if the vehicle was running or stopped, if the engine was warmed up or not, if the air-fuel ratio was lean or rich, and other data from the time the malfunction occurred.
- STP signal conditions can be checked using an intelligent tester.
- Connect an intelligent tester to the DLC3.
- Turn the ignition switch to ON and turn the tester on.
- Enter the following menus: Powertrain / Engine and ECT / Data List / Stop Light Switch.
- Check the STP signal when the brake pedal is depressed and released.
Brake Pedal Operation Specified Conditions Depressed STP signal ON Released STP signal OFF
- Connect an intelligent tester to the DLC3.
1.CHECK STOP LIGHT SWITCH ASSEMBLY (TERMINAL VOLTAGE)
![]() |
Disconnect the stop light switch connector.
Turn the ignition switch to ON.
Measure the voltage according to the value(s) in the table below.
- Standard Voltage:
Tester Connection Switch Condition Specified Condition A13-2 - Body ground Ignition switch ON 11 to 14 V A13-3 - Body ground Ignition switch ON 11 to 14 V
Reconnect the stop light switch connector.
| REPAIR OR REPLACE HARNESS OR CONNECTOR | |||
| OK | |
![]() |
2.INSPECT STOP LIGHT SWITCH ASSEMBLY
![]() |
Remove the stop light switch assembly.
Measure the resistance according to the value(s) in the table below.
- Standard Resistance:
Tester Connection Switch Position Specified Condition 1 - 2 Switch pin released Below 1 Ω Switch pin pushed in 10 kΩ or higher 3 - 4 Switch pin released 10 kΩ or higher Switch pin pushed in Below 1 Ω
Reinstall the stop light switch assembly.
| REPLACE STOP LIGHT SWITCH ASSEMBLY (Click here) | |||
| OK | |
![]() |
3.CHECK ECM (STP AND ST1 - VOLTAGE)
![]() |
Disconnect the ECM connector.
Turn the ignition switch to ON.
Measure the voltage according to the value(s) in the table below.
- Standard Voltage:
Tester Connection Brake Pedal Operation Specified Condition A21-35 (ST1-) - Body ground Released 11 to 14 V Depressed Below 1.5 V A21-36 (STP ) - Body ground Released Below 1.5 V Depressed 11 to 14 V
Reconnect the ECM connector.
| REPAIR OR REPLACE HARNESS OR CONNECTOR | |||
| OK | |
![]() | |
| REPLACE ECM (Click here) | |





