P0315 Crankshaft Position System Variation Not Learned
P0315 is an OBD-II diagnostic trouble code indicating that the engine control module (ECM/PCM) has not successfully learned or stored the expected variation pattern of the crankshaft position system.
This code is different from a typical crankshaft position sensor circuit fault.
With codes such as P0335, the computer is generally concerned with whether the crankshaft position sensor circuit is functioning correctly. With P0315, the sensor can be electrically functional and the engine can even run normally, but the ECM has not completed the crankshaft position variation learning procedure or cannot accept the learned result.
This learned information is particularly important for accurate misfire detection.
What Is Crankshaft Position Variation?
The crankshaft does not rotate at perfectly uniform speed.
Even when an engine is running normally, its rotational speed changes slightly from one point of rotation to another.
Each cylinder's combustion event accelerates the crankshaft, while compression and other mechanical forces produce small decelerations.
There are also tiny manufacturing and mechanical differences in components such as:
-
Crankshaft
-
Reluctor/tone wheel
-
Flywheel
-
Timing components
-
Individual cylinders
The ECM can learn these normal variations and use them as a reference.
It can then distinguish between:
Normal crankshaft-speed variation
and
Crankshaft-speed variation caused by a misfiring cylinder.
This is why crankshaft variation learning is closely associated with the engine's misfire-monitoring strategy.
What Does “Not Learned” Mean?
P0315 essentially means that the ECM does not have a valid learned crankshaft variation pattern.
This can happen because:
-
The learning procedure has never been completed.
-
The procedure was interrupted.
-
The learned values were erased.
-
The ECM was replaced or reprogrammed.
-
The engine or crankshaft-related components were changed.
-
The ECM attempted to learn the pattern but rejected the result.
-
The engine conditions required for learning were not met.
-
An underlying crankshaft signal or mechanical problem prevented successful learning.
Therefore, P0315 does not automatically mean the crankshaft position sensor is defective.
Why Does the ECM Need to Learn This?
The ECM uses crankshaft acceleration and deceleration to help identify misfires.
Imagine that one cylinder produces slightly less torque than the others.
The crankshaft will experience a slightly different acceleration pattern during that cylinder's combustion event.
The ECM can compare the actual crankshaft behavior with its learned reference.
If the deviation is large enough, it can identify a potential misfire.
Without a correct variation profile, the ECM may not be able to perform this monitoring accurately.
The learning procedure essentially teaches the ECM:
“This is what the normal crankshaft rotation pattern looks like on this engine.”
When Does P0315 Commonly Appear?
P0315 is often encountered after work that changes the engine or the relationship between the crankshaft position signal and the ECM.
Common situations include:
-
ECM/PCM replacement
-
ECM reprogramming
-
Battery or memory-related events that erase learned data on some vehicles
-
Crankshaft position sensor replacement
-
Crankshaft replacement
-
Engine replacement
-
Flywheel or flexplate replacement
-
Reluctor/tone wheel replacement
-
Timing-related repairs
-
Major engine rebuild
-
Certain transmission or drivetrain repairs, depending on the vehicle
However, the exact conditions vary by manufacturer.
Some vehicles may retain learned values after a battery disconnect, while others may require relearning after specific repairs or module programming.
Does P0315 Mean the Crankshaft Sensor Is Bad?
No.
This is one of the most important diagnostic points.
A crankshaft position sensor can be producing a perfectly usable signal while P0315 is present.
The problem may simply be that the ECM has not completed the required learning procedure.
On the other hand, a defective sensor or damaged trigger wheel can prevent the learning procedure from succeeding.
Therefore, the correct question is not simply:
“Is the crankshaft sensor bad?”
The better question is:
“Why can't the ECM establish a valid crankshaft variation pattern?”
Common Causes of P0315
Crankshaft variation relearn has not been performed
This is one of the simplest causes.
After certain repairs or module replacement, the vehicle may require a specific crankshaft position variation relearn procedure.
If the procedure is skipped, P0315 can remain stored.
Incorrect relearn procedure
The procedure is not necessarily the same for every vehicle.
It may require a scan tool and specific engine speed, coolant temperature, transmission position and operating conditions.
If the required conditions are not met, the ECM may refuse to learn the variation.
Crankshaft position sensor problem
A weak, unstable or distorted CKP signal can prevent the ECM from accurately determining crankshaft position.
Damaged reluctor or trigger wheel
A damaged or incorrectly positioned reluctor can produce an abnormal pulse pattern.
Possible problems include:
-
Missing teeth
-
Damaged teeth
-
Cracks
-
Excessive runout
-
Incorrect installation
-
Incorrect positioning
-
Foreign material
-
Mechanical damage
Incorrect sensor air gap
On systems where air gap is critical, incorrect sensor positioning can affect the signal.
Timing chain or timing belt problem
Incorrect mechanical timing can affect the relationship between crankshaft and camshaft signals and may prevent successful learning.
Recent engine mechanical work
If components affecting crankshaft rotation or position have been replaced, the learned variation may no longer represent the current mechanical configuration.
Low battery voltage
The relearn procedure often requires the engine to be held at a specified RPM. Low battery voltage or an unstable charging system can interfere with electronic operation.
This should not be assumed to be the cause without evidence, but it is worth checking if the vehicle has other voltage-related symptoms.
Misfire during the relearn procedure
If the engine is already misfiring, the crankshaft acceleration pattern may not represent normal operation.
The ECM may therefore be unable to establish a reliable baseline.
ECM/PCM problem
A control-module issue is possible, but it should generally be considered only after the signal, mechanical condition and relearn procedure have been verified.
Why the Relearn Procedure Matters
The crankshaft variation relearn is not simply a generic “reset.”
The ECM normally performs a controlled procedure in which it observes crankshaft speed variations under specific operating conditions.
The exact procedure depends on the vehicle.
On some applications, a scan tool is used to command the relearn function. The technician may then need to rapidly increase engine speed within a specified RPM range while the ECM monitors the crankshaft signal.
Once the ECM has collected sufficient information, it stores the variation pattern.
The procedure may be referred to as:
-
Crankshaft Position Variation Learn
-
CKP Variation Learn
-
Crankshaft Relearn
-
CASE Relearn
-
Crankshaft Position System Variation Learn
The terminology varies by manufacturer.
Why Can't You Just Clear P0315?
Clearing the code and performing a relearn are not necessarily the same thing.
If the learned crankshaft variation data is missing, simply clearing the DTC does not necessarily recreate the required calibration.
The ECM needs to actually observe and store the crankshaft variation pattern.
If the underlying problem remains, the relearn may also fail.
What Happens During a Crankshaft Relearn?
The exact process depends on the vehicle, but the general principle is similar.
The engine is brought to the required operating condition.
The scan tool initiates the learning function.
The driver or technician then follows the manufacturer's instructions, which may involve allowing the engine to reach a specified RPM or rapidly increasing engine speed within a defined range.
During this process, the ECM monitors the crankshaft position signal and records the small changes in rotational speed.
Once enough data has been collected, the ECM determines the normal crankshaft variation pattern.
The learned values can then be used during misfire monitoring.
Important: The exact RPM range and procedure should always come from manufacturer service information. A generic internet procedure should not be applied blindly to every vehicle.
Why Can the Relearn Procedure Fail?
A failed relearn is an important diagnostic clue.
If the ECM refuses to complete the procedure, possible reasons include:
Engine misfire
A cylinder that is not firing correctly can produce abnormal crankshaft acceleration.
Incorrect crankshaft signal
A weak or distorted CKP waveform can prevent accurate measurement.
Damaged reluctor
An abnormal trigger pattern can cause the ECM to reject the learned data.
Mechanical timing problem
If the crankshaft and camshaft relationship is incorrect, the learning process may not complete successfully.
Incorrect engine operating conditions
The engine may not meet the required coolant temperature, RPM, transmission state or other prerequisites.
Low system voltage
Voltage instability can interfere with the procedure.
Other active DTCs
Some vehicles will not allow crankshaft variation learning while certain engine, transmission or stability-control faults are active.
This is why it is important to read the manufacturer's prerequisites before attempting the relearn.
How P0315 Should Be Diagnosed
A good diagnosis starts with the history of the vehicle.
1. Find out what happened before the code appeared
Ask whether the vehicle recently had:
-
ECM replacement
-
ECU programming
-
Battery work
-
Engine replacement
-
Crankshaft sensor replacement
-
Flywheel/flexplate replacement
-
Timing-chain/belt work
-
Major engine repair
If P0315 appeared immediately after one of these events, a missing or invalid learned value becomes a strong possibility.
2. Scan for additional codes
Do not diagnose P0315 in isolation.
Look for:
-
Misfire codes
-
Crankshaft sensor codes
-
Camshaft sensor codes
-
Cam/crank correlation codes
-
Engine timing codes
-
Low-voltage codes
-
Communication codes
A P0315 together with P0301, P0302 or similar misfire codes requires a different approach from an isolated P0315 following ECM replacement.
3. Check live engine RPM
Monitor RPM during starting and normal operation.
The crankshaft signal must be reliable enough for the ECM to calculate engine speed.
If RPM drops unexpectedly or behaves abnormally, the crankshaft signal should be investigated before attempting repeated relearns.
4. Inspect the CKP sensor and wiring
Check for:
-
Damaged wiring
-
Loose terminals
-
Corrosion
-
Oil contamination
-
Poor connector engagement
-
Harness damage
-
Incorrect sensor installation
5. Inspect the trigger wheel
If there is evidence of signal irregularity, inspect the reluctor/tone wheel where accessible.
A damaged trigger target can make a new sensor appear faulty.
6. Check mechanical timing if indicated
If there are supporting symptoms or cam/crank correlation codes, verify timing.
Do not automatically remove the timing cover simply because P0315 is present.
7. Check battery and charging voltage
Make sure the engine can crank properly and system voltage remains stable.
8. Perform the correct relearn procedure
Once the engine and signal system are known to be healthy, perform the manufacturer-specific crankshaft variation relearn.
An Oscilloscope Can Help When Relearn Keeps Failing
If the vehicle repeatedly fails the crankshaft variation learning procedure, an oscilloscope can be extremely useful.
The waveform can reveal:
-
Missing pulses
-
Distorted pulses
-
Uneven pulse spacing
-
Electrical interference
-
Signal dropouts
-
Abnormal amplitude
-
Trigger-wheel irregularities
On vehicles with both crankshaft and camshaft position sensors, comparing the two signals can also help identify mechanical timing problems.
This can prevent a technician from repeatedly attempting a relearn when the real issue is a defective signal.
Can P0315 Cause a Check Engine Light?
Yes.
The ECM can illuminate the Check Engine Light when it determines that the crankshaft variation information required by its monitoring strategy has not been successfully learned.
Whether the light remains on, whether the code is pending or confirmed, and what other functions are affected depend on the vehicle.
Can P0315 Cause a Misfire?
P0315 itself does not necessarily mean the engine is physically misfiring.
It means the ECM does not have valid crankshaft variation information.
However, the underlying problem preventing the relearn could be an actual misfire.
For example:
P0315 + P0302
could indicate that the engine is misfiring on cylinder 2 and the abnormal crankshaft-speed variation is preventing successful learning.
On the other hand:
P0315 immediately after ECM replacement with no other engine codes
could simply indicate that the required relearn has not been completed.
The surrounding diagnostic information matters.
Can You Drive With P0315?
If the engine runs normally and P0315 is the only code, the vehicle may remain driveable on some applications.
However, it should not be ignored.
The ECM may have limited or unreliable misfire-monitoring capability until the crankshaft variation data is learned.
If the engine is actually misfiring, running the vehicle for an extended period can potentially damage the catalytic converter.
A flashing Check Engine Light, severe shaking, loss of power or obvious misfire should be treated as a more urgent problem.
P0315 vs. P0335
These codes are often confused.
P0315 – Crankshaft Position System Variation Not Learned
The ECM does not have a valid learned crankshaft variation pattern.
P0335 – Crankshaft Position Sensor “A” Circuit Malfunction
The ECM has detected a malfunction in the crankshaft position sensor “A” circuit.
In simple terms:
P0315 = the crankshaft variation reference has not been successfully learned.
P0335 = the crankshaft position sensor circuit itself has a detected malfunction.
They can occur together, but they do not mean the same thing.
P0315 After Replacing a Crankshaft Sensor
If P0315 appears after replacing the CKP sensor, do not immediately assume that the new sensor is defective.
First determine whether the vehicle requires a crankshaft variation relearn after sensor replacement.
If it does, perform the correct procedure.
If the relearn fails, then investigate the sensor signal, wiring, trigger wheel and mechanical timing.
Also verify that the replacement sensor is the correct part for the application.
An aftermarket sensor with a different electrical or magnetic characteristic can sometimes produce a signal that appears acceptable at first glance but does not meet the ECM's expected requirements.
P0315 After an Engine Replacement
An engine replacement is another situation where P0315 can appear.
Even if the replacement engine starts and runs normally, the ECM may need to learn the crankshaft variation characteristics of the new mechanical assembly.
If the relearn is required but has not been completed, P0315 may be stored.
If the relearn cannot be completed, however, the technician should investigate whether the replacement engine contains the correct:
-
Crankshaft
-
Reluctor
-
Sensor
-
Flywheel/flexplate
-
Timing components
A mechanically different engine configuration can produce a crankshaft signal pattern that does not match the ECM's expected setup.
Final Thoughts on P0315
P0315 – Crankshaft Position System Variation Not Learned is primarily a learning/calibration and crankshaft signal plausibility issue, not a direct instruction to replace the crankshaft position sensor.
The ECM needs to understand the normal small variations in crankshaft speed so that it can accurately detect engine misfires. If that learned information is missing, erased, invalid or impossible to establish, P0315 can be stored.
The first question should therefore be:
“Was a crankshaft variation relearn required but not performed?”
If the relearn has already been attempted and fails, the diagnosis needs to go deeper. Check for actual misfires, CKP signal quality, wiring, trigger-wheel condition, mechanical timing, system voltage and any recent engine or module work.
A successful repair is not simply clearing P0315. The goal is to ensure that the crankshaft signal is correct, the engine is mechanically healthy, and the ECM can successfully learn and store the normal crankshaft variation pattern.