How to configure SDRAM arbitration priority between Cortex M4 and CortexM7 in IMXRT1170

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

How to configure SDRAM arbitration priority between Cortex M4 and CortexM7 in IMXRT1170

385 Views
anasnadukkandiyil
Contributor III

We have an LCD GUI on cortex M7 which runs lcdv2_alpha_cm7 example. LCD has frame buffer from SDRAM.

We also have a NONCAHCABLE share memory in SDRAM to share sensor values between cortex M4 and M7.

It is observed that during LCD refresh cortex M4 SDRAM access is blocked and overall cortex M4 is freeze during that time frame.

Because of memory constraints only SDRAM can be used for share memory between cores.

Our requirement is Cortex M4 need to write 1KB of data every 16ms and that access should be given arbitration priority than LCD framebuffer update in cortex M7.

 

 

 

 

0 Kudos
Reply
1 Reply

292 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @anasnadukkandiyil ,

 

Bus Master Control Registers (BMCRn) Configuration can be used for that purpose, but better you put the memory shared between M7 and M4 in the following space:

Kan_Li_0-1695623728683.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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
Reply