English
Language : 

MC9S12HZ128VAL Datasheet, PDF (298/692 Pages) Freescale Semiconductor, Inc – MC9S12HZ256 Data Sheet, Rev. 2.05
Chapter 10 Stepper Stall Detector (SSDV1)
Table 10-7. MDCCTL Field Descriptions (continued)
Field
3
FLMC
2
MCEN
0
AOVIE
Description
Force Load Register into the Modulus Counter Count Register — This bit always reads zero.
0 Write zero to this bit has no effect.
1 Write one into this bit loads the load register into the modulus counter count register.
Modulus Down-Counter Enable
0 Modulus down-counter is disabled. The modulus counter (MDCCNT) is preset to 0xFFFF. This will prevent an
early interrupt flag when the modulus down-counter is enabled.
1 Modulus down-counter is enabled.
Accumulator Overflow Interrupt Enable
0 Interrupt disabled.
1 Interrupt enabled. An interrupt will be generated when the accumulator overflow interrupt flag (AOVIF) is set.
10.3.2.3 Stepper Stall Detector Control Register (SSDCTL)
R
W
Reset
7
RTZE
0
Read: anytime
6
5
4
3
2
1
0
0
0
SDCPU
SSDWAI
FTST
ACLKS
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 10-4. Stepper Stall Detector Control Register (SSDCTL)
Write: anytime
l
Table 10-8. SSDCTL Field Descriptions
Field
Description
7
RTZE
6
SDCPU
5
SSDWAI
Return to Zero Enable — If this bit is set, the coils are controlled by the SSD and are configured into one of the
four full step states as shown in Table 10-6. If this bit is cleared, the coils are not controlled by the SSD.
0 RTZ is disabled.
1 RTZ is enabled.
Sigma-Delta Converter Power Up — This bit provides on/off control for the sigma-delta converter allowing
reduced MCU power consumption. Because the analog circuit is turned off when powered down, the sigma-delta
converter requires a recovery time after it is powered up.
0 Sigma-delta converter is powered down.
1 Sigma-delta converter is powered up.
SSD Disabled during Wait Mode — When entering Wait Mode, this bit provides on/off control over the SSD
allowing reduced MCU power consumption. Because the analog circuit is turned off when powered down, the
sigma-delta converter requires a recovery time after exit from Wait Mode.
0 SSD continues to run in WAIT mode.
1 Entering WAIT mode freezes the clock to the prescaler divider, powers down the sigma-delta converter, and
if RTZE bit is set, the sine and cosine coils are recirculated via VSSM.
MC9S12HZ256 Data Sheet, Rev. 2.05
298
Freescale Semiconductor