will not stay running on 1997 Mazda Millenia

Just traded for a 97 millenia, ran good except for a miss that would disappear when accellerating. Already replaced the crank sensor, distributor cap, rotary button, wires and plugs and the rack and pinion. The other day, car quit while in drive thru, car quit firing. Keep getting a code of p1345 (crank shaft position sensor or cam sensor). Like earlier, already replaced the crank shaft sensor and do not know where to locate the cam sensor

by in Alamo, TN on March 29, 2011
1 answer
ANSWER by , March 29, 2011
you have thrown a lot of parts at this without success. you need a shop to help you find the problem. the code never identifies a failed part, just a failed system. it could be wiring or connections. this is why you need a shop to do a real diag. Roy