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

STM32H743 ADC_CHANNEL_VBAT measurement offset

Hi All,I have constant measurement offset in Vbat internal channel from ADC3, ~30mV above the supplied value.Vref calculated by macro:__HAL_ADC_CALC_VREFANALOG_VOLTAGE((uint32_t)(measure->adcDataAverage[measureVref]) , ADC_RESOLUTION_16B);i see offse...

AlexK by Associate
  • 56 Views
  • 0 replies
  • 0 kudos

Resolved! STM32H7 HAL_Delay twice as long

Hello,I'm here on H753, external clock, CPU clock configured to 400MHz. Setup code is generated by CubeMx.If I execute a HAL_Delay() takes twice the time as expected, e.g. 2ms instead 1ms. I checked via GPIO toggle with a scope.The MCO output is corr...

regjoe by Senior
  • 166 Views
  • 5 replies
  • 1 kudos

Resolved! USBX Device MSC in Standalone mode

I'm trying to get USBX Device MSC to work in Standalone mode (without RTOS).  I loosely followed @B.Montanari 's example in https://community.st.com/t5/stm32-mcus/how-to-implement-usbx-in-standalone-mode/ta-p/614435, and also referred to a CubeMX exa...

PRuss by Associate II
  • 2974 Views
  • 6 replies
  • 3 kudos