Conditions for Setting the DTC
WARNING: This page is about a different car, the 2004 Buick Rendezvous. 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 more than 4.8 volts for more than 4 seconds.