mcuxpresso and mkv58 full code and interrupt from ITCM/DTCM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mcuxpresso and mkv58 full code and interrupt from ITCM/DTCM

Jump to solution
1,531 Views
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!

Labels (1)
0 Kudos
Reply
1 Solution
1,524 Views
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 !!

View solution in original post

0 Kudos
Reply
1 Reply
1,525 Views
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 Kudos
Reply