Hi Pratik,
Please refer the answer in "Disabling NMI using the FOPT register (on KL17)."
And then select PORTB_PCR18[MUX]=001 Alternative 1 (GPIO).
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------