Hello there,
I'm building a PRU application, to receive data from an ADC. This ADC has a left/right clock signal, which is a square wave signal with a duty cycle of roughly 50%. This signal is connected to an enhanced GPIO input pin. I want to make the PRU sleep (or some kind of inactive, in order to save power) while waiting for an edge on this signal. So I used the PRU command SLP 1 , and registers the GPIO for the input signal, in the wakeup enable (WAKEUP_EN) register, to make the PRU sleep between the edges of the signal. My problem is: When the input signal in high, the PRU seems to instantly wakeup after SLP 1 is called. Is there a way I can make the SLP command only wake the PRU up on an edge, or edit the input signal to generate pulses on its edges? Maybe through the interrupt controller? The delay from an edge on the input signal to execution on PRU is critical, so I have to use the enhanced GPIOs. I'm using the BeagleBone Black (AM335x 1GHz ARMĀ® Cortex-A8), running Linux beaglebone 3.8.13-bone47. I hope my question is clear enough, I'm quite new to this stuff. -- 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.
