On 8/10/2015 6:53 AM, [email protected] wrote: > Hi folks, > > i'm currently working with the PRU of the beagle bone black to read and > decode a SSI Protocol. > Therefore I want to use the build in 28 bit shift register of the PRU. I > found out, that the shift register is configured via the GPCFG0 (pru0) > register. > Can anyone explain to me, how I can use the shift register?
I am not aware of anyone in the BeagleBone community who has used the shift register for an application, so I don't know of any example code. You will have to refer to the PRU Reference Guide for usage details. Note that it doesn't look like you can use an external clock for the 28-bit shift register, so hopefully your data rate is stable and maps nicely to the available clock frequencies. > I also haven't found the basic-adress of register GPCFG0, just the offset > with 0x08. In section 3.1.2 "Local Data Memory Map", it shows the base address of the CFG block is 0x0002_6000. -- Charles Steinkuehler [email protected] -- 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.
