Skip to main content
GenuineDeveloper
Associate III
July 27, 2018
Question

STM32F051R8 works when in debug mode and not in normal power mode

  • July 27, 2018
  • 0 replies
  • 401 views

The device used to work fine even when not in debug mode. However, after some tweaks in the clock configuration, the device all of a sudden stopped working even the simplest of the program like toggling a GPIO pin. The same program works well fine in debug mode. Even the clock configuration has been set right(verified it with calculated timer interrupt) and works fine when in debug mode. However, when the chip is brought out of debug mode the output stops working as intended. What might have gone wrong here?

    This topic has been closed for replies.