STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32H7 set duty cycle of HRTIM1

Posted on September 23, 2017 at 12:32Hello, I am trying STM32H7 HRTIM1, i could set duty cycle and period when i first initialize timer, but after that, i can't change duty cycle. usually, i write direly to compare register, but now it has no effect...

Problems with HRTIM on STM32F334

Posted on June 20, 2017 at 10:34I write since I have a problem using HRTIM with the Nucleo F334R8 development board.The firmware is developed using System Workbench for STM32, using the STM32 HAL libraries (and code Snippet for HRTIM). The MCU clock...

How to use HAL_HRTIM_CounterResetCallback

Posted on June 09, 2017 at 03:28Thank you for your patronage. I'm Japanese. I want to use Interrupt Service Routine(ISR) as shown in the picture below. So I want to use HAL_HRTIM_CounterResetCallback.I wrote the program as shown below, but HAL_HRTIM...

How to use HAL_HRTIM_IRQHandler

Posted on June 07, 2017 at 22:54Thank you for your patronage. I'm Japanese. I want to use Interrupt Service Routine(ISR) as shown in the picture below. So I want to use HAL_HRTIM_IRQHandler.I wrote the program as shown below, but I got an error. #hr...

Resolved! HRTIM does not work.

Posted on April 18, 2017 at 05:08Thank you for your patronage.  HRTIM does not work. I set up config as shown below.And, I wrote a program as shown below.But HRTIM does not work. #hrtim

STM32F334 HRTIM output pin synchronization

Posted on January 13, 2017 at 21:53I would like to generate 7MHz output signal with 50% period on/off with complementary output on TA1 and TA2. I have set as follows: TA1: output polarity HIGH, set at timer period event, reset at timer compare unit...

licencje1 by Associate II
  • 10 replies
  • 0 kudos


Posted on January 04, 2017 at 12:36Hi, I am trying to use the burst DMA mode to update the HRTIM compare unit registers on a STM32F334 with the STM32 CUBEMX. I am using this function to trigger the DMA update if I want to update the compare register...

STM32F3 / HRTIM1 with Fault Interrupt

Posted on October 26, 2016 at 10:05Hello, I'm using the HRTIM1 to control a flyback converter.The FAULT5 input is used to stop the converter in case of an error. Now I want to use an interrupt service routine to react to the fault immediately. Ther...

Florian1 by Associate II
  • 2 replies
  • 0 kudos

Can't update HRTIM Compare Reg using HAL when running

Posted on October 18, 2016 at 05:46Hi, I'm trying to use the HRTIM for a high resolution simple PWM signal, using HAL.  If I set the pulse length in the HRTIM initialise routine, then call SimplePWMStart() then I get the correct PWM output.  Howeve...

sasha by Associate III
  • 3 replies
  • 0 kudos