Motorola M68HC08 Reference Manual page 91

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

Advertisement

5.5.1 Initialize MCU
5.5.2 Initialize Application
5.5.3 Stand-By
DRM028 — Rev 0
MOTOROLA
Freescale Semiconductor, Inc.
This state is entered after the MCU is reset, and performs the following
actions:
MCU ports are configured for the application
Some application (system) variables are initialized
MCU clock PLL is locked
Hardware boards used are identified, and parameters initialized
PC master communication software is initialized with SCI port
ADC is initialized
and the state is exited.
This state is used as an application reset, called following a return from
fault or stop states.
In this state the following actions are done:
Current measurement path calibrated and checked for error
Some application (system) variables initialized
Some MCU peripherals are configured (timer, OC function, PWM)
PWM outputs for motor control are turned OFF
Timer 1 (Tim A Ch1) is synchronized with the PWM cycle
Speed input, dc-bus voltage and temperature measurement is
initialized
Ready LED is turned ON
and the state is exited.
State diagram for this software is shown in
Software Design
For More Information On This Product,
Go to: www.freescale.com
Software Design
State Diagram
Figure
5-8.
Designer Reference Manual
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908mr32

Table of Contents