STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32f302 Operational amplifier 2 reference voltage

Hello Community, I am currently working with a stm32f302rc microcontroller, I need to configure my ADC2 to measure the reference voltage of operating amplifier 2 (Vrefopamp2) (it is internally connected to channel 17 of the ADC).I need this to check ...


STM32MP157F-DK2 Dual ADC with DMA

Dear all,I'm currently using the STM32MP157F-DK2 series, and I'm trying to use the ADC1 and ADC2 in dual regular simultaneous mode triggered by TIM2 out event. Also, I used one DMA stream (DMA2_stream0) to read the ADC values of the Common Data Regis...

jutoroa by Associate II
  • 0 replies
  • 0 kudos

Modifying linker to keep all ram after soft reset

Hi, everyone. I am using stm32l496 and I my application requires me to keep all data in ram after reset. Now i followed these instructions in this link. it works, like I expected but the thing is I wa...

HZaib.1 by Associate II
  • 7 replies
  • 3 kudos

Resolved! ADC error

I have connected 100k NTC  with 100K PU resistance. ADC is measuring voltage on NTC is 1580 mV. While multimeter shows 1410 mV. 1410mV is correct number as it gives 32 degC  temperature.I am using ADC in polling mode. I added HAL_ADCEx_Calibration_St...

Nico3 by Associate III
  • 5 replies
  • 6 kudos


I am using hrtim to trigger the adc, but if the regular channel is not triggered with hrtim, it doesn't go into the interrupt of the ADC properly, I checked a lot of information and didn't find a solution, here is my code and cubemx configuration: N...

iskan_0-1695092649603.png iskan_1-1695092655031.png iskan_2-1695092661369.png
iskan by Associate II
  • 0 replies
  • 0 kudos

Resolved! ADC Calibration doesn't complete on STM32G0C1RE.

Using HAL_ADCEx_Calibration_Start() to calibrate the ADC. This function always returns HAL_ERROR.Debugging shows its failing after it collects the 8 samples and attempting to disable the ADC is timing out.  (ie.  if ((HAL_GetTick() - tickstart) > ADC...

BrianB by Associate
  • 5 replies
  • 0 kudos