GPIO Attribute Checker Register

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

GPIO Attribute Checker Register

Jump to solution
980 Views
jun1
Contributor V

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

0 Kudos
Reply
1 Solution
910 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

KM33 has 2 master, M0 core and DMA. Please see the RM page 68, Figure 3-7

pastedImage_1.png

The MCM_MATCR0 register control these two masters' attribute(RM page 232).

pastedImage_2.png

If you set GPIOx_GACR to 111, then none of these two masters can access this port.

Regards,

Jing

View solution in original post

0 Kudos
Reply
1 Reply
911 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi jun,

KM33 has 2 master, M0 core and DMA. Please see the RM page 68, Figure 3-7

pastedImage_1.png

The MCM_MATCR0 register control these two masters' attribute(RM page 232).

pastedImage_2.png

If you set GPIOx_GACR to 111, then none of these two masters can access this port.

Regards,

Jing

0 Kudos
Reply