From:  <[email protected]>
Reply-To:  <[email protected]>
Date:  Tuesday, May 20, 2014 at 3:32 PM
To:  <[email protected]>
Subject:  [beagleboard] Processing GPIO interrupts at 4MHz.

> Good Afternoon,
> Currently, I am developing a project where I need to get scanner readings to
> 4MHz. The program is simple, every time that I get a signal from the clock, I
> should check the value of a pixel in another signal.
> 
> The problem is that I was unable to work with the GPIO interrupts at 4MHz, I
> tested with Adafruit_BBIO, java, c++ and linux. Even if I try to generate a
> pulse train, the maximum frequency that I get  in the GPIO is about 5KHz. I
> increased the BBB operation speed at 1GHz and increased the priority of my
> process to the fullest without getting the expected results.
> 
> In this sense, anyone know how can I do to work with the GPIO Interruptions at
> 4 MHZ?
No way to do this in Linux because of the interrupt latency which in the
standard kernel is about 1ms. Even with Xenomai, the interrupt latency is
about 50uS. You might be able to do this with the PRU as a front end and
then pass on the info to Linux as required.

Regards,
John
> 
> 
> I remain attentive to your comments
> Regards
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to