Reference guide

Motor Running and LCD2 Panel Display Demonstration
Cluster (Dashboard) Using S12HZ256 as a Single-Chip Solution Designer Reference Manual, Rev. 0
Freescale Semiconductor 27
4.3 Motor Running and LCD2 Panel Display Demonstration
The demonstration code for Stepper Stall Detection (SSD), micro-stepping moving, and LCD2 panel
display were done for the user reference. Please refer to MotorLCD2Demo project for details. The
software flowchart is shown Figure 4-3.
Figure 4-3. Flowchart of Motor Running
and LCD2 Panel Display
Start
Wake Up Motor to Move
Invoke SSD (Step SSD)
No
Stepper Stall?
Yes
Move to Home Position
System Initialization
Motor Move
Forward/Backward
Blinking and Display
Internal Clock
with Mileage to LCD2