You can access all regular gpio, but those will be slower than the one tick pru gpio access.
Check out the PRU documentation at https://github.com/beagleboard/am335x_pru_package , it explains how to use R30 and R31, section 5.2.2. Here's an explanation on accessing main memory from the pru: http://nomel.tumblr.com/post/30006622413/beaglebone-tutorial-accessing-main-memory-from-the-pru To control the regular gpio blocks, you would access them through their registers. You can find the gpio registers and their addresses in the processor manual at http://www.ti.com/lit/pdf/SPRUH73 , section 2.1 for addresses of gpio blocks, and section 25 for offsets of the different gpio registers for each block. On Tue, May 27, 2014 at 6:18 AM, <[email protected]> wrote: > > Am Mittwoch, 2. Oktober 2013 22:03:29 UTC+2 schrieb Charles Steinkuehler: > >> >> Each PRU has it's own r30, which drives the direct outputs (assuming you >> have the pinmux setup properly). You can only drive a limited number of >> the BeagleBone header pins using PRU direct I/O, and a lot of the pins >> are shared with the LCD/HDMI interface. >> >> > I afraid this is the part I didn't understand with PRU. Assumed Pin-Mux is > correct for usage of plain GPIOs - is PRU able to access all of them? If > not: which ones are accessible? > > And I already stumbled upon this r30 thingy...how can I set/read GPIOs > with it? > > Thanks for helping me with these stupid questions! > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/u28ytaoNenU/unsubscribe. > To unsubscribe from this group and all its topics, 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.
