AnsweredAssumed Answered

GPIO Attribute Checker Register

Question asked by jun yamada on Jul 4, 2019
Latest reply on Jul 5, 2019 by Jing Pan

Hello
Use the MKM33Z128ACLL5.

Please tell me about 42.2.4 GPIO Attribute Checker Register (GPIOx_GACR) in the KM series reference manual.

This seems to be a feature that restricts port access.
I think that it is a function to limit not to be rewritten carelessly.
So I do not understand this 3-bit explanation well.

 

Attribute Check Byte
This 3 bit field defines the attributes required to access the corresponding GPIO port's programming model.
000 User nonsecure: Read + Write; User Secure: Read + Write; Privileged Secure: Read + Write
001 User nonsecure: Read; User Secure: Read + Write; Privileged Secure: Read + Write
010 User nonsecure: None; User Secure: Read + Write; Privileged Secure: Read + Write
011 User nonsecure: Read; User Secure: Read; Privileged Secure: Read + Write
100 User nonsecure: None; User Secure: Read; Privileged Secure: Read + Write
101 User nonsecure: None; User Secure: None; Privileged Secure: Read + Write
110 User nonsecure: None; User Secure: None; Privileged Secure: Read
111 User nonsecure: None; User Secure: None; Privileged Secure: None

 

User nonsecure, User Secure and Privileged Secure do not know the relationship with specific operations.
(Is there no privilege for KM33 in the first place?)
For example, please tell us what happens if you set 111.
Or please tell us the location of the explanatory document.

 

Thank you.

 

jun

Outcomes