
Analog Integrated Circuit Device Data
Freescale Semiconductor
18
33976
FUNCTIONAL DEVICE OPERATION
LOGIC COMMANDS AND REGISTERS
0 is the indicator of an accumulator exceeding the decision
threshold of 0, and the pointer is assumed to still be moving.
Similarly, if the sign bit is logic [1] after a full step of
integration, the accumulator value is negative and the pointer
is assumed to be stopped. The integrator and accumulator
are initialized after each full step. If the PECCR command is
written to clock out the RTZ accumulator values via the SO,
the OD14 bit corresponds to the sign bit of the RTZ
accumulator.
Accurate pointer stall detection depends on a correctly
preloaded accumulator for specific gauge, pointer, and full
step combinations. Bits RC10:RC5 are used to offset the
initial RTZ accumulator value, properly detecting a stalled
motor. The initial accumulator value at the start of a full step
of integration is negative. If the accumulator was correctly
preloaded, a free-moving pointer will result in a positive value
at the end of the integration time, and a stalled pointer will
result in a negative value. The preloaded values associated
with each combination of bits RC10:RC5 are illustrated in
Table 14
, page
19
. The accumulator should be loaded with a
value resulting in an accumulator MSB to a logic [1] when the
motor is stalled. For the default mode, after a power-up or any
reset, the 33976 device sets the accumulator value to -1,
resulting in an unconditional RTZ pointer movement until it is
increased.
.
Table 12. RTZCR SI Register Assignment
The bits in
Table 12
are
write-only
.
RC12:RC11 (D12:D11) — These bits, along with RC3:RC0
(D3:D0) and RC4 (D4), determine the full step time and,
therefore, the rate at which the pointer will move during an
RTZ event. The values of D12:D11 determine the multiplier
(M) used in equation (1) (refer to page
17
).
RC12:RC11 = M; default value = 00
00 = 1
01 = 2
10 = 4
11 = 8 (Not to be used for design)
RC10:RC5 (D10:D5) — These bits determine the value
preloaded into the RTZ integration accumulator to adjust the
detection threshold. Values range from -1 (00000000) to -
1009 (11111111) as shown in
Table 14
, the default value =
000000.
RC4 (D4) — This bit determines the RTZ blanking time
(
blanking
(
t)
). The default value = 0
0 = 512
μ
s
1 = 768
μ
s
RC3:RC0 (D3:D0) — These bits, along with RC12:RC11
(D12:D11) and RC4 (D4), determine the time variables used
to calculate the full step times with equations (1) or (2)
illustrated above. RC3:RC0 determines the
t time. The
t
values range from 0 (0000) to 61.440 ms (1111) and are
shown in
Table 13
. The default
t is 0 (0011).
Note
Equation (2) (refer to page
17
) is only used to
calculate the full step time if RC3:RC0 = 0000. Use
equation (1) for all other combinations of RC3:RC0.
Address 101
Bits
D12
D11
D10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
Read
–
–
–
–
–
–
–
–
–
–
–
–
–
Write
RC12
RC11
RC10
RC9
RC8
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
Table 13. RTZCR Full Step Time
RC3
RC2
RC1
RC0
t (ms)
0
0
0
0
0
0
0
0
1
4.096
0
0
1
0
8.192
0
0
1
1
12.288
0
1
0
0
16.384
0
1
0
1
20.480
0
1
1
0
24.576
0
1
1
1
28.672
1
0
0
0
32.768
1
0
0
1
36.864
1
0
1
0
40.960
1
0
1
1
45.056
1
1
0
0
49.152
1
1
0
1
53.248
1
1
1
0
57.344
1
1
1
1
61.440