Conditions for Setting the DTC
WARNING: This page is about a different car, the 2004 GMC Sierra, 2004 GMC Cab & Chassis Sierra, 2004 Chevrolet Silverado, and 2004 Chevrolet Cab & Chassis Silverado. However, it is still accessible from the selected car via links, so may be relevant.
DTC P0842 sets when C solenoid is commanded OFF and pressure switch C status remains ON for 2-6 seconds, depending on fluid temperature.