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! HRTIM Burst Controller HELP

Hello everyone,I need to implement the burst controller in HRTIM in order to load 3 compares of the master timer at once.I am using low layer so I do not have a lot of info.My .ioc setting are:Then, in the DMA CH1 interruption I have something like t...

PMoreno_0-1740752846323.png PMoreno_1-1740752880323.png PMoreno_2-1740752892087.png
PMoreno by Associate II
  • 831 Views
  • 2 replies
  • 0 kudos

Change Period/Pulse of HRTIM based SimplePWM

Custom board, STM32H747 device, Simple PWM Using the code generated by MX, and adding a call to HAL_HRTIM_SimplePWMStart, I can generate a nice simple PWM output signal. If I change the initial values for period/pulse, rebuild, and program to the dev...

C-Coder by Associate III
  • 421 Views
  • 1 replies
  • 0 kudos

Encoder mode

Hello everyone, I am currently working on encoder mode with an STM32C031. I am using a DC motor with an incremental encoder and a gear reducer. My goal is to measure both the velocity and position of the motor. I have configured Timer1 with a frequen...

aba12_0-1742324330403.png aba12_1-1742324352790.png
aba12 by Associate
  • 658 Views
  • 3 replies
  • 0 kudos

Resolved! PWM Duty cycle control with __HAL_TIM_SET_COMPARE

I am working on a project that I aim to control a boost converter using a stm32 f407 disc kit. I want to control pwm duty cycle with two different integers which are x and y. I want my duty cycle equal to (1-(x/y)) how can I do it

EmirUysal by Associate II
  • 1007 Views
  • 4 replies
  • 0 kudos

STM32H7 DMA stops after first transfer

I tested this example from the STM32CubeH7 repository and it works fine.When I try the DMA1 instead of the BDMA, the DMA stops after the first transfer.I made only the following changes to use the DMA1 __HAL_RCC_DMA1_CLK_ENABLE(); // Enable the cloc...

JKuen.2 by Associate II
  • 1886 Views
  • 8 replies
  • 0 kudos

Resolved! Problem with connecting STM32H755ZI-Q

I am new to using stm32 MCUs and I was following a youtube tutorial on how to set up a debugger for dual core MCUs. Before changing some settings I was able to start the debugger without any errors. Now when I try to run the debugger I get this error...

david027 by Associate II
  • 1039 Views
  • 8 replies
  • 3 kudos