Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

using HRCAP in RM48L952

$
0
0

We have to measure the frequency of a signal which can be from 0.1 Hz to 300 Hz.

Connecting it to a ECAP pin and measuring the events is quite easy and works well.

Since we do not have any ECAP pin free,  we connect to a HRCAP pin.  Even if we run it in the normal mode (not hi resolution) we have an issue that we cannot measure lower frequencies since the capture register is only 16 bit. Is there any way we can work with HRCAP itself for measuring low frequency?

We have right now using TIMER2 as a counter and latching the count in the code when HRCAP event occurs.

Any ideas?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>