Hi,
I just want to run some CMSIS DSP routines in TCM RAM (ITCM/DTCM) on my iMX RT1064, so that they run at the fastest speed. However, It is not necessary that initialization functions run at full speed and they could run from Flash.
Example:
arm_fir_init_f32 function running from Flash
arm_fir_f32 function running from ITCM
What is the best way to do it?
and what about data buffers and coefficients, etc.? Should they be placed in DTCM?
Thanks!
Hi @etronic_arg ,
If you want to put the arm_fir_f32 function to the internal RAM.
You can define that arm_fir_f32 function API to the internal RAM address.
In the linker file, give a range for the customer area, then you can define that API to your customer area, you can put it to ITCM or DTCM, the same.
To the data buffer, if you want to make it fast, you also can put to the DTCM.
This is the mcuxpresso IDE method for your reference:
Wish it helps you!
Best Regards,
Kerry