STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Wakeup from sleep HAL_TIM_PeriodElapsedCallback interupt on a STM32L031 commenting out HAL_PWR_EnableSleepOnExit (); and HAL_SuspendTick(); the LED flashes

Im trying to reduce power by putting the a STM32l031 to sleep between timer interupts. It goes to sleep but never wakes upvoid HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef * htim) {  if (htim -> Instance == TIM21) {  Strobe++;  if (Strobe==8352){ ...

PGood.1 by Associate II
  • 257 Views
  • 0 replies
  • 0 kudos

Enabling LSE clock on PA8 from HEX code?

I am unable to communicate with the MCU via UART (115200 bit/s). It looks like the program inside MCU is not running. I think the problem can be probably in not running LSE 32.768kHz crystal oscillator.Is it possible to enable LSE clock on PA8 if I h...

DRich.4 by Associate II
  • 1795 Views
  • 12 replies
  • 0 kudos

I2S data gets corrupted

Hi there,I am trying to do some digital signal processing on a STM32G031F6 by interfacing an SPH0645 MEMS microphone via I²S. I'm running into strange issues however, that I haven't been able to solve in the last few days. I am switching to an analog...

NBees.1 by Associate II
  • 2461 Views
  • 18 replies
  • 2 kudos

Resolved! STM32F4 DFP HAL Drivers Compatibility with ARM Compiler 6

Just started to migrate to the ARM compiler 6 and I noticed __weak is incompatible language extension in this version and it needs to be written __attribute__((weak)).In STM32F4 HAL Drivers and almost all of the STM32 MCUs, there are lots of function...

MKari.1 by Associate II
  • 1108 Views
  • 4 replies
  • 0 kudos