Hi steetven,
The PTB4 pin defaults to the NMI_b function.
Driving the NMI signal low forces a non-maskable interrupt, if the NMI function is selected on the corresponding pin.
It is not recommended to use this pin for other functions.
PTB4 NMI_b.png
Non-maskable interrupt.png
If you must use this pin, you need to configure SIM_SOPT[NMIE].
SIM_SOPT[NMIE].png
Best Regards,
Robin
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------