2024-11-17 09:28 PM
Hello STM Community,
I am working with the STM8S001J3 microcontroller and facing an issue with configuring the SWIM pin (PD1) as a GPIO for LED control.
Here is the problem:
Is there a proper way to configure the SWIM pin as GPIO and still retain the ability to program the MCU afterward?
If before the I/O configure disable SWIM mode then I configure SWIM pin as I/O (GPIO) pin and after power reset swim mode enable or disable ?
Thank you in advance.
2024-11-25 07:12 AM
Take a look:
https://community.st.com/t5/stm8-mcus/stm8s001j3-swim-pin-setting/m-p/335131/highlight/true#M3236
Hope it can help you.