Don't know what to tell you. Make sure the main ground between the intake manifold and the battery/chassis are in place. If your CAS is giving you the correct alternating signal, then maybe consider that it's not getting to the ECU. The ECU will only throw the code if it can't see the CAS signal at all.
__________________