AN1914 Freescale Semiconductor / Motorola, AN1914 Datasheet - Page 48

no-image

AN1914

Manufacturer Part Number
AN1914
Description
3-Phase BLDC Motor Control with Sensorless Back EMF Zero Crossing Detection Using DSP56F80x
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
PC Master
8.4 Interrupts
9.
10.
11.
48
The SDK serves the calling of interrupt routines and automatically clears interrupt flags. The user
defines the callback functions which are called during interrupts. The callback functions are assigned
during the driver’s opening. The callback function assignment is defined as one item of the
initialization structure which is used as input parameter of open function. Some drivers define the
callback function in the appconfig.h file.
PC Master was designed to provide the debugging, diagnostic and demonstration tool for development
of algorithms and application. It consists of components running on PC and parts running on the target
development board.
The PC Master application is part of the Motorola Embedded SDK and may be selectively installed
during SDK installation.
The baud rate of the SCI communication is 9600Bd. It is set automatically by the PC Master driver.
To enable the PC Master operation on the target board application, the following lines must be added
to the appconfig.h file:
This can be seen in the Software Design chapter of the SDK. It automatically includes the SCI driver
and installs all necessary services.
A detailed PC Master description is provided by the PC Master User Manual.
Figure 10-11
Crossing in a speed closed loop. A part of the DSP memory is still available for other tasks.
The SW was tuned for three hardware and motor kits (EVM, LV, HV) as described in
Section
accordingly.
The parameters are located in the file (External RAM version):
...\dsp5680xevm\nos\applications\bldc_zerocross\bldcadczcdefines.h
and config files:
PC Master
DSP Usage
Setting of SW parameters for other motor kits
(in 16 bit Words)
Program FLASH
4.1. It can, of course, be used for other motors, but the software parameters need to be set
Data RAM
Memory
shows how much memory is used to run the BLDC motor drive with BEMF Zero
Figure 10-11. RAM and FLASH Memory Usage for SDK2.2
DSP56F80x MC PWM Module in Motor Control Applications
#define SCI_DRIVER
#define INCLUDE_PCMASTER
Freescale Semiconductor, Inc.
For More Information On This Product,
DSP56F803
DSP56F805
Go to: www.freescale.com
Available
32K
2K
Application + Stack
1425+352
13094
Used
Application without PC
Master, SCI
1057+352
Used
8915
Section 6.
and

Related parts for AN1914