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?
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().
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.
-------------------------------------------------------------------------------
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
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.
-------------------------------------------------------------------------------