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 greater than 6.4 volts at the HSD2 terminal prior to commanding the HSD2 ON.