STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32G474RE internal bootloader - cannot read Unique Device ID, Flash size and package reigsters with Read Memory command

Hi everybody,in my current project I use G474RE MCU and I wanted to use internal bootloader with the same tools which I've used with some previous projects and F401 MCU.I jump to internal bootloader with following code (ported from some official refe...

Adam1 by Associate II
  • 2152 Views
  • 6 replies
  • 0 kudos

Hi, I was developing a USB-based datalogger with STM32L052K8 with the log in PDF format. Kindly let me know if we can accomplish the same with this STM32L052K8 MCU. Is there any pdf generating libraries for this?

The product is a temperature logger for use in the shipping industry. The controller will wake up in definite intervals and record the temperature reading and saves it in the memory. We need to store the data in PDF format for the end-user to downloa...

GU.1 by Associate II
  • 328 Views
  • 0 replies
  • 1 kudos

RTC stops during standby mode.

Hi, I'm using STM32L452, and i need to get the time and date from RTC. The RTC works fine, but when i enter in standby and check the time after wake up (via RTC), the RTC only incrment durring the waked time, and doesn't count the time durring standb...

JStraw by Associate II
  • 2023 Views
  • 9 replies
  • 0 kudos

Resolved! [BUG] STM32 HAL drivers are not interrupt-safe

In function HAL_DMA_IRQHandler() the lines 872, 914, 949 modify the hdma->State variable after __HAL_UNLOCK(hdma) has been called.STM32 HAL is full of bugs, especially race condition related ones, but this one seems to be more urgent, because multipl...

Piranha by Chief II
  • 879 Views
  • 2 replies
  • 1 kudos

Resolved! STM32F767 watchdog example

I wonder if someone can provide me with an example how to use the watchdog in a STM32F767.I have tried the following code but it don't get a reset!static WWDG_HandleTypeDef hwwdg;static bool wwdg_inited = false;static void EnableWDG (void){ if ( ! ww...

EGonc.2 by Associate II
  • 2740 Views
  • 6 replies
  • 0 kudos

I2S audio crackly noise on STM32L05x

Hello everyone!I am struggling with playback via I2S to external DAC on STM32L051/53. Audio:file in external SPI flash,WAV format16KHz sampling rate16bit depthI run the core on internal oscillator. My 'real' I2S clock (WS frequency) is 15,957kHz, whi...

MBank.1 by Associate II
  • 3516 Views
  • 8 replies
  • 0 kudos