My truck had a rough idle and the same code. It ended up having bad cam phaser,chain tensnors, and guides. Mine was so bad it skipped a tooth and had cut 1/2" into the front cover.
The light will take 2 cycles before it comes back on after it's reset.