Skip to main content
varo1111
Associate
May 20, 2020
Question

Problems with timers and LEDS in NUCLEO G031K8

  • May 20, 2020
  • 1 reply
  • 975 views

I'm having a problem where I'm controlling 9 LEDs with timers. Whenever I enter stand-by mode, the LEDs turn on/stay on. I want them to turn off. I can shut them down before stand-by mode but as I enter, they turn on. I've tried switching timers into GPIO outputs during runtime and turning LEDs off. That also worked but during stand-by they also turned on. How can i turn them off during stand-by?

Here are some of my timer settings:

0693W000001cZusQAE.png0693W000001cZunQAE.png

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
May 20, 2020

How do you have connected the LEDs?

How do you have set PWR_PUCRx/PDCRx?

JW