2. DELAY (IPBus clock cycles) = f * (s+3) +2 (to monitor the output in the IMR)
One more additional IPBus clock cycle is needed to read the filtered output, and two
more IPBus clock cycles are needed to monitor the filtered output in the IMR. The
sample rate is set when it reaches the number f. The following examples employ the
preceding equations:
• Example: when f = 0, the filter is bypassed. Therefore, DELAY = 1 or 2 clock
cycles.
• Example: when f = 5 and s = 2, DELAY = 5 * (2+3) + (1 or 2) = 26 or 27 clock
cycles.
Address: 4005_5000h base + 2h offset = 4005_5002h
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ENC_FILT field descriptions
Field
Description
15–11
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
10–8
FILT_CNT
Input Filter Sample Count
These bits represent the number of consecutive samples that must agree prior to the input filter accepting
an input transition. A value of 0x0 represents 3 samples. A value of 0x7 represents 10 samples. The value
of FILT_CNT affects the input latency.
FILT_PER
Input Filter Sample Period
These bits represent the sampling period (in IPBus clock cycles) of the decoder input signals. Each input
is sampled multiple times at the rate specified by this field. If FILT_PER is 0x00 (default), then the input
filter is bypassed. Bypassing the digital filter enables the position/position difference counters to operate
with count rates up to the IPBus frequency. The value of FILT_PER affects the input latency.
When changing FILT_PER from one non-zero value to another non-zero value, write a value of 0 first in
order to clear the filter.
41.4.3 Watchdog Timeout Register (ENC_WTR)
This read/write register stores the timeout count for the quadrature decoder module
watchdog timer. This timer is separate from the watchdog timer in the COP module.
Address: 4005_5000h base + 4h offset = 4005_5004h
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Memory Map and Registers
KV4x Reference Manual, Rev. 2, 02/2015
1050
Preliminary
Freescale Semiconductor, Inc.
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...