cancel
Showing results for 
Search instead for 
Did you mean: 

Timer configuration

dbgarasiya
Senior II

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

the duration could I set manaully.

7 REPLIES 7
S.Ma
Principal

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

dbgarasiya
Senior II

Thanks for reply

dbgarasiya
Senior II

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
Senior

One Pulse Mode?​

S.Ma
Principal

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 II

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 II

any advice ?