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

Resolved! HAL_ADC_ConvCpltCallback only gets called once

I'm setting up the ADC in "manual continuous" mode where hadc1.Init.ContinuousConvMode = DISABLE and then I call HAL_ADC_Start_IT() inside of HAL_ADC_ConvCpltCallback().  I get the first call to HAL_ADC_ConvCpltCallback and calling HAL_ADC_Start_IT()...

HAL I2C abort DMA on I2C error

On an STM32G4, if an I2C error occurs (e.g. a bus error) during a DMA driven I2C transaction, is the intention that the HAL I2C driver abort the DMA transfer?Starting at line 6599 in stm32g4xx_hal_i2c.c (v1.2.5), I see code in the I2C_ITError functio...

mjones37 by Associate
  • 471 Views
  • 3 replies
  • 0 kudos

Help with simple gamepad USB HID

Hello, for my first project with a microcontroller I'm doing a 16 button gamepad USB HID with the aid of ChatGPT. I have no idea of what I'm doing really. I'm Using a STM32f103C8T6 and  STLink V2. I made a polling version that constantly read pins an...

Masfeo by Associate II
  • 684 Views
  • 6 replies
  • 0 kudos

Resolved! FREERTOS: Binary-Semaphore initial state bug

Hello Experts,i am facing a similar issue on the STM32F407G discovery board. Is there any solution or a temporary fix for this iisue?https://community.st.com/t5/stm32cubemx-mcus/re-freertos-semaphore-not-initialised-correctly-by-cubemx/td-p/780252 Ch...

ak52_1-1747402483298.png ak52_2-1747402578968.png ak52_4-1747403494153.png ak52_3-1747403159242.png
ak52 by Associate III
  • 911 Views
  • 4 replies
  • 1 kudos