I finally had time to dig into this. I took off the aos to get a look at the wiring. Everything looked ok and the voltages checked out ok. I went ahead and replaced the cam position sensor just to be safe. I put everything back and it seems to run a little better but still rough at idle. CEL comes on after a few minutes with the same P0343. I checked the cam timing for bank 1 and it looks like it's maybe a tooth off. Suggestions on what I should do from here?