Part Number: TMS320F28379D
Hello,
I have a question regarding the speed of the DSP.
I'm working on the one day workshop with the launchpad of the TMS320F28379D. In the second example (LAB2) a simple delay loop is used.
.def _F28x_usDelay
; .sect "ramfuncs"
.sect ".text"
.global __F28x_usDelay
_F28x_usDelay:
SUB ACC,#1
BF _F28x_usDelay,GEQ ;; Loop if ACC >= 0
LRETR
When the program is executed from the RAM, the delay will be approximately 500ms, this is the expected value.
For execution from the FLASH I have changed the .sect line to ".text" in order to move the program to the FLASH. The linker command file was also changed from RAM to FLASH (2837xD_RAM_lnk_cpu1.cmd --> 2837x_FLASH_lnk_cpu1.cmd)
After this the delay time rises to 5600ms, so it seemes to be that the DSP is more than 11 times slower, when execution from the FLASH is done.
Is this a plausible value?
I have a second question regarding the RAM areas of the DSP. We have M0/M1, LSx RAM, D0/D1 and GSx RAM areas.
What are the differences between these areas? Do they have different access times or functions?
Best regards
Ralf