2020-12-20 09:25 PM
Hi community,
I'm using STM32F303RE, in that I'm using PA15 as a GPIO which is connected to a Relay, but I recently found out that the PA15 is a JTDI pin which is being pulled up internally, so whenever the STM32 resets, it gets high and after GPIO_init is executed it goes lows. It's causing relay trigger.
Kindly help!
Regards
Akshit Singhal
2020-12-21 05:16 AM
You can't change the behavior of PA15 on reset. Use a different pin with an external pulldown.