SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2012 at 20:14 ••• 9,933 views

Lincoln Timer Frequency Measure Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60], [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== This example demonstrat…')
Line 15: Line 15:
[[Image:Lincoln_timer_freqmeasure.png|center|]]
[[Image:Lincoln_timer_freqmeasure.png|center|]]
 +
 +
 +
 +
[[Image:Lincoln_timer_freqmeasure2.png|center|]]

Revision as of 20:01, 11 April 2012

Compatibility Lincoln 60, Lincoln 60E

This example demonstrates how to use a timer to measure a signal's frequency.

Please follow these steps to run the timer_capture example:

  • 1. Compile the timer_capture example.
  • 2. Program the Lincoln with the binary.
  • 3. Connect CAP0.0 to 3.3V (J2 pin 17 to J2 pin 2) with a detachable test lead.
  • 4. Press the "RESET" button.
  • 5. Unconnect CAP0.0 from 3.3V and move it to ground (J2 pin 17 to J2 pin 1).

The first UART, which is connected to the COM1 on the Lincoln microcontroller board, is configured for 115,200 bits per second, and 8-n-1 mode. When the program is started a message will be printed to the terminal. The following screen shot is of the timer_capture example in action.