Thanks, I found it in the PRU support package. But I wonder if this really saves some time/code...
Am Freitag, 15. Juli 2016 20:59:12 UTC+2 schrieb Greg: > > There is an example in the PRU support package: > > http://git.ti.com/pru-software-support-package > > Look in the examples folder for am335x. > > Regards, > Greg > > > On Friday, July 15, 2016 at 3:41:06 AM UTC-5, Karl Karpfen wrote: >> >> Hi, >> >> the AM335x TRM specifies a constants table for PRU which can be used for >> easier access of memory addresses. As an example: for I2C1 registers which >> originally use base-address 0x4802A000 a constant 2 is defined. >> >> What I do not understand: how can one use these constants? How does the >> mapping from a constant to a base-address work where I have to add an >> offset in order to access desired registers? >> >> Or is this an assembler-thingy only which can't be used out of >> PRU-C-Software? >> >> Thanks! >> >> -- 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/3a31db16-a078-476f-928f-e1f50233c075%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.