Pending codes are set when intermittent faults happen and the PCM needs to see happen consecutively.
The codes you have are slightly different. The P0340 indicates the PCM is intermittently getting a signal from the cam sensor and the P0344 indicates no signal.
With that in mind, I would check the connections at the sensors to confirm they are clean, tight, not corroded, and not damaged.
As far as causing knocking, anything is possible, but when there is no signal, it should go into a default setting. However, anything that has a partial control over timing can cause issues.
Let me know.
Joe
SPONSORED LINKS
Monday, April 26th, 2021 AT 12:55 PM