English
Language : 

PXD20RM Datasheet, PDF (1456/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
Table 42-15. ITGACC Update Clock Vs. Bus Clock - Recommended Settings1
Bus Clock
40 MHz
64 MHz
80 MHz
ACDIV
3’b010
Divider factor
32
Sampling frequency 1.25 MHz
Update interval
0.8 s
1 Numbers rounded appropriately
3’b011
64
625 kHz
1.6 s
3’b011
64
1.00 MHz
1.00 s
3’b100
128
500 kHz
2.00 s
3’b011
64
1.25 MHz
0.8 s
3’b100
128
625 kHz
1.6 s
42.4.1.4.3 DC Offset Cancellation
Due to deviations from the mid point of the analog supply voltages and other effects in the hardware of the
analog blocks a DC offset may be introduced into the output of the -modulator. As a consequence of
such a DC offset the value obtained in the integration accumulator would depend from the ‘direction’ of
the integration (e.g. accumulator increment for positive back EMF in clockwise movement). The DC offset
cancellation implemented in the SSD block can eliminate (or at least reduce) the influence of such a DC
offset:
When active the DC offset cancellation reverts two internal settings in the SSD block during the
integration phase of the current BIS:
• The input into the analog block controlling the integration polarity which sets the switch condition
state (third column in Table 42-13):
Initial value (when the integration starts at step 5 in Section 42.4.2.2, Details of the SSD
Measurement) is the bit value given in the ITGDIR register in the CONTROL register.
• The output of the -modulator being applied to the integration accumulator (ITGACC register):
Initially it is applied without change to the integration accumulator.
As a result the switch conditions in the analog circuitry change the direction of the voltage representing
the back EMF measured by the -modulator. But the change direction of the ITGACC register is
maintained because the interpretation of the -modulator output is reverted, too.
The offset cancellation is implemented as an additional counter running during the integration phase with
the same clock setting like the DCNT register. The preset value for this counter is derived from the
ITGCNTLD register by shifting right by 0, 1, 2 or 3 bits, depending from the OFFCNC bit setting. Clearing
all the OFFCNC bits obviously disables the offset cancellation completely. Note that increasing the
number of flips improves the offset cancellation because the different polarities are distributed equally
over the complete integration phase (if ITGCNTLD can be divided by the appropriate number). Refer to
Figure 42-11 for more details.
42-18
PXD20 Microcontroller Reference Manual, Rev. 1