03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Integration Assumption<br />

2.8 Integration Assumption<br />

In order to successfully integrate the <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong><br />

M<strong>PXR40xx</strong> to the customer application, the following assumptions need to be<br />

considered:<br />

1. The C-99 language have to be enabled in the user application (please refer to User<br />

manual of your compiler to enable this feature).<br />

2. In case the SPE module is available on target MCU, the SPE module have to be<br />

enabled even in case no single precision floating point library functions are utilized<br />

in the user application.<br />

3. The pre-compiled library of the <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong><br />

M<strong>PXR40xx</strong> was compiled using the VLE option, thus the VLE has to be enabled in<br />

case the pre-compiled version of the <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong><br />

<strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> is used in the user application <strong>and</strong> the VLE option is<br />

available on target MCU.<br />

4. In case the floating point unit is available on target MCU, the single precision<br />

floating point HW support has to be switched on (please refer to User manual of your<br />

compiler to enable this feature).<br />

5. In case the Freescale CodeWarrior is used either in Classic IDE or Eclipse IDE<br />

version, the C++ extension has to be switched off.<br />

2.9 Library Integration into a Green Hills Multi Development<br />

Environment<br />

The <strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> M<strong>PXR40xx</strong> is added into a<br />

new Green Hills Multi project using the following steps:<br />

1. Open a new empty C project in the Green Hills Multi IDE. See the Green Hills Multi<br />

user manual <strong>for</strong> instructions.<br />

2. Once you have successfully created <strong>and</strong> opened a new C project, right click on the<br />

project file *.gpj in the GHS Multi Project Manager. Select <br />

from the pop-up menu, as shown in Figure 2-9<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

120 Freescale Semiconductor, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!