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.