MPU RGDACC setting on S32K118

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPU RGDACC setting on S32K118

1,286件の閲覧回数
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 件の賞賛
返信
1 返信

1,249件の閲覧回数
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 件の賞賛
返信