Motorola M68HC08 Reference Manual page 77

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

Advertisement

5.3.2 Process Measurement
5.3.3 Start/Stop Switch Reading and Start/Stop Decision
DRM028 — Rev 0
MOTOROLA
Freescale Semiconductor, Inc.
Type: S8- signed 8 bit, U8- unsigned 8 bit, S16- signed 16bit, U16-
unsigned 16bit, (union)- 16 bits access or 2*8bit access
The system registers Sys1 flags are described by definitions of
Sys3_Def:
typedef union
{
struct
{
unsigned int PC_F
unsigned int Off_F
unsigned int ICR_F
unsigned int Rmp_F
ramping */
unsigned int Stop_F
stopped */
unsigned int Strt_F
unsigned int Run_F
unsigned int FOK_F
time Flag */
} B;
/*
|FOK_F|Run_F|Strt_F|Stop_F|Rmp_F|ICR_F|Off_F|PC_F| */
char R;
} Sys1_Def; /* System register #1 Definition */
Main data flow is displayed in
in the following subsections.
The process provides measurement of analog values using ADC. The
measured inputs are: dc-bus current, dc-bus voltage, and speed input.
The measurement is provided by the measurement handler. The state
diagram is explained in
The process reads the start stop switch and provides start condition and
clear failure decisions, as explained in
Software Design
For More Information On This Product,
Go to: www.freescale.com
: 1;
/* BIT0 Phase Commutation Flag */
: 1;
/* BIT1 Offset timeout flag
- Offset timeout can be measured */
: 1;
/* BIT2 Input Capture
was succesfuly Received - Flag */
: 1;
/* BIT3 Speed Ramp Flag - motor
: 1;
/* BIT4 Motor is going or is
: 1;
/* BIT5 Start Phase Flag */
: 1;
/* BIT6 Motor Running with
back-EMF feedback Flag */
: 1;
/* BIT7 Feedback within the righ
Figure
5-1. The processes are described
State
Diagram.
Stand-By
Software Design
Data Flow
and
Fault
State.
Designer Reference Manual
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents