STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem with timer interrupt STM32F427Vit6 (TIM14)

Hi everyone!In my program I have an input which is turning on and off. If the input is not turn on in 3 second I need to detect this. I'm using Timer14 with interrupt. If the input is turn on, the timer is stopped, reseted and start counting from th...

DIvan.1 by Associate III
  • 8 replies
  • 0 kudos

STM32H7 Timer Triggered SPI Transfer no interrupts

I am trying to create a repeating trigger to start an SPI transfer to read 12 x 16 bit values from an external ADC.I have configured the SPI with a Rx DMA to receive the data and have created a timer to trigger a second DMA to write to the SPI->CR1 r...

NBrick67 by Associate II
  • 1 replies
  • 0 kudos

Resolved! How to adjust Compare Value in HRTIM Basic PWM

Hello,currently I am using the NUCLEO-G474RE and the goal is to output a PWM signal simulating a sinewave. Therefore the duty cycle must continuously be adjusted.My issue is that I seemingly cannot do so.The Timer is configured as Timer D, TD1 output...

Matt1234 by Associate II
  • 3 replies
  • 0 kudos

Resolved! Is there a possibility to read the HRTIM timer value ?

Hello,I'm planning to use the STM32G474 to read a pulse width. This width is a delay value in nanoseconds.I'm wondering if there is any possibility to use the High resolution timer (HRTIM) for that operation.I would use the events to trigger a rising...

Sidius by Associate II
  • 9 replies
  • 3 kudos

Resolved! STM32F103 input timer interrupts...

I have a test project that sets up TIM3.3 to count microseconds between falling edges of the timer input.  The timer is started with a call to HAL_TIM_IC_Start_IT(&htim3, TIM_CHANNEL_3); to start timing the input.  Inside HAL_TIM_IC_CaptureCallback(*...

DBudd.1 by Associate II
  • 5 replies
  • 1 kudos

Resolved! How to settings HRTIM and TIM1 is synchronized

Hi.I use the STM32G474.To start TIM1 synchronized with HRTIM, I will use "hrtim_out_sync".I have a question.If I use "hrtim_out_sync", Can I start TIM1 at same time and reset ?I want to set a same frequency for HRTIM and TIM1 and start simultaneously...

smiya.2 by Associate II
  • 2 replies
  • 0 kudos