AN0821
8 Rev. 0.1
4. Next, configure Timer 2 to overflow at 1 kHz. This timer will serve as the ADC start-of-conversion source.
a. Select TIMER 2 from the Timers group.
b. Set the Run Control property to Start.
c. Set the Timer Overflow Frequency properties to 1000 for 1 kHz. This will change the read-only Timer
Reload Overflow Frequency to ~1 kHz.
d. Check the TIMER Setup check box to enable code generation and remove the error.
e. Timer 2 is now clocked from the 3.0625 MHz system clock divided by 12 and the 16-bit Timer 2
counter will overflow approximately every 1 ms (1 kHz).
Comments to this Manuals