Resetting a Counter/Timer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ThBa_282891
Level 3
Level 3
First like received First like given

I do have a very easy task that is driving me CRAZY!!!

   

I want a pin that is high for a certain time, every time it got triggered by software.

   

My approach:

   

Take a counter, set a period, make it one-shot, connect TC to the Pin and reset it every time I want to trigger.

   

The component takes "one-shot" very serious and is only performing the operation once and I am not able to reset it. I tried different API-Calls but none of them worked... How to prepare the Counter for the next shot?

   

Its a quiet complex overall design, so I do not have the resources to introduce control-registers and stuff around the module, also it should be possible to trigger the next shot with a single call as the application is timing critical....

   

 

   

Regards,
Thomas

0 Likes
4 Replies