AnsweredAssumed Answered

Disable NMI_b pin/interrupt KL04Z?

Question asked by Ricardo Mota on Mar 26, 2015
Latest reply on Dec 22, 2015 by Santiago Gonzalez Fabian

How can I disable NMI Interrupt at startup of μController MKL04Z32VFK4 using CodeWarrior but without Processor Expert? I've seen many threads here in the community regarding my problem and I came to the conclusion that to solve my problem I should disable NMI Interrupt at startup, because I'm using PTB5 as its alternate function of ADC channel through a pull-down network. I've searched the Reference Manual and found that for that I should change the Flash Configurations of the microcontroller that were then loaded at boot to Flash Option Register (FTFA_FOPT). The problem here is the only examples I came across all involves changing this Flash Configurations through PE interface, my question is how can this be accomplished using just plain code and none of Rapid Application Development features.


Thank you in advance for your help.