STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

G431RB 32 Bit Timer

I am attempting to set up an encoder on STM32G431RB using Tim 2 which is 32bit but it is only counting up to a 16bit value and going negative. I looked at the register through SFR and only the first 16 bits are active, is there another setting I need...

2.jpg 1.jpg

Resolved! STM32G4 dithering + DMAR + 16bit access

There is glitch when accessing timer registers using DMA- Halfword memory to halfword peripheral DMA transfer- DMA target is TIM15->DMAR, configured to write ARR register.- TIM15 dithering enabledUnder these conditions, bits from ARR[3:0] will end up...

ledvinap by Associate
  • 211 Views
  • 6 replies
  • 2 kudos

unable to read 32kHz oscillator signal on ETR pin

Hi all,i'm working with a STM32F469i-discovery board trying to read the  external signal at 32kHz coming from an RTC module. The oscillating signal voltage is a CMOS type. I'm using TIM2_ETR input located on pin PA15 configured as follow. I'm not abl...

santulaz_0-1715841214088.png santulaz_1-1715841237699.png santulaz_2-1715841274580.png
santulaz by Associate
  • 290 Views
  • 11 replies
  • 1 kudos

Resolved! Long Period Timer PWM Setup

Hello,I am attempting to set up a timer PWM output to have a set 600s period with a variable duty cycle based on a potentiometer input using an STM32G030J6 MCU.  I've setup PWM output timers before will little difficulty but this time I'm having a di...

Resolved! STM32F103V8 TIM3 Encoder only counts one direction

Hello,I'm working on a STM32F103V8. The TIM3 should decode the signal of a rotary decoder.When I turn the rotary decoder clockwise the counter of TIM3 goes up.When I turn the rotary decoder anticlockwise the counter of TIM3 goes up.The MX_TIM3_Init i...

DP_42 by Associate
  • 149 Views
  • 3 replies
  • 1 kudos

Timer Compare Output using DMA - STM32F3Discovery

Hello,I am attempting to generate a waveform with a period of 33ms. In-between each period, I need to toggle the timer output 5 times with a varying timescale. My initial thought is to do this using a timer in output compare mode and then update the ...

daded1_1-1715401969734.png daded1_3-1715402159278.png daded1_4-1715402178719.png daded1_5-1715402229843.png
daded.1 by Associate II
  • 187 Views
  • 4 replies
  • 1 kudos
Labels