Conditions for Setting the DTC
WARNING: This page is about a different car, the 2007 GMC Sierra and 2007 Chevrolet Silverado. However, it is still accessible from the selected car via links, so may be relevant.
DTC P0842 sets during steady state operation when PS1 indicates ON for 125 milliseconds after shift solenoid 1 (SS1) has been commanded OFF.