Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: S7G2-DK - Frequency, Event Counter

$
0
0
Hi, I have an application which needs to determine the frequency of a signal using a S7G2-DK and SSP1.1.3. This can be done with an interrupt keeping track of pulses for a given period of time. It looks like the AGT module has a mode where it can count external events. I added g_timer Timer Driver on r_agt to the HAL/Common thread. When configuring the timer Mode, there are only options for one-shot and periodic. Then I checked the Pins/Peripherals and in Operation Mode there is an Event Counter. My questions: Would using the AGT be a way to determine the frequency of a signal? Any advice on setting it up?

Viewing all articles
Browse latest Browse all 23645

Trending Articles



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