Thanks for the information. I don’t have any type of scan tool or any equipment like that so I bought a new knock sensor. I installed it and then got the p0325 plus a p0400 code too. That pertains to the egr system so took all of that stuff apart and cleaned it. There was a tube from the manifold to the bottom of the transducer that was totally plugged with carbon. Cleaned that, cleared the codes, started the engine and haven’t gotten codes codes for 3 days I’ll keep my fingers crossed.
Thanks for all the help.