Theory Of Operation
WARNING: This page is about a different car, the 2017 Jeep Cherokee. However, it is still accessible from the selected car via links, so may be relevant.
The TCM monitors for internal hardware and software failures. If a failure is detected, a DTC will set that indicates the exact nature of the failure.