Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Rapidly poll GPIO Input

$
0
0

I'm trying to use the GPIO to receive a fiberoptic input. Is it possible to rapidly check the GPIO input using a clock and or interrupt?

I've been doing some reading, and it looks like I'd use SYSCLK4, but I'm confused at the limitations and implementation of creating an interrupt to check the input at the GPIO pin.

Is it possible to sample the GPIO input at 1 MHz? If so, would I use a GPIO interrupt, or would I initialize a clock signal using SYSCLK4 and the timer.h/timer.c files?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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