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

Resolved! Why doesn't my input compare react to input signals?

Good evening everyone,At the moment I am trying to configure an inpute compare pin. Eventually we are going to calculate the frequency of the input signal etc etc, but for now we need to get the pin working.GPIOA->MODER = (GPIOA->MODER & ~GPIO_MODER_...

Emper by Associate II
  • 825 Views
  • 3 replies
  • 0 kudos

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
  • 553 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
  • 848 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
  • 443 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
  • 570 Views
  • 1 replies
  • 0 kudos