Here's the Diag on a knock sensor code. The setting of a code could indicate an electrical failure which can be the sensor, connector, wire or the ECU itself. Tracking these down can be a bear. With a current code, your engine should be running 6 degrees retarded.
Knock sensor 1
Fault code 1-31 - Mounting of knock sensor (observe torque and type of screw)
- Check wiring harness and plug connection in accordance with
wiring diagram
- Reconnecting the plugs helps to eliminate contact resistances
- Check if coolant or other fluids have ingressed in the knock sensor
area
- Replace knock sensor
If the knock sensor is faulty, ignition timing is retarded by 6 degrees on the
crankshaft at a certain engine load.
- DME-Diagnosis/Troubleshooting
Knock sensor II
Fault code 1-32 - Mounting of knock sensor (observe torque and type of screw)
- Check wiring harness and plug connections in accordance with
wiring diagrams
- Reconnecting the sensors helps to eliminate contact resistances
- Check if coolant or other fluids have ingressed in the knock sensor
area
- Replace knock sensor
If the knock sensor is faulty, ignition timing is retarded by 6 degrees on the
crankshaft
Removing and installing knock sensor
1. To remove and install the knock sensors,
unbolt the intake rail from the engine. Refer
to page 15 - 21 to 15 - 22.
The coolant hoses remain connected. The
intake rail remains in the engine compartment.
2. Undo and take out knock sensors. Disconnect
connector.
3. Reinstall with a new genuine M 8 x 30 bolt
(micro-sealed) without washer.
L Tightening torque: 20 Nm (15 ftlb.)
Note
Handle the knock sensor very carefully. The
knock sensor must never drop to the ground
from greater heights as this may damage the
piezocrystal.