Conditions for Setting the DTC: P0223
WARNING: This page is about a different car, the 2010 Chevrolet Cobalt. However, it is still accessible from the selected car via links, so may be relevant.
The ECM detects the TP sensor 2 signal voltage is greater than 4.9 volts for greater than 2 seconds.