NJTRST (PB4) pin for stm32l431
Hello, there
I was not able to use the NJTRST (PB4) pin as a general GPIO input pin. I googled and other people having the same issue using the macro:
__HAL_AFIO_REMAP_SWJ_NONJTRST()
to remap the NJTRST pin. Yet, this macro is not available for the STM32L431 that I am using. I use STM32CubeMX to generate the baseline codes.
My questions are:
- I never used JTAG to debug the stm32 before, and I don't recall ever having trouble configuring this particular pin (NJTRST) to be an GPIO input pin. Have I simply been ignorant until now ?
- If there is indeed a need to remap this NJTRST pin before using it as an GPIO input pin, how do I do that without the macro mentioned above ?
Thanks,
Eric
