mc33991dwr2 Freescale Semiconductor, Inc, mc33991dwr2 Datasheet - Page 24

no-image

mc33991dwr2

Manufacturer Part Number
mc33991dwr2
Description
Gauge Driver Integrated Circuit
Manufacturer
Freescale Semiconductor, Inc
Datasheet
INTERNAL CLOCK CALIBRATION
velocities, acceleration and Return To Zero Pointer speeds)
depend upon a precise, consistent time reference to control
the pointer accurately and reliably. Generating accurate time
references on an Integrated Circuit can be accomplished;
however, they tend to be costly due to the large amount of die
area required for trim pads and the associated trim
procedure. One possibility to reduce cost is an externally
generated clock signal. Another inexpensive approach would
require the use of an additional crystal or resonator.
independent and area efficient; however, it can vary by as
much as +70 to - 35 percent due to process variation. Using
the existing SPI inputs and the precision timing reference
already available to the controller, the 33991 allows clock
calibration to within ±10 percent.
writing a logic [1] to PECR bit D3. See Figure 7. The 8 µs
calibration pulse is provided by the controller. It ideally results
pointer velocity and acceleration. Guaranteeing these
maximums requires nominal internal clock frequency falls
below 1 MHz. The frequency range of the calibrated clock is
always below 1MHz if PECR bit D4 is logic [0] when initiating
a calibration command, followed by an 8 µs reference pulse.
The frequency will be centered at 1 MHz if bit D4 is logic [1].
slower than the optimal frequency by sending a calibration
24
Table 17. Velocity Ramp (continued)
33991
TIMING DESCRIPTIONS AND DIAGRAMS
DEVICE FUNCTIONAL DESCRIPTION
Position
Velocity
Timing related functions on the 33991 (e.g., pointer
The internal clock in the 33991 is temperature
Calibrating the internal 1MHz clock will be initiated by
SCLK
Some applications may require a guaranteed maximum
The 33991 can be deceived into calibrating faster or
CSB
CS
64
65
66
67
68
69
70
71
SI
Time Between
Steps (µs)
D15
385
382
379
376
374
371
368
366
(µSteps/s)
Velocity
2611.30
2631.90
2652.34
2672.62
2692.75
2712.73
2732.56
2752.25
Figure 8. Gauge Enable and Clock Calibration Example
Position
Velocity
136
137
138
139
140
141
142
143
PECR Command
Time Between
Steps (µs)
263
262
261
260
259
258
257
256
in an internal 33991 clock speed of 1MHz. The pulse is sent
on the CS pin immediately after the SPI word is launched. No
other SPI lines must be toggled. At the moment the CS pin
transitions from logic [1] to [0], an internal 7-bit counter counts
the number of cycles of an internal, non-calibrated, and
temperature independent, 8 MHz clock. The counter stops
when the CS pin transitions from logic [0] to logic [1]. The
value in the counter represents the number of cycles of the 8
MHz clock occurring in the 8 µs window; it should range from
32 to 119. An offset is added to this number to help center,
or skew the calibrated result to generate a desired maximum
or nominal frequency. The modified counter value is
truncated by four bits to generate the calibration divisor,
ranging from four to 15. The 8 MHz clock is divided by the
calibration divisor, resulting in a calibrated 1 MHz clock. If the
calibration divisor lies outside the range of four to 15, the
33991 flags the ST7 bit, indicating the calibration procedure
was not successful. A clock calibration is allowed only if the
gauges are disabled or the pointers are not moving, indicated
by status bits ST4 and ST5.
pulse longer or shorter than the intended 8 µs. As long as the
count remains between four and 15, there will be no clock
calibration flag. For applications requiring a slower calibrated
clock, i.e., a motor designed with a gear ratio of 120:1 (8
microsteps/degrees), a longer calibration pulse is required.
The device allows a SPI selectable slowing of the internal
oscillator, using the PECR command, so the calibration
divisor safely falls within the four to 15 range when calibrating
(µSteps/s)
Velocity
3820.33
3834.44
3848.49
3862.50
3876.45
3890.36
3904.22
3918.02
Position
Velocity
208
209
210
211
212
213
214
215
Analog Integrated Circuit Device Data
D0
Time Between
Steps (µs)
Freescale Semiconductor
212
212
211
211
210
210
209
209
8us Calibration Pulse
(µSteps/s)
Velocity
4729.79
4741.19
4752.57
4763.92
4775.24
4786.53
4797.80
4800.00

Related parts for mc33991dwr2