Posted: Thu May 16, 2019 1:04 pm Post subject: XMEGA 32bit frequency capture
Hey friends,
I want to build a frequency-meter. I have a triggerwheel with 20 teeth on it and this can have a rotating speed of 4000RPM.
I see now I can put 2 timers at xmega together to one 32bit timer.
I want to use frequency capture on this timer. Do I understand it right, that the value in the register is the time between two rising edges? So the register
will be refreshed every next tooth on trigger-wheel?
Did anybody have a code to make it working? I did not make much with xmega yet, but I remember, that timer-config is not a basic thing, maybe
anybody can help with it
Than I can give out frequency every 10ms over uart
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum