AnsweredAssumed Answered

KL02 Port A No Control

Question asked by BRIAN PETTY on Feb 11, 2016
Latest reply on Feb 11, 2016 by Jorge_Gonzalez

I am new the Kinetis world and I am having a head scratching problem.


I cannot seem to gain total control over the Port Control Registers for port A. I was having a problem setting the appropriate mux setting on individual pins then I learned I needed to enable the gate to clock the port which I did and that allowed me to set the mux functions on the pins. However, I also attempted to set the IRQC in the port control register (for some pin in port A) and will not work. Never sets the IRQC value. But the same construct works on any port B pin. I set the IRQC and the interrupt if enable is serviced. I check the SIM regs and both port A and B clocks are enabled. What is causing port A not to work?


I have scanned the documentation several times with nothing pointing me to a smoking gun.


Please help, seems like something simple but I cannot find it!


Many thanks,