Relocating specific function in RAM Location

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

Relocating specific function in RAM Location

755 次查看
gauravmore
Contributor III

Hi,

I am using MKE04Z128VLH4 controller in one of my project. I am using this controller for parallel communication with other controller using GPIO lines. But the timming whihc is comming is not as exepected. Then ii put the complete application in SRAM in MCUXpresso and checked for the performance.

I found the improvement by putting the code in SRAM and using FGPIO. But since the code sie is small it was possible. But not only the critical function is required to put in SRAM. I want to put that specific function in SRAM location

I am not able create the section so that I can locate that function in the SRAM location.

Please let me know how to relocate the function in SRAM in MCUXpresso. I am using MCU Xpresso V10.3.1_2233.

Since the space in RAM is only 16 KB so I want to put the specific function on the RAM location.

Also let me know whether using this approach will there be ant improvement in the timming and function execution?

Thanks 

Gaurav More

标记 (2)
0 项奖励
1 回复

662 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear Gaurav,

Check the following post:

Relocating Code and Data Using the MCUXpresso IDE 

For this MCU, I will suggest to check how the drivers are constructed and use baremetal code as much as possible. 

Best Regards,

Alexis Andalon

0 项奖励