i.mx RT1160 increase NCACHE memory region

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

i.mx RT1160 increase NCACHE memory region

Jump to solution
747 Views
Cococarbine
Contributor II

Hello,

I have an 1160 evk, with what I assume has two 256Mb Ram chips.  I am running the camera yuv sdk demo, and I wanted to increase the NCACHE region to get a larger image buffer (8 3Mb frames).  I tried increasing the size from 0x10000000 to 0x20000000 (16Mb to 32), but the program crashes.  Is there anything else I need to do to increase the memory availability?

Thanks,
Ed

0 Kudos
1 Solution
738 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 anything else I need to do to increase the memory availability?
-- As we know, the the MIMXRT1160-EVK board has two W9825G6KH, it means that the total size of the on-board SDRAM is 64 MB.
In the below figure, it consist of two parts: BOARD_SDRAM and NCACHE_REGION, when you increase the size of NCACHE_REGION to 32 MB from 16 MB, BOARD_SDRAM needs to decrease the same size.

jeremyzhou_0-1632814883006.png

Hope it helps.
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.
-------------------------------------------------------------------------------

 

View solution in original post

0 Kudos
1 Reply
739 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 anything else I need to do to increase the memory availability?
-- As we know, the the MIMXRT1160-EVK board has two W9825G6KH, it means that the total size of the on-board SDRAM is 64 MB.
In the below figure, it consist of two parts: BOARD_SDRAM and NCACHE_REGION, when you increase the size of NCACHE_REGION to 32 MB from 16 MB, BOARD_SDRAM needs to decrease the same size.

jeremyzhou_0-1632814883006.png

Hope it helps.
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