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

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
  • 2243 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
  • 975 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
  • 2989 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
  • 3942 Views
  • 8 replies
  • 0 kudos

USBH_BulkReceiveData not working

Hello everybody,I am currently trying to implement a RTL2832 on STM32, the initialisation process works just fine (USBH_CtlReq). But during the USBH_RTLSDR_Process, my program first uses a USBH_BulkReceiveData and loops on USBH_LL_GetURBState. the st...

ABouk.1 by Associate III
  • 498 Views
  • 0 replies
  • 0 kudos

Fail to find serial connected ST microcontroller device (integrating a STM32L475VET6) via windows api functions (SetupDiGetClassDevs, SetupDiEnumDeviceInterfaces) on some windows 7/8/10 systems

Hello,I maintain the firmware und update software of a device that integrates a ST microcontroller (STM32L475VET6). The update software is implemented in javascript and c++. In windows 7/8/10 the update software sometimes fails to find the device uti...

AGroe.1 by Associate II
  • 1353 Views
  • 4 replies
  • 0 kudos