
Analog Integrated Circuit Device Data
Freescale Semiconductor
25
33977
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
PO012 (D12)
This bits must be transmitted as Logic [0] for valid POSR
commands.
P011:P00 (D11:D0)
Desired pointer position of Gauge. Pointer positions can
range from 0 (000000000000) to position 4095
(111111111111). For a stepper motor requiring 12
microsteps per degree of pointer movement, the maximum
pointer sweep is 341.25° (4095
÷
12
).
ADDRESS 100 - GAUGE RETURN TO ZERO
REGISTER (RTZR)
Gauge Return to Zero Register (RTZR),
Table 12
below
,
is written to return the gauge pointers to the zero position.
During an RTZ event, the pointer is returned to zero using full
Table 12. Gauge Return to Zero Register (RTZR)
steps, where only one coil is driven at any point in time. The
back electromotive force (EMF) signal present on the non-
driven coil is integrated and its results are stored in an
accumulator. A Logic [1] written to bit RZ1 enables a Return
to Zero for the Gauge if RZ0 is Logic [0]. A Logic [0] written to
bit RZ1 disables a Return to Zero for the Gauge when RZ0 is
Logic [0].
Bits D12:D5 and D3:D2 must be written Logic [0] for valid
RTZR commands. An unconditional RTZ event can be
enabled or disabled with Bit RZ4. Writing Logic [0] results in
a typical RTZ event, automatically providing a Stop when a
stall condition is detected. A Logic [1] will result in RTZ
movement, causing a Stop if a Logic [0] is written to bit RZ0.
This feature is useful during development and
characterization of RTZ requirements.
The register bits in
Table 12
are
write-only
.
(RZ12:RZ5) Bits D12:D5
These bits must be transmitted as Logic [0] for valid
commands.
(RZ4) Bit D4
This bit is used to enable an unconditional RTZ event.
0 = Automatic Return to Zero
1 = Unconditional Return to Zero
(RZ3) Bit D3
This bit must be transmitted as Logic [0] for valid
commands.
(RZ2) Bit D2
Return to Zero Direction bit. This bit is used to properly
sequence the integrator, depending upon the desired zeroing
direction.
0 = Return to Zero will occur in the CCW direction
(PE7 = 0)
1 = Return to Zero will occur in the CW direction
(PE7 =1)
(RZ1) Bit D1
Return to Zero Enable. This bit commands the gauge to
return the pointer to zero position.
0 = Return to Zero Disabled
1 = Return to Zero Enabled
(RZ0) Bit D0
Return to Zero Enable. This bit must always be written
Logic [0].
ADDRESS 101 - GAUGE RETURN TO ZERO
CONFIGURATION REGISTER
Gauge Return to Zero Configuration Register (RTZCR) is
used to configure the Return to Zero Event,
Table 13
. It is
written to modify the: [listed as bullets for reading ease]
Step time, or rate at which the pointer moves during an
RTZ event
Integration blanking time, which is the time immediately
following the transition of a coil from a driven state to an
open state in the RTZ mode
Threshold of the RTZ integration register
Values used for this register should be selected during
development to optimize the RTZ for each application.
Selecting an RTZ step rate resulting in consistently
successful zero detections depends on a clear understanding
of the motor characteristics. Specifically, resonant
frequencies exist due to the interaction between the motor
and the pointer. This command allows for the selection of an
RTZ pointer speed away from these frequencies. Also, some
motors require a significant amount of time for the pointer to
settle to a steady state position when moving from one full
step position to the next. Consistent and accurate integration
values require that the pointer be stationary at the end of the
full step time.
Bits RC3:RC0, RC12:RC11, and RC4 determine the time
spent at each full step during an RTZ event. Bits RC3:RC0
are used to select a
t ranging from 0 ms (0000) to 61.44 ms
Address 100
Bits
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Read
–
–
–
–
–
–
–
–
–
–
–
–
–
Write
0
0
0
0
0
0
0
0
RZ4
0
RZ2
RZ1
0