I'm reading the datasheet of xmega au to understand how to use the frequency capture to measure 4 signals.
They might go down to 0 Hz, but I'm fine to measure them only when the frequency rise a bit.
What I don't understand from the ds:
- "any events from the event system can trigger a capture operation", but looking at the ChnMUX register all pins of a port share the same event. Hence, to have 4 independent events I need to wire each channel to a different port. Is it correct?
- "since all capture channels use the same counter (CNT), only one capture channel must be enabled at a time." - in the same way I need to use 4 different Timers 0/1, right?
- I need to set the timer in normal mode, selecting prescaler and period according to the frequency range I'm interested to capture. Then set the FRQ group in EVACT, the event channel in EVSEL, finally I can read the measured value in the CCx registers. Am I correct?