Introduction

Author: Max Prasad, Microchip Technology Inc.

The Universal Timer (UTMR) module is a timer module introduced in the newer PIC® devices, which combines most of the operations of all the legacy timers (TMR0/1/2, SMT, CCP) into one single timer. The inbuilt capture and compare features along with customizable Start, Reset, and Stop options make the UTMR universal. Additionally, multiple UTMR modules can be chained together to form a larger size timer.

This document shows how to configure the UTMR to operate in different modes available in legacy timer peripherals (TMR0, TMR1, TMR2, SMT, CCP). In the cases where a mode in the legacy timer is not supported, suggestions are given about combining the UTMR with other peripherals to perform those functions. Features new to UTMR that are not supported in the legacy timers are beyond the scope of this document. Refer to the device specific data sheet or TB3264 for more information.