How to reuse KL02 reset pin as GPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to reuse KL02 reset pin as GPIO

1,123 Views
eve
Contributor I

How to reuse KL02 reset pin as GPIO?

Labels (1)
0 Kudos
Reply
2 Replies

1,113 Views
nxf56274
NXP Employee
NXP Employee

要禁用reset功能在fopt寄存器里

nxf56274_0-1632644581515.png

fopt在

aa2.PNG

FLASH configuration在代码里位置

nxf56274_1-1632644615204.png

 

 

0 Kudos
Reply

1,115 Views
ErichStyger
Specialist I

In principle, you have to mux the pin as a GPIO pin and disable the reset functionality. Best if you consult the reference manual.

How to do this with Processor Expert or in general, see https://mcuoneclipse.com/2013/02/16/using-the-reset-button-on-the-freedom-board-as-user-button/ (using KL25, but KL02 is very similar).

I hope this helps,

Erich

PS: I recommend to use a 'safety line' and not remuxing the pin right after reset, otherwise you might have difficulties to access the device using a debugger.

0 Kudos
Reply