Conditions for Setting the DTC
WARNING: This page is about a different car, the 2004 Buick Regal. However, it is still accessible from the selected car via links, so may be relevant.
The PCM detects that the HO2S 2 signal voltage remains between 390-520 mV for more than 100 seconds.