My P0340 saga continues....!!!

Cleared OBD codes with reader and/or battery ground to positive after every step.
New CPS Sensor
Ohmed out PCM connector to CPS
Measured .1 to .5 volts AC scale on active CPS when changing engine revs.
OIl/filter change.
Replaced PCM (yes I know!!!)
Slight rough idle after 5-10 minute warm up thinking P0340 is just a symptom of slight misfire.
Replaced PCV, wires, plugs, Coil pack, air filter, fuel filter.
Car has been driven 3000 miles since my original post in February and a couple of tanks with Techron. Runs fine and goes to redline with no hesitation, etc,
Only after warm up P0340 and emissions inspection failing :^(

Belt, tensioner, look good. Could it be the timing belt?
How do I tell if its the flex plate?
Vacuum leak?

Help..!!!
BobM.