1996 Mazda Miata Crankshaft Position Sensor Failure - OBD2 Code P0340 After Replacement
1996 Mazda MX-5 Miata with 230,000 miles. The crankshaft position sensor was replaced at the end of October. Two weeks ago, the vehicle began failing to start. I replaced the crankshaft position sensor, but the car still will not start. After troubleshooting, the ECU now displays a camshaft position sensor failure code (P0340). I have replaced the camshaft position sensor, and while the sensor appears functional and shows correct voltage readings across all wiring connections, the ECU continues to report a fault for the sensor. No other diagnostic errors are present. This is a persistent issue with no clear resolution. Any insight into why the ECU still reports a bad sensor despite proper installation and testing? Help needed.
Please share the exact OBD2 diagnostic code (e.g., P0340). There are no standard fault codes that directly indicate a component is 'bad'—the ECU typically reports specific failure conditions. Confirming the correct code will help narrow down whether it's a sensor issue, wiring problem, or ECU malfunction.