MPC5777C Memory Protection Unit (MPU) 2 Cores

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5777C Memory Protection Unit (MPU) 2 Cores

39 Views
MPC_Mike
Contributor I

I'm developing the MPC5777C to run multicore. 2 Cores one using HW I/O(Core1), one without using HW I/O(Core0). I want to use the MPU to protect memory regions. 

Is this possible?

How can this be done?

0 Kudos
2 Replies

26 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

To avoid confusion, I will add that there are two instances of MPU module on MPC5777C to cover all the resources. So, it is necessary to initialize both modules.

lukaszadrapa_0-1614156745474.png

 

 

0 Kudos

28 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

yes, it is possible. Configuration of the MPU is relatively simple and it depends on your requirements. We have this SW example written for MPC5674F:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5674F-MPU-Initialization-CW210/ta-p/1...

MPU on MPC5674F is almost the same as on MPC5777C. Just check the differences in Word 2 of the descriptor because there are different bus masters.

Regards,

Lukas

 

0 Kudos