How to configure MKL17z128VFM RESET pin to GPIO pin?

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

How to configure MKL17z128VFM RESET pin to GPIO pin?

1,558件の閲覧回数
seongjinjeong
Contributor I

I'm using MKL17z128VFM with MCUXpresso 10.3.

I would like to use it by setting the reset pin as the IO pin.
How can I do it?

0 件の賞賛
返信
3 返答(返信)

1,552件の閲覧回数
nxf58904
NXP Employee
NXP Employee

Hi,

You have to set 0 to reset pin enable .And then configure this pin as GPIO.

SIM->SOPT = SIM->SOPT & (~SIM_SOPT_RSTPE_MASK),put this function in front of main().

555555555555555555551345.png

111111111111111111111111111111.png

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

1,550件の閲覧回数
myke_predko
Senior Contributor III

Question for @nxf58904 ,

Is it possible to use the Reset Pin as PTA5/KBIO_P5/IRQ/TCLK0 but still have the pin available for device programming?  

If so, what are the guidelines for wiring the pin (ie only as an input (DI or IRQ))?  

I'm always IO limited, so I'm looking to see how to use every pin possible.  

myke

0 件の賞賛
返信

1,530件の閲覧回数
nxf58904
NXP Employee
NXP Employee

Hi,Because it will be reset_b after  reset, we configure it as gpio for using. So,if we want  to  use  it as tclk0,we have to configure it as tclk before we use it .

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

0 件の賞賛
返信