mcf51jf128 Freescale Semiconductor, Inc, mcf51jf128 Datasheet - Page 844

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
Functional Description
In this case, the FTM counter runs free from 0x0000 through 0xFFFF and the TOF bit is
set when the FTM counter changes from 0xFFFF to 0x0000.
37.4.3.4 Counter Reset
Any write to CNTH or CNTL register resets the FTM counter to the value in the
CNTINH:CNTINL registers and the channels output to its initial value (except for
channels in output compare mode).
The FTM counter synchronization (see “FTM Counter Synchronization”) can also be
used to force the value of CNTINH:CNTINL into the FTM counter and the channels
output to its initial value (except for channels in output compare mode).
37.4.4 Input Capture Mode
The input capture mode is selected when (DECAPEN = 0), (COMBINE = 0), (CPWMS
= 0), (MSnB:MSnA = 0:0), and (ELSnB:ELSnA ≠ 0:0).
When a selected edge occurs on the channel input, the current value of the FTM counter
is captured into the CnVH:L registers, at the same time the CHnF bit is set and the
channel interrupt is generated if enabled by CHnIE = 1 (see the following figure).
When a channel is configured for input capture, the CHn pin is an edge-sensitive input.
ELSnB:ELSnA control bits determine which edge, falling or rising, triggers input-capture
event. Note that the maximum frequency for the channel input signal to be detected
correctly is system clock divided by 4, which is required to meet Nyquist criteria for
signal sampling.
When either half of the 16-bit capture register (CnVH:L) is read, the other half is latched
into a buffer to support coherent 16-bit access in big-endian or little-endian order. This
read coherency mechanism can be manually reset by writing to CnSC register.
Writes to the CnVH:L registers are ignored in input capture mode.
While in BDM, the input capture function works as configured. When a selected edge
event occurs, the FTM counter value (which is frozen because of BDM) is captured into
the CnVH:L registers and the CHnF bit is set.
844
• (CPWMS = 0)
• (CNTINH:L = 0x0000)
• (MODH:L = 0xFFFF)
• (QUADEN = 0) if the quadrature decoder feature is supported
MCF51JF128 Reference Manual, Rev. 2, 03/2011
Preliminary
Freescale Semiconductor, Inc.

Related parts for mcf51jf128