Simplicity 14E User's Guide Page 8

  • Download
  • Add to my manuals
  • Print
  • Page
    / 29
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 7
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).
4a
4b
4c
4d
Page view 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 28 29

Comments to this Manuals

No comments