Conditions for Setting the DTC
WARNING: This page is about a different car, the 2004 Pontiac Grand Prix. However, it is still accessible from the selected car via links, so may be relevant.
The PCM detects a downshift or up and downshift request for 1 second in park and then for 5 minutes in D4 since start-up.