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) | 0x018C | × |
Library (.ebss) | 0x0800 | × |
Code (.text) | 0x001E | 0x186C |
IQmath (.text) | × | 0x0014 |
Table 9-16 shows the resource utilization when a full implementation of InstaSPIN is done, as well as users' code is loaded to FLASH. The Code section now adds a couple of functions that initialize the FLASH memory, which need to be run from RAM (loaded under ram functions). That is the reason of the new code from RAM, and not all of it from FLASH. There is a memCopy function added to the code when running from FLASH, which increases the code section as well.
Function Name | CPU Cycles | Executed From | ||||
---|---|---|---|---|---|---|
Min | Avg | Max | ROM | RAM | FLASH | |
HAL_acqAdcInt | 25 | 25 | 25 | × | × | ✓ |
HAL_readAdcData | 108 | 108 | 108 | × | × | ✓ |
Ctrl_run | ✓ | × | × | |||
Rs Online Disabled, ISR vs CTRL = 1, CTRL vs EST = 1 | 2345 | 2355 | 2425 | |||
CTRL vs EST = 2 | 1154 | 1760 | 2425 | |||
CTRL vs EST = 3 | 1154 | 1562 | 2425 | |||
ISR vs CTRL = 2, CTRL vs EST = 1 | 58 | 1207 | 2425 | |||
CTRL vs EST = 2 | 58 | 909 | 2425 | |||
CTRL vs EST = 3 | 58 | 810 | 2425 | |||
ISR vs CTRL = 3, CTRL vs EST = 1 | 58 | 824 | 2425 | |||
CTRL vs EST = 2 | 58 | 626 | 2425 | |||
CTRL vs EST = 3 | 58 | 560 | 2425 | |||
Rs Online Enabled, ISR vs CTRL = 1, CTRL vs EST = 1 | 2807 | 2821 | 2894 | |||
CTRL vs EST = 2 | 1154 | 1993 | 2894 | |||
CTRL vs EST = 3 | 1154 | 1717 | 2894 | |||
ISR vs CTRL = 2, CTRL vs EST = 1 | 58 | 1439 | 2894 | |||
CTRL vs EST = 2 | 58 | 1025 | 2894 | |||
CTRL vs EST = 3 | 58 | 887 | 2894 | |||
ISR vs CTRL = 3, CTRL vs EST = 1 | 58 | 979 | 2894 | |||
CTRL vs EST = 2 | 58 | 702 | 2894 | |||
CTRL vs EST = 3 | 58 | 610 | 2894 | |||
HAL_writePwmData | 64 | 64 | 64 | × | × | ✓ |
CTRL_setup | 37 | 51 | 178 | ✓ | × | × |