It sounds like you're using libprussdrv. In that case it's pretty simple:
1. Let the PRU code write the counter value to address 0 (= beginning of DRam), ie. a 4 byte integer. 2. Get a DRam pointer in the ARM code by function prussdrv_map_prumem(), and read the 4 byte interger value from that address. BR -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f3916050-2249-49aa-94ed-4c77e2a262d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
