Does it not tell you which camshaft sensor is throwing up the code? Inlet or Exhaust ? Not sure where the DISA is on a 1.9 but someone will do no doubt. Remove it and check it's intact and check any electrical connectors for attachment and clean terminals etc.
Tony.
Malfunction
Repair Importance Level: 3/3
Repair Difficulty Level: 2/3
Possible causes
- Faulty Camshaft Position Sensor
- Camshaft Position Sensor harness is open or shorted
- Camshaft Position Sensor circuit poor electrical connection
- Faulty starter motor
- Starting system circuit
- Dead (Weak) battery
What does this mean?
Tech notes
Sometimes and in some models, low battery voltage or a weak starter can trigger a Camshaft Position Sensor code.
What does this mean?
When is the code detected?
The camshaft position sensor signal is not detected by the Engine Control Module(ECM) during the first few seconds of engine cranking
Possible symptoms
- Engine Light ON (or Service Engine Soon Warning Light)
- Lack/Loss of Power
- Engine Stall
P0340 Description
The Camshaft Position Sensor is an electronic device used in an engine to record the rate at which the camshaft is spinning. This information is used by the Engine Control Module(
ECM) to control ignition and fuel injection. The camshaft position sensor senses the retraction of camshaft (intake) to identify a particular cylinder. The camshaft position sensor senses the piston position. The sensor system consists of a rotating part, typically a disc, as well as a static part, the actual sensor.
When the engine is running, the high and low parts of the teeth cause the gap with the sensor to change. The changing gap causes the magnetic field near the sensor to change. The change in the magnetic field cause the voltage from the sensor to change.
When the crankshaft position sensor (POS) system becomes inoperative, the camshaft position sensor provides various controls of engine parts instead, utilizing timing of cylinder identification signals
https://www.turnermotorsport.com/c-298-bmw-intake-manifold-components-disa-vacuum-ccv-etc