Frequency measurement using capture in SAMD21

Trying to use the capture function of SAMD21 in Seeeduino XIAO for frequency measurement in ARDUINO IDE. Tried to create a sketch for the same but could not do so. Any help would be appreciated

Hmmm, Well @ stuff343 I don’t have my “Kreskin” hat on so I don’t see the code, but alphabet man shows this and It looks pretty cool. Frequency measurement on Seeeduino Xiao at 200kHz
be sure you have the PIN assignments correct. my .02
HTH
GL :-p

Thanks for your reply @PJ_Glasso will give it a try