SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
Section | Memory Usage (16-bit Words) | |
---|---|---|
RAM | Flash | |
Library Interface (.ebss) | 0x0326 | × |
Library (.ebss) | 0x0200 | × |
Code (.text) | 0x06B6 | 0x2ED7 |
.cinit | × | 0x007A |
Constants (.econst) | × | 0x0080 |
IQmath (.text) | × | 0x00C9 |
Table 9-29 summarizes all of the performance data per function, when users' code is loaded and executed from FLASH, on a minimum implementation of InstaSPIN library. Note that the number of cycles does not change significantly between the different implementations since the FAST estimator block remains in ROM for each of these configurations. This estimator block consumes the most cycles of all the InstaSPIN-FOC blocks. For more details on managing execution time in the ISR, see Section 10.1.
Function Name | CPU Cycles | Executed From | ||||
---|---|---|---|---|---|---|
Min | Avg | Max | ROM | RAM | FLASH | |
HAL_acqAdcInt | 17 | 17 | 17 | × | ✓ | × |
HAL_readAdcData | 94 | 94 | 94 | × | ✓ | × |
Ctrl_run | ✓ | ✓ | ✓ | |||
Rs Online Disabled, ISR vs CTRL = 1, CTRL vs EST = 1 | 2320 | 2331 | 2413 | |||
CTRL vs EST = 2 | 1131 | 1735 | 2413 | |||
CTRL vs EST = 3 | 1131 | 1536 | 2413 | |||
ISR vs CTRL = 2, CTRL vs EST = 1 | 51 | 1191 | 2413 | |||
CTRL vs EST = 2 | 51 | 893 | 2413 | |||
CTRL vs EST = 3 | 51 | 793 | 2413 | |||
ISR vs CTRL = 3, CTRL vs EST = 1 | 51 | 811 | 2413 | |||
CTRL vs EST = 2 | 51 | 612 | 2413 | |||
CTRL vs EST = 3 | 51 | 544 | 2413 | |||
Rs Online Enabled, ISR vs CTRL = 1, CTRL vs EST = 1 | 2766 | 2781 | 2882 | |||
CTRL vs EST = 2 | 1129 | 1969 | 2882 | |||
CTRL vs EST = 3 | 1129 | 1692 | 2882 | |||
ISR vs CTRL = 2, CTRL vs EST = 1 | 51 | 1424 | 2882 | |||
CTRL vs EST = 2 | 51 | 1010 | 2882 | |||
CTRL vs EST = 3 | 51 | 871 | 2882 | |||
ISR vs CTRL = 3, CTRL vs EST = 1 | 51 | 966 | 2882 | |||
CTRL vs EST = 2 | 51 | 689 | 2882 | |||
CTRL vs EST = 3 | 51 | 596 | 2882 | |||
HAL_writePwmData | 110 | 110 | 110 | × | ✓ | × |
CTRL_setup | 26 | 36 | 188 | × | ✓ | ✓ |