I got the engine code P1345 on my 2000 Mazda Protege 1.8L, what is it?
This code is for a problem with the cam position sensor. Most of the time the sensor itself is the cause of the problem. Here is some more info for you.
P1345 MAZDA - Camshaft Position Sensor Erratic Signal
Read more: https://www.autocodes.com/p1345_mazda.html
Take the AutoCodes.com automotive tests and turbo-charge your car repair knowledge