protect Pheripheral with MPU

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

protect Pheripheral with MPU

591 Views
Yellen
Contributor II

Hi,

Can MPU protect registers of Pheripherals? 

If the answer is yes, which MPU slave port does the pheriheral belong?

Snipaste_2023-06-13_17-38-20.png

Tags (2)
0 Kudos
5 Replies

581 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Yellen,

Please read Chapter 16 Peripheral Bridge (AIPS-Lite) of S32K1xx MCU Family - Reference Manual

And you can refer to:
How to use s32k144 aips?
aips_demo_s32k118.zip


Best Regards,
Robin
-------------------------------------------------------------------------------
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

570 Views
Yellen
Contributor II

Hi Robin,

Thanks for your response.

Refer to the Chapter 16, the MPU will not cover peripheral access protection. The pheriherals are protected by AIPS. Right?

But how to understand the MPU register can be protected by MPU as said below?

Snipaste_2023-06-13_17-38-20.png

0 Kudos

541 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

14.1.2 Crossbar Switch slave assignments The following table identifies the slaves connected to the Crossbar Switch and whether the system MPU protects them.
System MPU does not protect access to peripheral registers, including system MPU's own registers. Protection is built into Peripheral Bridge (AIPS-Lite).

System MPU does not protect access to peripheral registers, including system MPU's own registers.jpg

I also can't understand: If the MPU registers are protected by the MPU

0 Kudos

529 Views
Yellen
Contributor II

Suppose the MPU's register address is included in one region descriptor, will MPU report error if illegal access to MPU's register occured?

0 Kudos

448 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I don't think so, but you can test it out.

0 Kudos