mcuxpresso and mkv58 full code and interrupt from ITCM/DTCM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mcuxpresso and mkv58 full code and interrupt from ITCM/DTCM

跳至解决方案
1,514 次查看
thieulam
Contributor III

Hello everybody. I wanted to know if there is a document on how to set mcuxpresso options to be able to run my main () code and all interrupts directly from TCM RAM. I don't find any documentation about it, and I didn't understand if you need a particular bootloader or something else. Thanks, see you soon!

标签 (1)
0 项奖励
回复
1 解答
1,507 次查看
thieulam
Contributor III

Ok, I partially solved this topic:
https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUX...

I come from a decennial experience of DSPIC33 (microchip) and at the moment I am studying the cortex M7.
I am really impressed with their performance.
Putting the functions in ram I was able to do several floating point operations (see code) in just 69 clock strokes (systick).

a + = ka;
b- = kb;
c * = kc;
r = a / b + c / a;
arm_sqrt_f32 (a, (float32_t *) & r2);

In practice, working at 240Mhz, these calculations are done in 288nSEC !!

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,508 次查看
thieulam
Contributor III

Ok, I partially solved this topic:
https://community.nxp.com/t5/Kinetis-Design-Studio-Knowledge/Relocating-Code-and-Data-Using-the-MCUX...

I come from a decennial experience of DSPIC33 (microchip) and at the moment I am studying the cortex M7.
I am really impressed with their performance.
Putting the functions in ram I was able to do several floating point operations (see code) in just 69 clock strokes (systick).

a + = ka;
b- = kb;
c * = kc;
r = a / b + c / a;
arm_sqrt_f32 (a, (float32_t *) & r2);

In practice, working at 240Mhz, these calculations are done in 288nSEC !!

0 项奖励
回复