Prescaler Enabled; Prescaler Bypassed - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

The prescaler/glitch filter configuration must not be altered
when the LPTMR is enabled.

42.5.3.1 Prescaler enabled

In Time Counter mode, when the prescaler is enabled, the output of the prescaler directly
clocks the CNR. When the LPTMR is enabled, the CNR will increment every 2
prescaler clock cycles. After the LPTMR is enabled, the first increment of the CNR will
take an additional one or two prescaler clock cycles due to synchronization logic.

42.5.3.2 Prescaler bypassed

In Time Counter mode, when the prescaler is bypassed, the selected prescaler clock
increments the CNR on every clock cycle. When the LPTMR is enabled, the first
increment will take an additional one or two prescaler clock cycles due to
synchronization logic.
42.5.3.3 Glitch filter
In Pulse Counter mode, when the glitch filter is enabled, the output of the glitch filter
directly clocks the CNR. When the LPTMR is first enabled, the output of the glitch filter
is asserted, that is, logic 1 for active-high and logic 0 for active-low. The following table
shows the change in glitch filter output with the selected input source.
The selected input source remains deasserted for at least 2
15
to 2
consecutive prescaler clock rising edges
The selected input source remains asserted for at least 2
15
2
consecutive prescaler clock rising-edges
The input is only sampled on the rising clock edge.
The CNR will increment each time the glitch filter output asserts. In Pulse Counter mode,
the maximum rate at which the CNR can increment is once every 2
clock edges. When first enabled, the glitch filter will wait an additional one or two
prescaler clock edges due to synchronization logic.
Freescale Semiconductor, Inc.
NOTE
If
1
1
to
NOTE
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 42 Low-Power Timer (LPTMR)
Then
The glitch filter output will also deassert.
The glitch filter output will also assert.
2
16
to 2
2
16
to 2
prescaler
1071

Advertisement

Table of Contents
loading

Table of Contents