what is _NCACHE_REGION??

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

what is _NCACHE_REGION??

1,729 Views
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 Kudos
4 Replies

1,682 Views
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 Kudos

1,714 Views
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 Kudos

1,712 Views
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 Kudos

1,720 Views
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 Kudos