27.4.6.2.3 Timer Rollover in Triggered Operation

When the module is configured for triggered operation, the signal source selected by SYNC[4:0] does not set the time base count period. The primary purpose of the trigger signal is to tell the timer when to start counting, not when to reset (as in Sync mode).

The timer rolls over to 0000h on the next clock after CCPxPRH/L matches CCPxTMRH/L or when CCPxTMRH/L reaches FFFFh (if CCPxPRH/L is not available in the specific operating mode of the module).

There are two values of SYNC[4:0] that are not allowed in triggered operation:
  • 00000’ (synchronous timer, external triggers are disabled)
  • Any value that selects the module’s own CCP Sync signal (a trigger must be external)

If the trigger source selected by SYNC[4:0] is initialized and enabled first, there is a chance that the timer will miss trigger events. Therefore, it is recommended that the timer be initialized and enabled before the trigger source.