SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2012 at 20:01 ••• 9,937 views

Lincoln Timer Frequency Measure Example

From Manuals

Revision as of 20:01, 11 April 2012 by Support (Talk | contribs)
Jump to: navigation, search

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.