Not exactly, but that's what you'd get if you just did a read of the
GPIO input register from the PRU. If you want to go faster, you have a
few options:
* Use the direct PRU inputs (reads complete in 5 nS with no wait states)
* DMA data from the GPIO input register to the PRU. I haven't tested
GPIO read latency when using DMA, it might be faster than doing reads
with the PRU, and at the very least you wouldn't be stalling the PRU
while the read is "in flight".
* You might be able to read with both PRUs in lock-step but opposite
phase, so you could get apx. 12 MHz updates (untested).
...but really, if you want speed, use the direct PRU I/O pins, that's
what they're for.
On 12/1/2014 5:57 PM, Curt Carpenter wrote:
> Are you saying that the maximum realizable GPIO *input* rate to the PRU is
>>>> email to
beagleboard...@googlegroups.com <javascript:>.
>>
cha...@steinkuehler.net <javascript:>
>>
>
--
Charles Steinkuehler
cha...@steinkuehler.net