AnsweredAssumed Answered

K82, limit access to GPIO ports by AIPS0 bridge

Question asked by Eugene Hiihtaja on Aug 16, 2018
Latest reply on Aug 20, 2018 by Victor Jimenez

Hello !

 

Do I understand right and by using AIPS0 peripheral bridge it is possible to limit access to PORTA-PORTAE

registers only ?

 

I can disable access with User privileges to PORTA-PORTE :

 

AIPS0->PACRJ = 0x44444444ul ; // Disable User access to Multiplexor Port A,B,C,D,E 

 

But this settings dosn't have any effect to GPIOA-GPIOE ports.

 

As result, any task with User privileges can manipulate GPIO pins by using 

 

GPIO_PinWrite(GPIOC, 8, 0) for example.

 

Is any way exists for limit access to GPIO ports ?

 

Regards,

Eugene

Outcomes