MCZ33991EG Freescale, MCZ33991EG Datasheet - Page 32

MCZ33991EG

Manufacturer Part Number
MCZ33991EG
Description
Manufacturer
Freescale
Datasheet

Specifications of MCZ33991EG

Operating Current
6mA
Operating Temperature Classification
Automotive
Package Type
SOIC W
Operating Supply Voltage (min)
4.5V
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Lead Free Status / RoHS Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCZ33991EG
Manufacturer:
FREESCALE
Quantity:
20 000
32
33991
TIMING DESCRIPTIONS AND DIAGRAMS
SAMPLE CODE
/* Step 8 */
Command_Gauge(0x80,0x03);
/* Step 9 */
Command_Gauge(0x10,0x00);
/* Step 10 */
Command_Gauge(0x23,0xFF);
/* Step 11 */
Command_Gauge(0x4F,0xFF);
/* Step 12 */
Command_Gauge(0x6F,0xFF);
/* Step 13 */
Command_Gauge(0x40,0x00);
Command_Gauge(0x40,0x18);
/* Step 14 */
Command_Gauge(0x60,0x00);
Command_Gauge(0x60,0x18);
/* Read Status until RTZ is done */
While ((status & 0x08) != 0)
/*Check SO bits for Out of Range Vpwr and Overtemperature */
If((status & 0x40) != 0)
/* If bit ST6 is logic 1 then RTZ after valid Vpwr */
If((status & 0x01) != 0)
/* If bit ST0 is logic 1 then enable driver again.
/* If ST0 continues to indicate over temperature, then shut down Gauge 0. */
/* If ST2 returns to normal, then reestablish the zero reference by RTZ command. */
/*Check SO bits for Out of Range Vpwr and Over-Temperature */
If((status & 0x40) != 0)
/* If bit ST6 is logic 1 then RTZ after valid Vpwr */
If((status & 0x01) != 0)
/* If bit ST0 is logic 1 then enable driver again.
/* If ST0 continues to indicate Over-Temperature, then shut down Gauge 1. */
/* If ST2 returns to normal, then reestablish the zero reference by RTZ command. */
/* Return the pointers close to zero position */
/* Move the pointer at least 24 microsteps CW to the nearest full step */
/* Return the pointers close to zero position */
/* Move the pointer at least 24 microsteps CW to the nearest full step */
/* Check SO bit ST4 to see if Gauge 0 has moved */
If((status & 0x10) != 0)
/* If ST4 is logic 1 then Gauge 0 has moved to the first microstep */
{Command_Gauge(0x10,0x00);}
/* Send RTZ to Gauge 1 */
/* Null Read to get status */
/* Send velocity */
/* Send position to gauge0 */
/* Send position to gauge1 */
/* Send position to Gauge 0 */
/* Send position to Gauge 0 */
/* Send position to Gauge 1 */
/* Send position to Gauge 1 */
Analog Integrated Circuit Device Data
Freescale Semiconductor

Related parts for MCZ33991EG