Skip to main content
2 votes

Is it normal to get garbage output through UART when resetting the microcontroller?

your call to SM_transmit_buffer(); returns as soon as the final '\n' is in the the transmitter shift register of the UART. (it ...
Jasen  Слава Україні's user avatar
1 vote

Stop Mode 2 (deep sleep) doesn't work with STM32l053R8T6 MCU

It's probably that you did not enable debugging in low power modes. In STM32IDE, it's a simple setting (put enable in Configurations->Debugger->Device Settings->Debug in low power modes For ...
bananeeg's user avatar
1 vote

How to pass a pointer to multiple functions

I don't see anywhere in the code where a pointer is required. Just use a global variable. Global variables (or pointers) can already be accessed inside of functions. You don't need to pass an ...
Drew's user avatar
  • 7,109

Only top scored, non community-wiki answers of a minimum length are eligible