8-bit PIC® MCU Angular Timer Multiple Pulse Mode

Last modified by Microchip on 2024/01/26 15:34

When multiple pulse mode is selected (MODE bits of the ATxCON0 register = 01), the angular timer starts a period counter after the first pulse just like the single pulse mode. However, each pulse that follows will store the time between pulses as the Current Period Counter value. The multi-pulse input will essentially treat the Angular Timer input as a series of single-pulse inputs.

A missing pulse can be used to determine the start of a new rotation or new series of input pulses. A number of output pulses can be produced in between input pulses by the Angular Timer module as seen in the accompanying figure. In this example, seven pulses are produced after every input pulse.