Millenia 2.3L
WARNING: This page is about a different car, the 2001 Mazda Protege, 2001 Mazda Millenia, 2001 Mazda MX-5 Miata, 2001 Mazda MPV, and 2001 Mazda 626. However, it is still accessible from the selected car via links, so may be relevant.
CMP sensor is located on right front of engine. Disconnect negative battery cable. Disconnect CMP sensor connector. Using ohm meter, check continuity between CMP connector terminals "B" and "C". If continuity is present, replace CMP sensor. If continuity is not present, repair wire harness as necessary.