I am working with the arduino nano every (Atmega4809) and looking for a way to count input pulses using one of the TCB timers. Pulse frequency may be up to 500kHz.
By reading the datasheet I think I saw allusions that this is indeed possible but cannot find the way in the concerned configuration registers .
In particular, in Table 21-4. Event Users and Available Event Actions in TCB page 241, there would be 2 types of USER:
- CAPT for 6 TCB timer working modes.
- COUNT where it is said that an event can be used as the source of the clock.
In the text: COUNT: Event as clock source in combination with a count mode.
But, when I refer to paragraph 126.96.36.199 Event Users of chapter EVSYS - Event System (p.126) we are only talking about 6 users of the CAPT type, no more allusion to the COUNT type.
A little clarifying help would be welcome.
Link for datasheet: