User Activity

I have the STM32G030K6T.Connecting a magnet to my magnet detector causes HAL_GPIO_EXTI_Rising_Callback and removing the magnet causes HAL_GPIO_EXTI_Falling_Callback. I think I have too much code inside these functions. Inside these functions I'm fadi...
I could wake up the controller from stand-by mode but I realized I needed to use stop mode. What needs to happen for the controller to wake up from stop mode when using a wake up pin? Do you have some code examples preferably using the HAL functions?
I have a STM32G030K6T. Right now I can wake up from standby with either wake up pin falling or rising edge. How can I use both of these edges to wake up the device from stand-by?HAL_PWR_EnableWakeupPin documentation says/** * @brief Enable the WakeUp...
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 in...
I'm a beginner in embedded systems. I'm creating a software where some leds are blinking in the main while loop. I would like to put the MCU into stand-by mode when connecting a certain pin. I want to return to normal execution when this pin is disco...