STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F303 setup ADC with all 4 ADCx.

Hello! I have a need to use ADC1, ADC2, ADC3 and ADC4 all at the same time, and preferably DMA on all of them too. I have not coded this yet, but I am mostly wondering if there are any pitfalls or things i should think about when doing this, so they ...

Resolved! Unable to read ADC properly using STM32L073VZI6

Hello,I am using STM32L073VZI6 in a custom board, trying to read ADC values from a potentiometer connected to PA6. The microcontroller and the potentiometer are powered with 3.3 V.The issue is that I get 4095 when the voltage input is less than 2 V. ...

0693W00000WHjfLQAT.png 0693W00000WHjffQAD.png 0693W00000WHjfzQAD.png
JMart.28 by Associate II
  • 3851 Views
  • 7 replies
  • 0 kudos

Resolved! Triggering ADC with Timer1 and Rpetition Counter

Hi There,I am currently working on ADC and Timer. I have 3 channels of ADC and using DMA. I want to trigger ADC at Timer1's update event. Also, I've set Timer's parameters to center aligned pwm, repetition counter to 1(with this I will trigger ADC at...

0693W00000WHsjqQAD.png

Why the number of pulses is less than expected when I am using One Pulse Mode and Repetition Counter (RCR) to generate adjustable PWM pulses with number and frequency?

I need to generate PWM signals with adjustable number and frequency to drive a step motor. I expect the frequency ranges from 50Hz to 200KHz and the pulses count ranges from 1 to 2k. I have tried 3 different ways including: using timer interrupt to c...

0693W00000WIBw5QAH.png 0693W00000WIBwAQAX.png
EMach.3 by Associate II
  • 1512 Views
  • 9 replies
  • 0 kudos