STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 623 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
  • 2043 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
  • 2657 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
  • 320 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
  • 835 Views
  • 4 replies
  • 0 kudos

Resolved! Facing linking error Error[Lp015]: section placement failure: overcommitted content in [0x2000'0020-0x2000'0028] while running x-cube-classb-v2-3-0 with IAR 8.40.1

Hi Sir/Madam,I'm trying to compile x-cube-classb-v2-3-0 STM32G081B_Eval project in IAR 8.40.1 but it giving below linker error.Error[Lp015]: section placement failure: overcommitted content in [0x2000'0020-0x2000'0028] It is compiling fine with IAR 8...

Anitha by Associate III
  • 5621 Views
  • 5 replies
  • 0 kudos