in my project with a Atmel SAME51 I'm trying to get a Period and Pulse-Width (PPW) Capture Action running according data sheet chapter 220.127.116.11.2
The timer TC5 is running with 3MHz clock and a prescaler of DIV64.
For I'm using PB10 as external input for a running PWM (WO) I set COPEN0 = 1 and CAPTEN0=1
I tested all combinations of COPEN1 and CAPTEN1 because in the description the settings are not clear.
CTRLA = 0x00330502
APPL_TC5_EVCTRL = 0x0006 (also tested 0x0005)
The best result I achieved, is that reading CC0 when INTLAG.MC0 ==1 results in values that could to be plausible.
In all tested configurations CC1 remains empty (==0) (although it should contain the counter value for the period oder pulse time)
Does anyone use this measurement too?
Many thanks in advance for your help