Chapter 2
30
Edge-to-Edge Measurement
Use edge-to-edge measurement mode if you want to measure the
time interval between a specified start edge and a specified stop edge.
The start edge can occur on the rising edge or the falling edge of the
Counter 0 Gate signal, and the stop edge can occur on the rising edge
or the falling edge of the Counter 0 Gate signal. When the start edge
is detected, the counter/timer starts incrementing and continues
incrementing until the stop edge is detected. The C/T then stops
incrementing until it is enabled to start another measurement. When
the operation is complete, you can read the value of the counter. You
can count a maximum of 4,294,967,296 events before the counter rolls
over to 0 and starts counting again.
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
Using software, specify the counter/timer mode as measure, the C/T
clock source as internal, the start edge as rising or falling gate, and
the stop edge as rising or falling gate.
Содержание KUSB-3100
Страница 10: ...Contents x...
Страница 14: ...About this Manual xiv...
Страница 15: ...1 1 Overview Features 2 Supported Software 3...
Страница 18: ...Chapter 1 4...
Страница 46: ...Chapter 2 32...
Страница 47: ...33 3 Supported Device Driver Capabilities...
Страница 86: ...Chapter 4 72...
Страница 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Страница 100: ...Chapter 6 86...
Страница 101: ...87 A Specifications...
Страница 112: ...Appendix A 98...
Страница 113: ...99 B Connector Pin Assignments...
Страница 115: ...101 C Reading from or Writing to the Digital Registers...