STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hello everyone, I am trying to code for multichannel ADC in STM32F103RB. I have 9 analog inputs. I am using polling method to get values. The values get shifted when i read the adc values. Please help me find my mistake.

I have configured 9 channels as follows:- channel 5,8,9,10,11,12,13,14,15. Now Sampling time for all channels is ADC_SAMPLETIME_1CYCLE_5. I have attached potentiometer for as input voltage. Now when I change pot of channel 9, it gets reflected in cha...

sne_123 by Associate III
  • 392 Views
  • 1 replies
  • 0 kudos

VDD is unstable. because of VBAT??

Hi there.I'm using a STM32F071 series.I want to use a RTC with power backup.So, I added a super-cap on VBAT.​when I power off and on again, ​VDD becames a saw blade.... what???After I discharged the super-capacitor and power on again, VDD is good.I t...

0690X00000BunOrQAJ.png 0690X00000BunPBQAZ.png 0690X00000BunPVQAZ.png
JPark.11 by Associate II
  • 675 Views
  • 3 replies
  • 0 kudos

ADC measuring internal reference gives strange results for shorter sample times. Is there a way to measure the internal reference with sample times of 1.5?

Setup: 48MHz CPU clock, ADC clock = CPU/4. For various sample times, I get internal reference measurements of: 1.5 - 1925, 7.5 - 1760, 13.5 - 1420, all other sample times give 1550. I thought sample times were to cope with high impedance sources. ...

CVan.18 by Associate II
  • 289 Views
  • 0 replies
  • 0 kudos

STM32L476RG using internal PGAs with ADC in differential mode

Hi,I am using the STM32L4 ADC in differential mode (PC0 and PC1), to capture the dual end output of a tuner which provide a 600 to 800KHz signal. The tuner maximum output is 2.0V PP, and the STM32L4 differential input is rated for 6.6V PP (-3.3V to +...

HBida by Associate III
  • 443 Views
  • 1 replies
  • 0 kudos

how to use extern "C"

hi everyone want to use interrupt in main.c i am using extern "C" for this purpose but its couldn't compile/* USER CODE BEGIN 4 */ extern "C" void TIM2_IRQHandler(void) { // Handle update interrupts (update interrupt flag is set) if (TIM2->SR & TIM_S...

waaizkhan by Associate III
  • 2471 Views
  • 4 replies
  • 0 kudos

in stm32h7, access to battery backup ram inside stm chip sometimes doesnt work. on nucleo board. when clk turned on, battery ram stops working. thanks

battery backup ram works after power on. stops working ( get hard fault ) upon access to variable in battery backup ram. battery backup ram works when developement system dissconnected. sporadicaly stops working when ijet or segger connected to nu...

Ishel.18 by Associate
  • 521 Views
  • 1 replies
  • 0 kudos