Anyway, my idea was something like this. In the past I've written a couple different applications that have directly accessed peripherals registers through mmap() + /dev/mem/. So I would imagine( again no hands on here ) accessing the PRU's memory directly from user space Linux could be potentially as simple. Now whether or not the scratchpad areas could be access the same way from user space Linux, I'm not sure. I am also not even sure if that would be important. However, since a user space C application is used to load the PRU's executable binary in the first place. Not much of a stretch to imagine one could, or should be able to access all of the PRU's periphery. I could be wrong I suppose.
But the point is really this. If you need to get data out of the PRU's into userland Linux as quickly as possible. Maybe the way to pull that data ot of the PRU's memory is from the ARM(Linux ) side of things ? On Thu, Feb 9, 2017 at 7:16 PM, William Hermans <yyrk...@gmail.com> wrote: > > > On Thu, Feb 9, 2017 at 6:56 PM, Charles Steinkuehler < > char...@steinkuehler.net> wrote: > > >You cannot "broadside" store the register file into the 8k or 12k data > > > > rams, only into one of the three scratch pad locations or directly > > into the other PRU's register file. Table 4-21 (of the AM335x TRM > > version spruh73o) lists what happens when you encounter collisions or > > stalls with the XIN/XOUT commands. > > > > -- > > Charles Steinkuehler > > char...@steinkuehler.net > > Thanks Charles, Yeah the whole time I'm thinking to myself "but theres > three areas . . ." Anyway you have actually have hands on. Everything I > know is just from reading. Also good to know there is a newer TRM with PRU > information in it that I was unaware of. > > > > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqmQva6AwqeT8mN0n5iE9c0B4Zqa7mZc2y5kJVv_WFPxw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.