How to configure MKL17z128VFM RESET pin to GPIO pin?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to configure MKL17z128VFM RESET pin to GPIO pin?

1,478 次查看
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,472 次查看
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,470 次查看
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,450 次查看
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 项奖励
回复