English
Language : 

908E626_09 Datasheet, PDF (31/44 Pages) Freescale Semiconductor, Inc – Integrated Stepper Motor Driver with Embedded MCU and LIN Serial Communication
FUNCTIONAL DEVICE OPERATION
OPERATIONAL MODES
in the transmitter, software is advised to turn the transmitter
off immediately.
• 1 = Transmitter operating in current limitation region.
• 0 = Transmitter not operating in current limitation
region.
HVDD_OCF — HVDD Output Over-current Flag Bit
This read / write flag is set on an over-current condition at
the HVDD pin. Clear HVDD_OCF and enable the output by
writing a logic [1] to the HVDD_OCF Flag. Reset clears the
HVDD_OCF bit. Writing a logic [0] to HVDD_OCF has no
effect.
• 1 = Over-current condition on HVDD has occurred.
• 0 = No over-current condition on HVDD has occurred.
LVF — Low Voltage Bit
This read only bit is a copy of the LVF bit in the Interrupt
Flag Register.
• 1 = Low voltage condition has occurred.
• 0 = No low voltage condition has occurred.
HVF — High Voltage Sensor Bit
This read-only bit is a copy of the HVF bit in the Interrupt
Flag Register.
• 1 = High voltage condition has occurred.
• 0 = No high voltage condition has occurred.
HB_OCF — H-bridge Over-current Flag Bit
This read / write flag is set on an over-current condition at
the H-bridges. Clear HB_OCF and enable the H-bridge driver
by writing a logic [1] to HB_OCF. Reset clears the HB_OCF
bit. Writing a logic [0] to HB_OCF has no effect.
• 1 = Over-current condition on H-bridges has occurred.
• 0 = No over-current condition on H-bridges has
occurred.
HTF — Over-temperature Status Bit
This read-only bit is a copy of the HTF bit in the Interrupt
Flag Register.
• 1 = Over-temperature condition has occurred.
• 0 = No over-temperature condition has occurred.
AUTONOMOUS WATCHDOG (AWD)
The Autonomous Watchdog module consists of three
functions:
• Watchdog function for the CPU in RUN mode
• Periodic interrupt function in STOP mode
The Autonomous Watchdog module allows to protect the
CPU against code runaways.
The AWD is enabled if AWDIE, AWDRE in the AWDCTL
Register is set. If this bit is cleared, the AWD oscillator is
disabled and the watchdog switched off.
Analog Integrated Circuit Device Data
Freescale Semiconductor
Watchdog
The watchdog function is only available in RUN mode. On
setting the AWDRE bit, watchdog functionality in RUN mode
is activated. Once this function is enabled, it is not possible to
disable it via software.
If the timer reaches end value and AWDRE is set, a
system reset is initiated. Operations of the watchdog function
cease in STOP mode. Normal operation will be continued
when the system is back to RUN mode.
To prevent a watchdog reset, the watchdog timeout
counter must be reset before it reaches the end value. This is
done by a write to the AWDRST bit in the AWDCTL Register.
PERIODIC INTERRUPT
Periodic interrupt is only available in STOP mode. It is
enabled by setting the AWDIE bit in the AWDCTL Register. If
AWDIE is set, the AWD wakes up the system after a fixed
period of time. This time period can be selected with bit
AWDR in the AWDCTL Register.
Autonomous Watchdog Control Register (AWDCTL)
Register Name and Address: AWDCTL - $0a
Bit7 6
5
4
3
2 1 Bit0
Read 0 0
0
AWDRE AWDIE 0(17) 0 AWDR
Write
AWDRST
Reset 0 0
0
0
0
00 0
Notes
17. This bit must always be set to 0.
AWDRST — Autonomous Watchdog Reset Bit
This write-only bit resets the Autonomous Watchdog
timeout period. AWDRST always reads 0. Reset clears
AWDRST bit.
• 1 = Reset AWD and restart timeout period.
• 0 = No effect.
AWDRE — Autonomous Watchdog Reset Enable Bit
This read / write bit enables resets on AWD time-outs. A
reset on the RST_A is asserted when the Autonomous
Watchdog has reached the timeout and the Autonomous
Watchdog is enabled. AWDRE is one-time setable (write
once) after each reset. Reset clears the AWDRE bit.
• 1 = Autonomous watchdog enabled.
• 0 = Autonomous watchdog disabled.
Autonomous Watchdog Interrupt Enable Bit (AWDIE)
This read/write bit enables CPU interrupts by the
Autonomous Watchdog timeout flag, AWFD. IRQ_A is only
asserted when the device is in STOP mode. Reset clears the
AWDIE bit.
• 1 = CPU interrupt requests from AWDF enabled
• 0 = CPU interrupt requests from AWDF disabled
908E626
31