mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 891

no-image

mcf51jf128

Manufacturer Part Number
mcf51jf128
Description
Mcf51jf128 Reference Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51jf128VLH
Manufacturer:
MITSUBISHI
Quantity:
321
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
Part Number:
mcf51jf128VLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51jf128VLH
Manufacturer:
FREESCALE
Quantity:
5 097
enable the measurement of next period. The CH(n)F bit is set when the first rising edge is
detected, that is, the edge selected by ELS(n)B:ELS(n)A bits. The CH(n+1)F bit is set
and DECAP bit is cleared when the second rising edge is detected, that is, the edge
selected by ELS(n+1)B:ELS(n+1)A bits. Both DECAP and CH(n+1)F bits indicate when
two selected edges were captured and the C(n)VH:L and C(n+1)VH:L registers are ready
for reading.
The following figure shows an example of the dual edge capture – continuous mode used
to measure the period between two consecutive rising edges. The DECAPEN bit selects
the dual edge capture mode, so it keeps set in all operation mode. While the DECAP bit
is set the configured measurements are made. The CH(n)F bit is set when the first rising
edge is detected, that is, the edge selected by ELS(n)B:ELS(n)A bits. The CH(n+1)F bit
Freescale Semiconductor, Inc.
Figure 37-213. Dual Edge Capture – One-Shot Mode to Measure of the Period Between
Note
- The commands set DECAPEN, set DECAP, clear CH(n)F, and clear CH(n+1)F are made by the user.
- Problem 1: channel (n) input = 0, set DECAP, not clear CH(n)F, and not clear CH(n+1)F.
- Problem 2: channel (n) input = 1, set DECAP, not clear CH(n)F, and clear CH(n+1)F.
- Problem 3: channel (n) input = 1, set DECAP, not clear CH(n)F, and not clear CH(n+1)F.
channel (n) input
DECAPEN bit
(after the filter
channel input)
CH(n+1)F bit
DECAP bit
FTM counter
C(n+1)VH:L
CH(n)F bit
C(n)VH:L
clear CH(n+1)F
set DECAPEN
clear CH(n)F
set DECAP
1
2
MCF51JF128 Reference Manual, Rev. 2, 03/2011
3
1
2
Two Consecutive Rising Edges
4
5
3
4
6
5
6
7
problem 1
8
6
7
Preliminary
9
10
11
12
7
9
13
14
15
16
14
15
17
18
problem 2
17
18
19
20
Chapter 37 FlexTimer (FTM)
21
18
20
problem 3
22
23
24
25
23
20
26
27
27
26
28
891

Related parts for mcf51jf128