So I have had my car for a couple days and it started making a knocking noise after a decently hard day of driving. After scanning the engine the code P0340 came up (Camshaft Position Sensor) and I am not too sure what to do. It has gotten worse so I have stopped driving it. Have any of you had a common problem and found a fix, thanks.