Skip to main content
Nsg1987
Associate III
May 23, 2023
Question

What is the lower frequency signal generated from HR Timer?

  • May 23, 2023
  • 1 reply
  • 905 views

Hello,

I am able to generate PWM frequency of 640 Hz using HR Timer. Now I want to generate the same with 100 Hz. I tried to manage clock prescaler but found no success.

This topic has been closed for replies.

1 reply

ST Employee
May 26, 2023

Hi @Nsg1987​ 

Can you precise STM32 that you're using ?

Regards

Diane

Nsg1987
Nsg1987Author
Associate III
May 29, 2023

Hi @Diane POMABIA​ 

I am using STM32G474VBTx.

Regards,

Nikhil

ST Employee
May 30, 2023

Hi @Nsg1987​ 

You can refer to AN4539 that will give you more detail about HR Timer feature :

https://www.st.com/resource/en/application_note/an4539-hrtim-cookbook-stmicroelectronics.pdf

Regards

DianeP