Wiring Signals to the Module
41
Edge-to-Edge Measurement
shows how to connect counter/timer signals to the module to perform an
edge-to-edge measurement operation on one signal source. The counter measures the number
of counts between the start edge (in this case, a rising edge on the Counter 0 Gate signal) and
the stop edge (in this case, another rising edge on the Counter 0 Gate signal).
You specify the start edge and the stop edge in software. Refer to
for more
information.
Figure 15: Connecting Counter/Timer Signals for an
Edge-to-Edge Measurement Operation
You can use edge-to-edge measurement to measure the following characteristics of a signal:
• Pulse width – The amount of time that a signal pulse is in a high or a low state, or the
amount of time between a rising edge and a falling edge or between a falling edge and a
rising edge. You can calculate the pulse width as follows:
Pulse width = Number of counts/24 MHz
• Period – The time between two occurrences of the same edge (rising edge to rising edge,
or falling edge to falling edge). You can calculate the period as follows:
Period = 1/Frequency
Period = Number of counts/24 MHz
• Frequency – The number of periods per second. You can calculate the frequency as
follows:
Frequency = 24 MHz/Number of Counts
Signal Source
Counter 0 Gate
Ground
19
16
In this example, the software
returns the number of counts
between the two rising edges
DT9812, DT9813, or
DT9814 Series Module
Summary of Contents for DT9812 Series
Page 1: ...DT9812 UM 20769 R DT9813 and User s Manual DT9814 Series Title Page ...
Page 4: ......
Page 12: ...About this Manual 12 ...
Page 13: ...13 1 Overview Key Hardware Features 14 Supported Software 15 Getting Started Procedure 16 ...
Page 17: ...Part 1 Getting Started ...
Page 18: ......
Page 26: ...Chapter 2 26 ...
Page 53: ...Part 2 Using Your Module ...
Page 54: ......
Page 76: ...Chapter 5 76 ...
Page 88: ...Chapter 6 88 ...
Page 94: ...Chapter 7 94 ...
Page 113: ...113 B Screw Terminal and Connector Pin Assignments ...