How to reuse KL02 reset pin as GPIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to reuse KL02 reset pin as GPIO

941件の閲覧回数
eve
Contributor I

How to reuse KL02 reset pin as GPIO?

ラベル(1)
0 件の賞賛
2 返答(返信)

931件の閲覧回数
nxf56274
NXP Employee
NXP Employee

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

nxf56274_0-1632644581515.png

fopt在

aa2.PNG

FLASH configuration在代码里位置

nxf56274_1-1632644615204.png

 

 

0 件の賞賛

933件の閲覧回数
ErichStyger
Senior Contributor V

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 件の賞賛