what is _NCACHE_REGION??

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

what is _NCACHE_REGION??

2,417 次查看
e_v_spronsen
Contributor III

Is there any documentation about the use of_NCACHE_REGION?

what is does and how to use it?

Thanks!

0 项奖励
回复
4 回复数

2,370 次查看
crist_xu
NXP Employee
NXP Employee

Hi, 

    You  can place those var that do need to do the cache maintenance, that means, this region is non-cacheable area.  and you can declare a var like this:

    AT_NONCACHEABLE_SECTION_ALIGN(static uint32_t s_frameBuffer[2][APP_IMG_HEIGHT][APP_IMG_WIDTH], FRAME_BUFFER_ALIGN);

Regards,

    Crist

0 项奖励
回复

2,402 次查看
e_v_spronsen
Contributor III

Thanks. Do I understand correctly I only need it, if MCU is not in full control of that memory region.

If I don't need it, can I safely remove it from the code?

 

0 项奖励
回复

2,400 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) If I don't need it, can I safely remove it from the code?
-- Yes, you're right.
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

2,408 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1)Is there any documentation about the use of_NCACHE_REGION?
what is does and how to use it?
-- To provide the fastest possible support, I'd highly recommend you refer to the application note.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复