AN1931D Freescale Semiconductor / Motorola, AN1931D Datasheet - Page 52

no-image

AN1931D

Manufacturer Part Number
AN1931D
Description
3-Phase PM Synchronous Motor Vector Control
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
SDK Implementation
8.
8.1 Drivers and Library Function
8.2 Appconfig.h File
52
The Motorola Embedded SDK is a collection of APIs, libraries, services, rules and guidelines. This
software infrastructure is designed to let DSP5680x software developers create high-level, efficient,
portable code. The application code is available in the SDK. This chapter describes how the PM
synchronous motor vector control application is written under the SDK.
The PM synchronous motor vector control application uses the following drivers:
All drivers are included in bsp.lib library.
The PM synchronous motor vector control application uses the following library functions:
The purpose of the appconfig.h file is to provide a mechanism for overwriting default configuration
settings, which are defined in the config.h file.
There are two appconfig.h files. The first appconfig.h file is dedicated for External RAM
(..\ConfigExtRam directory) and second one is dedicated for Flash memory (..\ConfigFlash directory).
In the PM synchronous motor vector control application, both files are identical, with these exceptions:
SDK Implementation
ADC driver
Quadrature Timer driver
Quadrature Decoder driver
PWM driver
LED driver
SCI driver
PC master software driver
Switch driver (only for DSP56F805EVM and DSP56F807EVM)
Brake driver
cptrfmClarke (Clarke transformation, mcfunc.lib library)
cptrfmPark (Park transformation, mcfunc.lib library)
cptrfmParkInv (Inverse Park transformation, mcfunc.lib library)
mcElimDcBusRip (DC bus ripple elimination, mcfunc.lib library)
mcPwmIct (3-ph sinewave modulation, mcfunc.lib library)
rampGetValue (ramp generation, mcfunc.lib library)
switchcontrol (switch control, mcfunc.lib library)
boardId (board identification, bsp.lib library)
The appconfig.h for the ExtRAM target contains a definition of the RAM memory support
The appconfig.h for the Flash target contains a definition of the FLASH support
The appconfig.h for the ExtRAM target contains a PC master software recorder buffer 25000
samples long, while appconfig.h for the Flash target contains a PC master software recorder
buffer for only 100 samples, due to the limited Flash memory size
The appconfig.h for the DSP56F805EVM and DSP56F807EVM contains the definition of a
switch driver, while the appconfig.h for the DSP56F803EVM does not
Freescale Semiconductor, Inc.
3-Phase PM Synchronous Motor Vector Control
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA

Related parts for AN1931D