cancel
Showing results for 
Search instead for 
Did you mean: 

config MPU

OAgui.1
Associate II

Hi,

I have started working with MPU and I can see from the examples the potential of this caracteristic.

I am developing a safety app in which there are two parts in the program: Safety and no-safety application. Meanwhile the part of the ADC is safety, communication are non-safety.

I was wondering if I can define the region in the flash of the ADC: ADC.c and ADC.h protected using the caracteristics of the MPU. And define the region dedicated to communications by uart as non-critical.

How can I know which part of the code is going to be allocated in which address in order to define this region of the flash protected by MPU. In my case the part of the signal acquisition.

Thanks in advance.

1 REPLY 1
Amel NASRI
ST Employee

Hi @OAgui.1​ ,

If you still need to understand more about MPU and how to configure it, please refer to the article How to configure the MPU of an STM32 using STM32CubeMX.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.