AnsweredAssumed Answered

Problem with GPIO readning and writing ?

Question asked by Karthik Poojary on Nov 12, 2016
Latest reply on Nov 14, 2016 by Mark Butcher

Hi

I am setting few portlines GPIO mux and enabling internal pulldown. I want this GPIO lines to remain low till externally pulled high.But when GPIO lines pulled high externally and try to read the values the process goes to hardset faults.

 

My MCU is k64

 

PORTC->PCR[8] = 0x102;
PORTC->PCR[9] = 0x102;
PORTC->PCR[10] = 0x102;
PORTC->PCR[11] = 0x102;
PORTC->PCR[12] = 0x102;
PORTC->PCR[13] = 0x102;

 

This are the commands I am using to enable internal pulldowns and set it as GPIOs.

Outcomes