Conditions for Setting the DTC
WARNING: This page is about a different car, the 2008 Cadillac CTS. However, it is still accessible from the selected car via links, so may be relevant.
The TCM detects 2 volts or less on the ignition 1 voltage circuit at the TCM for 1.0 second or more.