Conditions for Setting The DTC
WARNING: This page is about a different car, the 2005 Cadillac STS. However, it is still accessible from the selected car via links, so may be relevant.
The TCM detects a transmission fluid temperature of 150°C (302°F) or more for 10 seconds.