Conditions for Running the DTC
WARNING: This page is about a different car, the 2004 Pontiac Vibe. However, it is still accessible from the selected car via links, so may be relevant.
PCM detects a short to ground in the TCC solenoid circuit 4 times (2 trip detection logic).