Texas Instruments controlCARD with Piccolo TMS320F28027FPTT, InstaSPIN™-FOC enabled TMDSCNCD28027F TMDSCNCD28027F Datenbogen

Produktcode
TMDSCNCD28027F
Seite von 19
Clock
Prescale
TBPRD
SYSCLKOUT
TBCLK
EPWMxSOCA
/ETPS
ADC
PWM
FREQ
/ISRvsCTRL
ISR
/CTRLvsEST
/CTRLvsCURRENT
/CTRLvsSPEED
/CTRLvsTRAJ
CTRL
EST
CURRENT
SPEED
TRAJ
Software Decimation
Hardware Decimation
Microcontroller Resources
InstaSPIN-FOC provides flexibility throughout its design, including its software execution clock tree.
illustrates the options available to the designer to manage the real-time scheduling of each of the
major software functions. Balancing motor performance with CPU loading is not difficult, shortening
system integration time.
Figure 5. Software Execution Clock Tree Provides Flexibility with Real-Time Scheduling
Executing from a combination of single-cycle memory (RAM and ROM) and also from FLASH, total
execution time for the minimum full implementation of InstaSPIN-FOC depends on the software execution
clock tree.
shows the CPU cycles used when a minimum full implementation of InstaSPIN is done,
as well as users' code is loaded to FLASH. Note the impact of the software execution tree to total
execution time.
shows the CPU loading and available MIPs for other system functions.
Table 2. CPU Cycles for MIN Implementation Executing from ROM, RAM, and FLASH
CPU Cycles
Executed From
Function Name
Min
Average
Max
ROM
RAM
FLASH
DRV_acqAdcInt
17
17
17
×
×
DRV_readAdcData
94
94
94
×
×
13
SPRUHP4 – August 2013
TMS320F28026F, TMS320F28027F InstaSPIN™-FOC Software
Copyright © 2013, Texas Instruments Incorporated