How to configure MKL17z128VFM RESET pin to GPIO pin?

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

How to configure MKL17z128VFM RESET pin to GPIO pin?

726 Views
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 Kudos
3 Replies

720 Views
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 Kudos

718 Views
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 Kudos

698 Views
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 Kudos