Skip to main content
Associate III
February 27, 2026
Solved

Can't create dynamic frequency Signal

  • February 27, 2026
  • 5 replies
  • 335 views

I am trying to create a signal that changes its frequency in dynamic way using timers 

but i am having some issues to do it

can anyone give me some tips for easy implementation to do this task

Best answer by Gyessine

Hello @IsmailYangui 

Can you provide more details about your problem, such as the product you are using, the type of timer you want to use (advanced, general-purpose, etc.), and the specific issue you are experiencing?
If you have already attempted this in a project, can you share your .ioc file with us?

However, I have attached a project that uses the NUCLEO-U083RC board to generate a timer signal with a changing frequency during runtime. The signal starts with a 100 ms toggle for one second, then toggles every one second. You can visualize the signal using a logic analyzer, an oscilloscope, or the user LED.Capture d'écran 2026-02-27 153116.png

I hope this helps for now.
We look forward to your feedback.
Gyessine

5 replies

TDK
Super User
February 27, 2026

> I am trying to create a signal that changes its frequency in dynamic way using timers 

Please expand on this. You haven't specified enough detail.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
February 27, 2026

@IsmailYangui wrote:

I am trying to create a signal that changes its frequency in dynamic way using timers 

but i am having some issues to do it


So what, exactly, have you tried?

And what "issues", exactly, are you having?

You haven't even said what you're using!

 

How to write your question to maximize your chances to find a solution

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate III
February 28, 2026

 

I'm using stm32h7A3

my problem that i dont have any generated signal despite code compiling correctly

Andrew Neil
Super User
March 2, 2026

Note that everyone can see all posts - there's no need to repeat the same thing multiple times for multiple people.

You can use '@' to mention multiple people in one post.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
GyessineBest answer
Technical Moderator
February 27, 2026

Hello @IsmailYangui 

Can you provide more details about your problem, such as the product you are using, the type of timer you want to use (advanced, general-purpose, etc.), and the specific issue you are experiencing?
If you have already attempted this in a project, can you share your .ioc file with us?

However, I have attached a project that uses the NUCLEO-U083RC board to generate a timer signal with a changing frequency during runtime. The signal starts with a 100 ms toggle for one second, then toggles every one second. You can visualize the signal using a logic analyzer, an oscilloscope, or the user LED.Capture d'écran 2026-02-27 153116.png

I hope this helps for now.
We look forward to your feedback.
Gyessine

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate III
February 28, 2026

 

I'm using stm32h7A3

my problem that i dont have any generated signal despite code compiling correctly

im gonna review your project and come back with feedback as soon as possible

Associate III
February 28, 2026

 

i'm using stm32h7A3

my problem that i dont have any generated signal despite code compiling correctly

im gonna review your project and come back with feedback as soon as possible

TDK
Super User
March 2, 2026

> my problem that i dont have any generated signal despite code compiling correctly

Code compiling is a very low bar. It does not mean the code works or is functional in any capacity.

"If you feel a post has answered your question, please click ""Accept as Solution""."