Re: [beagleboard] poll() on a pin returns constantly even though there is no input

2014-07-17 Thread rar76
Thank you for the information - I noticed others used the mmap instead of sysfs and I wondered how much overhead was in the read/write/open functions. Can I ask what logic analyzer you're using? I've been itching to get an oscilloscope, but even the cheapest is a few hundred. Regards, Rene

[beagleboard] Concerns with Battery Cape?

2014-07-15 Thread rar76
I bought a battery cape for BBB last year. I just bought 8 eneloop 2500 mah AA batteries for it, but I noticed the cape is discontinued. Was there issues with the cape and BBB? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] PRU Halt vs SLP

2014-07-03 Thread rar76
hi all, I have a PRU program that generates codes from a remote control by reading an ir sensor. The thing is, the PRU runs constantly and the remote is used intermittently. I researched SLP but was not successful at getting it to work. So, I resorted to using halt, but I'm wondering if

[beagleboard] Re: PRU , getting a pin for output on PRU0 and PRU1 to the expansion header

2014-06-27 Thread rar76
To me, this is the best starting document: http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2 If I remember right, to set p8_12: SET r30.t14 // p8_12 set and to clear: CLR r30.t14 // p8_12

Re: [beagleboard] LCD 3.5 Cape Blocks all Analog Input Pins on Beaglebone Black

2014-05-12 Thread rar76
Yeah, do we need to rebuild the kernel to remove the touch functionality? On Tuesday, April 8, 2014 12:20:23 PM UTC-3, mustan...@gmail.com wrote: Hello, I am trying to also use the BeagleBone ADC along with an LCD screen that has touch functionality. I've decided that the touch

[beagleboard] Re: How can I enable the GPIO attachInterrupt ()?

2013-11-17 Thread rar76
If you're looking for edge triggering, you can use poll(). That's what I used for GPIO and it worked fine. http://raspberrypi.stackexchange.com/questions/3440/how-do-i-wait-for-interrupts-in-different-languages http://manpages.courier-mta.org/htmlman2/poll.2.html If I remember correctly,