33991
30
Go to: www.freescale.com
4
POS1R
Move pointer to position 24 prior to RTZ.
Table 6
Check SO to see if Gauge 0 has moved.
- Is bit ST4 logic level 1 If so, gauge 0 has moved to the first microstep.
Table 12
5
PECR
Send null command to see if gauges have moved.
- Bit PE12.
Table 3
Check SO to see if Gauge 0 (Gauge 1) has moved
- Is bit ST4 (ST5) logic level 1
I
f so, Gauge 0 (Gauge 1) has moved another microstep.
Keep track of the movement. If 24 steps are finished, and both gauges are at a static
position, then RTZ. Otherwise repeat steps a) and b).
Table 12
6
RTZ
a. Return one Gauge at a time to the zero stop using RTZ command bit RZ0 selects the
gauge bit RZ1 is used to enable or disable an RTZ.
- Bits RZ3:RZ2 are used to select the RTZ accumulator bits clocking out on the SO pin.
Table 7
b. Select the RTZ accumulator bits clocking out on the SO bits ST15:ST8. These will be
used if characterizing the RTZ.
- Bits RZ3: RZ2 are used to select the bits.
Table 8
7
PECR
a. Check the Status of the RTZ by sending the null command to monitor SO bit ST2
- Bit PE12 is the null command.
Table 3
Is ST2 logic level 0 If not, Gauge 0 is still returning and null command should be resent.
Table 12
8
RTZ
Return the other gauge to the zero stop. If the second gauge is driving a different pointer
than the first, a new RTZCR command may be required to change the Full Step time.
Tables 7-8
9
PECR
a. Check the Status of the RTZ by sending the null command to monitor SO bit ST3
- Bit PE12 is the null command.
Table 3
Is ST3 logic level 0 If not, Gauge 1 is still returning. Null command should be resent.
Table 12
10
VELR
Change the maximum velocity of the gauge bits V8:V9. Determine which gauge(s) will
changethemaximumvelocitybits V7:V0. Determinethemaximumvelocitypositionfrom
the acceleration table.
Table 4
11
POS0R
Position Gauge 0 pointer
- Bits P0 11: P0 0: Desired Pointer Position.
Table 5
Check SO for Out of Range V
PWR
- Bit ST6 logic level 1.
I
f so, RTZ after valid V
PWR
.
Table 12
Check SO for Over Temperature bit ST0 logic level 1. If so, enable driver again. If ST0
continues to indicate Over Temperature, shut down Gauge 0. If ST2 returns to normal,
reestablish the zero reference by RTZ command.
12
POS1R
Position Gauge 1 pointer
- Bits P1 11:P1 0: Desired Pointer Position
Table 6
Check SO for Out of Range V
PWR
bit ST6 logic level 1.
I
f so, RTZ after valid V
PWR
.
Table 12
Check SO for Over Temperature bit ST1 logic level 1. If so, enable driver again. If ST1
continues to indicate over temperature, shut down Gauge 1.
If ST1 returns to normal, reestablish the zero reference by RTZ command.
13
POS0R
a. Return the pointers close to zero position using POS0R
Table 5
b. Move pointer position at least 24 microsteps CW to the nearest full step prior to RTZ.
Table 15. GDIC SETUP, CONFIGURATION, & USAGE EXAMPLE (continued)
Step
Number
Command
Description
Table/Figure
Number
F
Freescale Semiconductor, Inc.
For More Information On This Product,
n
.