mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 301

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
10.3.2.6
Read: anytime.
Write: Never.
This 16-bit field is signed and is represented in two’s complement. It indicates the change in flux while
integrating the back EMF present in the non-driven coil during a return to zero event.
When ITG is zero, the accumulator is initialized to 0x0000 and the sigma-delta converter is in a reset state.
When ITG is one, the accumulator increments or decrements depending on the sigma-delta conversion
sample. The accumulator sample frequency is determined by the ACLKS field. The accumulator freezes
at 0x7FFF on a positive overflow and freezes at 0x8000 on a negative overflow.
10.4
The stepper stall detector (SSD) has a simple control block to configure the H-bridge drivers of a stepper
motor in four different full step states with four available modes during a return to zero event. The SSD
has a detect circuit using a sigma-delta converter to measure and integrate changes in flux of the
de-energized winding in the stepping motor and the conversion result is accumulated in a 16-bit signed
register. The SSD also has a 16-bit modulus down counter to monitor blanking and integration times. DC
offset compensation is implemented when using the modulus down counter to monitor integration times.
10.4.1
There are four return to zero modes as shown in
Freescale Semiconductor
Reset
Reset
W
W
R
R
Functional Description
Return to Zero Modes
Integration Accumulator Register (ITGACC)
15
0
0
7
A separate read for high byte and low byte gives a different result than
accessing the register as a word.
Figure 10-8. Integration Accumulator Register High (ITGACC)
Figure 10-9. Integration Accumulator Register Low (ITGACC)
14
0
0
6
ITG
Table 10-11. Return to Zero Modes
MC9S12HZ256 Data Sheet, Rev. 2.05
13
0
0
5
DCOIL
Table
NOTE
12
0
0
4
ITGACC
ITGACC
10-11.
Mode
11
0
0
3
Chapter 10 Stepper Stall Detector (SSDV1)
10
0
0
2
0
0
9
1
0
0
8
0
301

Related parts for mc9s12hz256v2