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! Rotary Encoder Application

I am using STM32F103C8T6 for counting rotary encoder pulse.My Encoder PPR is 5000.But when I program for timer1 as encoder mode and show count on segment it shows 20000 pulse per rotation it is 4 times higher than the actual value. What should I do t...

JPanc.1 by Associate II
  • 1199 Views
  • 3 replies
  • 0 kudos

How to do STEP/DIR interface?

Hello,I need to connect STEP/DIR driver (DRV8825 to STM32F103) for driving one axis stepper motor. I will use buttons for moving and I need to set acceleration and deceleration profile. Do you have some experience what way of pulse generation I shoud...

TIM_OCMODE_ACTIVE output problem ?

I config timer'mode is TIM_OCMODE_ACTIVE  , start enable ,can output waveform,but enable more than one time , only output the first corresponding waveform .why behavier so ?but when I config timer TIM_OCMODE_PWM2( or TIM_OCMODE_PWM1 ),enable and di...

Resolved! TIMx Clock Division Configuration

Hey, I am trying to understand timers, everything goes nice, but I have a question in my mind.I am able to set the prescaler and period values according to my purporse, but I can't use the internal clock division effectively.My TIM2 clock signal is 1...

YAkse by Associate III
  • 6056 Views
  • 8 replies
  • 4 kudos

About Timers triger ADC

How to config Timers when I want to use it to triger ADCs, May I get an example?STM32F103​have already been solved

CWang.4 by Associate
  • 408 Views
  • 0 replies
  • 0 kudos

Resolved! problem with TIM exception stm32f103

So I just started to use stm32f103 MCU that I have but for some reason I code doesn't go into the TIM2_IRQHandler.This is my code:.thumb .syntax unified .equ GPIOB,0x40010C00 .equ RCC ,0x40021000 .equ TIM2 ,0x40000000 .equ NVIC ,...

FEkic by Associate II
  • 2307 Views
  • 8 replies
  • 0 kudos

STM32F730R8 __FPU_USED needed?

Hello all, I'd like to know if I'm making full use of the FPU on an F730 using SW4STM32/Eclipse. In project properties i set floating point hardware to fpV5-sp-d16 and the ABI to hardware. I also define __FPU_PRESENT & ARM_MATH_CM7 and set the libra...

RMcCa by Senior II
  • 1600 Views
  • 6 replies
  • 0 kudos