SFFS889 July 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
The dual-clock comparator module can be used to validate or monitor the output frequency of the PLL (PLLRAWCLK) over a defined time window. While checking for the PLL Clock frequency, DCC uses a known good reference clock to compare with, which is INTOSC1, INTOSC2, or XTAL. If the PLL clock frequency deviates from the targeted frequency more than a pre-defined threshold, DCC reports an ERROR status flag and sends an interrupt to the PIE.
Proper operation of DCC functionality can be checked by configuring DCC with a wrong ratio between counter 0 (DCCCNTSEED0) and counter 1 (DCCCNTSEED1) to force a failure. The fail flag or interrupt can then be checked to verify the functionality of DCC.