i.MX RT 1052

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

i.MX RT 1052

1,590 Views
zhangyanming
Contributor I

Lately,I test the i.MX RT 1052 chip,using the cortex-M7 kernel,I put the code in the Out of chip memory ,Program variable in the DTCM,when i test,I enable I-cache and D-cache,the algorithm test time is 14S. when I enable I-cache and disable D-cache,the algorithm test time is 109S,The kernel access to DTCM is not affected by the D-cache,but the test result is non-conformity ,so i want to get the answer,please.thank you.

Tags (1)
0 Kudos
2 Replies

948 Views
Yuri
NXP Employee
NXP Employee

Hello, zhangyanming 

  Looks like some settings are not fully correct in Your system, since DTCM/ITCM is

Tightly Coupled Memories, core can access it directly; cache is not involved.

  Do you use the recent SDK?

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 Kudos

948 Views
nxf46170
NXP Employee
NXP Employee

Hello Zhang Yamming, 

Cold you please clarify more information about your algorithm test? 

Also, please describe what type of memory configuration you are running. By "out of chip memory", are you using Hyperflash, QSPI, etc.? Is this where you are loading the code onto? 

When you refer to the "kernel", what exactly do you mean? 

What methods are you taking to disable D-Cache? If you haven't already, please try to referring to the Application note found at the following link: https://www.nxp.com/docs/en/application-note/AN12042.pdf  

Thank you for choosing NXP. 

Let us know if you have any more questions. 

Manuel, Jacob 

0 Kudos