Many thanks to Jason and others for publishing some interesting PRU examples.
I've tried a number of the examples, but its been painful to follow the evolution and very little has worked LXQT 4.9.78-ti-r94 .
Jason has an interesting example https://github.com/jadonk/bone101/tree/gh-pages/examples/extras/pru bitflip.c/.pru0c that uses AM33XX_PRUSS_SHAREDRAM_BASE 0x4a310000.
I'm wondering if anybody has any comments on this approach?
I have built a proto that I have got working, I only need to get 8 int16 from A8 to the PRU. These represent a frequency for 8 toggling GPIOs
(For PRU0 I'm using P9_25 27 28 29 30 31 P8_11 12)
This method has intially worked for me using
LXQT 4.9.78-ti-r94 #1 4.9.78-ti-r94 #1 SMP PREEMPT Fri Jan 26 21:26:24 UTC 2018
with 8*int16 (or 32bytes).
Initially I tried 8*int32 (64bytes) but could only sucessfully use the first 5*int32(40bytes
However switching to LXQT 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018
I seem to be running into problems with the one way comms through the SHARED RAM being limited to 2*int16 or 4bytes.
The actual code example is at https://github.com/neilh10/bbb_pru_ppm
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/pvs7jdpvq34jft17pkpeljrk5p0scj487r%404ax.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/a90eb811-c902-4a20-96fa-31e1b03abb5a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5ef1cbae-0e43-47dc-83b1-dead26d1645d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5ef1cbae-0e43-47dc-83b1-dead26d1645d%40googlegroups.com.