MPU RGDACC setting on S32K118

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

MPU RGDACC setting on S32K118

570 Views
anita_tranzillo
Contributor I

Hello, I have a question about MPU setting for S32K118.

I have a problem when settin RGDACC register.

In S32K-RM_rev12_1 manual, register fields are the following:

Now in my program I was trying to set M1PE bit but in the attacched file(S32K118.h) no reference to this bit is present. All the other #define usefull to set the other bits are present.

Any reason for which the following code is not present?

#define MPU_RGD_WORD2_M1PE_MASK                  0x800u
#define MPU_RGD_WORD2_M1PE_SHIFT                 11u
#define MPU_RGD_WORD2_M1PE_WIDTH                 1u
#define MPU_RGD_WORD2_M1PE(x)                    (((uint32_t)(((uint32_t)(x))<<MPU_RGD_WORD2_M1PE_SHIFT))&MPU_RGD_WORD2_M1PE_MASK)

#define MPU_RGDAAC_M1PE_MASK                     0x800u
#define MPU_RGDAAC_M1PE_SHIFT                    11u
#define MPU_RGDAAC_M1PE_WIDTH                    1u
#define MPU_RGDAAC_M1PE(x)                       (((uint32_t)(((uint32_t)(x))<<MPU_RGDAAC_M1PE_SHIFT))&MPU_RGDAAC_M1PE_MASK)

This code is present in S32K14x.h file.

Thanks a lot.

0 Kudos
Reply
1 Reply

533 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

 

At first, thank you for your report. I'm very sorry for the delay, I have reported this to the responsible team a few weeks ago. But I'm waiting for the feedback. 

When I receive any information I will let you know.

 

Best regards,

Diana

0 Kudos
Reply