Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256 Manuale Utente
![Freescale Semiconductor](https://files.manualsbrain.com/attachments/3bb6ed54ced79535c16e15272d951c615eff7542/common/fit/150/50/1f2ce9b696676e671c4a5e26a6d7f7adf81e5b28c3d837b6200a14eeaf20/brand_logo.gif)
Codici prodotto
DEMO9S12XHY256
Stepper Stall Detector (SSDV1) Block Description
MC9S12XHY-Family Reference Manual, Rev. 1.04
714
Freescale Semiconductor
21.4.3
Operation in Low Power Modes
The SSD block can be configured for lower MCU power consumption in three different ways.
•
Stop mode powers down the sigma-delta converter and halts clock to the modulus counter. Exit
from Stop enables the sigma-delta converter and the clock to the modulus counter but due to the
converter recovery time, the integration result should be ignored.
from Stop enables the sigma-delta converter and the clock to the modulus counter but due to the
converter recovery time, the integration result should be ignored.
•
Wait mode with SSDWAI bit set powers down the sigma-delta converter and halts the clock to the
modulus counter. Exit from Wait enables the sigma-delta converter and clock to the modulus
counter but due to the converter recovery time, the integration result should be ignored.
modulus counter. Exit from Wait enables the sigma-delta converter and clock to the modulus
counter but due to the converter recovery time, the integration result should be ignored.
•
Clearing SDCPU bit powers down the sigma-delta converter.
21.4.4
Stall Detection Flow
shows a flowchart and software setup for stall detection of a stepper motor. To control a
second stepper motor, the SMS bit must be toggled during the SSD initialization.