Hi Anuja, Sorry, it has been a very long time since I last worked with the PRU. I honestly don't remember. Maybe some more googling around will help? Have you tried this? http://elinux.org/ECE497_BeagleBone_PRU#Building_and_Running_the_GPIO_PWM_PRU_Example
I got a fair bit of information from the elinux.org wiki. I'm not sure what's right, but I would try getting that example working in the link above, and try to figure out what's different between your code and the example code that stops it from working. Don't ignore search results with ECE497; it's the class ID for embedded linux at Rose-Hulman. We worked with Beaglebones there. Good luck! On Wednesday, March 23, 2016 at 8:52:28 AM UTC-5, [email protected] wrote: > > Hi, > > I am trying to toggle a GPO pin in mode GPIO using PRU. > > For achieving this, I enable OCP master port and then write to > GPIO_SETDATAOUT and GPIO_CLEARDATAOUT registers. > But, I can't see any output on pin. > The pin is configured in 0x07 mode in device tree overlay. > > Can you help me with this? > > Thanks, > Anuja > > On Saturday, 3 October 2015 00:37:40 UTC+2, Christopher Hopwood wrote: >> >> >> https://github.com/Rose-Hulman-ROBO4xx/1314-BeagleBone-Quadcopter/tree/master_rev2/code/ControlAlgorithm/quadcopter_apps/imu >> >> On Friday, October 2, 2015 at 11:53:57 AM UTC-5, Mickae1 wrote: >>> >>> Hi, could you give me the link ? It's not working anymore >>> >>> Micka, ^^ >>> >>> Le mardi 22 octobre 2013 07:10:17 UTC+2, Christopher Hopwood a écrit : >>>> >>>> I stopped trying to utilize the i2c modules and just bitbanged it >>>> myself. If you need i2c bitbanging on the PRU, I can drop the link to the >>>> git for it tomorrow. >>> >>> -- 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.
