3 posts / 0 new
Last post
mharthikote
Offline
Last seen:5 years 9 months ago
Joined:2014-07-20 06:00
Counter application

Hi,

Can you let me know if there is way to use DA14580 for (measuring) counting external frequency (10kHz-300kHz)???
any pointers and code snippet would help

Device:
Dialog_HM
Offline
Last seen:5 months 2 weeks ago
Joined:2014-04-01 16:07

Hi,

There is no easy way of counting in the specification range you need.

A timer could be used to start a time slot.
During that time slot an input could be polled. Every change is a c++;
After the time shot (e.g. 100 mSec) => freq = c * 10 / 2

There is however a maximum.
中断或组装可以be used for counting, to increase the range.

HM

Sigges
Offline
Last seen:5 years 3 months ago
Joined:2015-11-09 07:04
Hi,

Hi,
for my application I need also a counter for external frequency.
Is it not possible to take the 16 Bit counters of the Quadrature decoder ?
I hope so, because this one important point, why I want to take your nice chip.
Have a nice day
With best regards
Sigges