Missing pulse detection with Timer

wastman86
Posts: 1
Joined: Fri Jan 05, 2018 10:20 pm

Missing pulse detection with Timer

Postby wastman86 » Fri Jan 05, 2018 10:27 pm

Hi!

First time here :-)

I want to realize a pulse missing detector with the ESP 32. I did it before wiht a Atmel.

So i did setup a timer already and when the pulse comes in I usually just set the counter to 0 again. So as long as the pulse comes in in time the counter will always be reset to 0 and the timer interrupt will never come as long as the counter gets set again to 0. By the time a pulse is missing the counter reaches the alarm value and creates an interrupt.

On page 412 of the reference manual it is stated that the 2 counter register are read only ( after writing to the update register ).

So how can i manipulate on the register level the counter to 0?

I am happy and thankful for any help :-)

Have a great day and still all the best for 2018!

Who is online

Users browsing this forum: No registered users and 66 guests