This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Edge/Pulse counter in F28M35



Hi!

I would like to know how to implement an edge counter using any of the peripherals from F28M35 (either from M3 core, or C28 core).

My pulse signal has a frequency between 10 Mhz and 20 MHz, and it must be a 17 bits counter, with a prescaler of 8:1 ratio (or a 20 bits counter, with no prescaler). 

I've seen the Input Edge-Count Mode from the M3 General Purpose Timers, but I don't want to set the TnEN by software, each time the current count matches the value in the GPTMnMATCHR register.

Any ideas?


Thanks in advance,


Gabriel