STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F103 and Encoder Mode

Dear communityI develop a 'robot" with odometrie.Each geared DC motor have a rotary magnetic encoder for speed regulation.My question is about avoid count overload.I use a timer for read encoder count. Each interrupt, i print the value.My aim is avoi...

Capture.PNG
jlecl.1 by Associate III
  • 115 Views
  • 1 replies
  • 0 kudos

Resolved! L431 debug stops after enabling timer update interrupt

Hi all, I have encountered a problem where the debug would stop working as soon as the program hits the line where TIM15's update interrupt is enabled. From there the program appears to be still running but would not stop at any breakpoints and live ...

ZJing by Associate III
  • 266 Views
  • 8 replies
  • 1 kudos

trigger DMA with ADC1 and ADC2 using different timer

Hi, I want to have 2 ADC interrupts with DMA. ADC1 is triggered using TIM1 at 4kHz, while ADC2 is triggered using TIM4 at 74kHz. Two different timers are used for different ADC to have different sampling time. The ADC2 is set as Medium priority while...

VidhiPa by Associate II
  • 797 Views
  • 10 replies
  • 0 kudos

Cant access RTC coming out of standby mode

Hi  I am programming a STM32L433 and have the processor wakeup from Standby mode. The first thing it does after wakeup is check the cause of the wakeup, and if RTC increase the time, do a few readings and go back into Standby mode. When I am running ...

SSmit.13 by Associate III
  • 162 Views
  • 2 replies
  • 0 kudos

Disabling the interrupt

I have enabled two interrupts. First one is EXTI  for GPIOA0 Pin and another is UART3 for RXCALLBACK.I want to disable EXTI interrupt when UART interrupt is triggered and enable again EXTI interrupt once the task is completed.I used __disable_irq(5) ...

Nico3 by Associate III
  • 476 Views
  • 8 replies
  • 4 kudos