User Activity

When using HAL_UART_Transmit you normally give a timeout.If Transmission time exceeds Timeout the function exits with HAL_TIMEOUT.There're two issues with this approach:1) Timeout should be retriggerable i.e. if I transmit 20 bytes @ 9600Baud an put ...
In an aplication using STM32L0 I need to enter the STOP mode when I realize the AC mains disappears and the uC must be powered by a battery.So before entering the STOP I obvioulsy deinit all the peripherals used till then and put the pins in analog m...
I have a project (for STM32L0) that use TIM6 to generate an Interrupt every 5ms and everything works perfectly both in release and debug when built wih no optimization.Then I built the same project with -Os(optimize for Size) -ffunction-section -fdat...
Kudos from