Motorola M68HC08 Reference Manual page 54

Sensorless bldc motor control using the mc68hc908mr32
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

BLDC Motor Control
Designer Reference Manual
54
Freescale Semiconductor, Inc.
unsigned int Switch_Start : 1; /* BIT0 Switch START/STOP
unsigned int Running : 1;/* BIT1 Motor is running (Alignment,
Start
Running state) */
unsigned int BIT2 : 1;
unsigned int V120 : 1;
unsigned int BIT4 : 1;
unsigned int BIT5 : 1;
unsigned int BIT6 : 1;
unsigned int BIT7 : 1;
} B;
/* |***|***|***|***|V120|***|Running|Switch_Start| */
char R;
} Motor_Status_Def;
/* PC master software Motor Status Flags register Definition */
typedef union
{
struct
{
unsigned int OverCurrent : 1;
Failure */
unsigned int OverHeating : 1;
unsigned int VoltageFailure : 1;
unsigned int BIT3
unsigned int BIT4
unsigned int BIT5
unsigned int BoardIdFail : 1;
unsigned int ErrCmt : 1;
} B;
/*
|ErrCmt|***|***|***|***|VoltageFailure|OverHeating|OverCurrent|
*/
char R;
} Failure_Def; /* Failure Flags register Definition */
Table 3-2
declares if the variable is used as an output or input from the
BLDC control MCU software side. The variable is described and the unit
defined.
When PC master software mode is set, the system start and stop is
controlled by StartCtrl flag in
enters the fault state, the variable Failure displays the fault reason.
Setting the ClearFail flag in
BLDC Motor Control
For More Information On This Product,
Go to: www.freescale.com
set to START Flag */
/* BIT2 RESERVED */
/* BIT3 120 V DC-Bus detected
(only for HV DC-Bus) */
/* BIT4 RESERVED */
/* BIT5 RESERVED */
/* BIT6 RESERVED */
/* BIT7 RESERVED */
/* BIT0 Over-Current
/* BIT1 Over-Heating */
/* BIT2 Over-Voltage */
: 1;
/* BIT5 RESERVED */
: 1;
/* BIT4 RESERVED */
: 1;
/* BIT6 RESERVED */
/* BIT6 pcb Identification
Failure */
/* BIT7 error Commutation */
variable. When the application
Motor_Ctrl
will exit the fault state.
Motor_Ctrl
or
DRM028 — Rev 0
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents