Skip to main content
dbgarasiya
Senior
December 26, 2019
Question

Timer configuration

  • December 26, 2019
  • 7 replies
  • 1214 views

i want to implement a timer which make a perticular pin to toggle at perticular time duration 

the duration could I set manaully.

This topic has been closed for replies.

7 replies

S.Ma
Principal
December 26, 2019

Search for timer compare output function example on Nucleo board project.

dbgarasiya
Senior
December 26, 2019

Thanks for reply

dbgarasiya
Senior
December 31, 2019

there is only used for blinking purpose only

but I require some other functinality along with that

i want that i configure such a timer which start for perticulr duration and stops automatically , i don't have to do nothing to stop that

after any time during program when i want to start timer i could be able to start again that timer. and from again that it must be stop automatically

oeliks
Associate III
December 31, 2019

One Pulse Mode?​

S.Ma
Principal
December 31, 2019

It really depends what you want to do actually.

Is it one toggle over the countdown duration?

==> Granularity of the programmable event vs the timer running its time

Maybe the RTC can be used if the duration is very long, setting an alarm.

Look in details what you want to do, specify more the details and envision the futur possible needed evolutions to select the right implementation

dbgarasiya
Senior
December 31, 2019

Thanks for reply,

I just want to make timer which should have following configurations

1.timer starts by our command and it stops after some duration automatically itself ,we should not have to send any command to stop it. it should be done by itself automatically

2.Again after some time when we want to start that timer again we have to send command to start and again it stops after same duration automatically.

in short i want to configure a simple timer which start by our command and stops itself automatically but duration we could configure manually

(duration will be same all time, it will configure at once at start of program)

Best Regards

dbgarasiya
Senior
January 3, 2020

any advice ?