AN1917D Freescale Semiconductor / Motorola, AN1917D Datasheet - Page 22

no-image

AN1917D

Manufacturer Part Number
AN1917D
Description
3-Phase PM Synchronous Motor Control with Quadrature Encoder Using DSP56F80x
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
22
SDK Implementation
7.4 Interrupts
7.5 PC Master Software
The SDK serves the interrupt routine calls and automatically clears interrupt flags. The user defines the
callback functions called during interrupts. The callback functions are assigned during driver
initialization - open(). Callback function assignment is defined as one item of the initialization
structure which is used as a parameter of the function open(). Some drivers define the callback
function in the appconfig.h file.
PC master software was designed to provide an application debugging, diagnostic and demonstration
tool for the development of algorithms and applications. It runs on a PC connected to the DSP EVM
via an RS232 serial cable. A small program resident in the DSP communicates with the PC master
software to parse commands, return status information to the PC and process control information from
the PC. PC master software, executing on a PC, uses part of Microsoft Internet Explorer as the user
interface.
PC master software is part of the Motorola Embedded SDK and may be selectively installed during
SDK installation.
To enable PC master software operation on the DSP target board application, the following lines must
be added to the appconfig.h file:
This automatically includes the SCI driver and installs all necessary services.
The default baud rate of the SCI communication is 9600Bd. It is set automatically by the PC master
software driver and can be changed if needed.
A detailed description of PC master software is provided by the dedicated User’s Manual [12].
The 3-phase PM Synchronous motor control application utilizes PC master software for remote control
from the PC. It enables the user to:
Variables read by the PC master software and displayed to the user are:
The PC master software Control Page is illustrated in
actual speeds can be seen in the Speed Scope window.
Start/stop control
Set the motor speed
Required and actual motor speed
Application operational mode
Start/stop status
DC-Bus voltage
#define INCLUDE_SCI
#define INCLUDE_PCMASTER
3-Phase PMSM Control with Quadrature Encoder
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
/* PC master software support */
Figure
/* SCI support */
7-1. The profiles of the required and
MOTOROLA

Related parts for AN1917D