> > When I try to do the same using a user space C application I dont get the > expected response.I am running this app as sudo'er and I have > oscilloscope'd the timings of HIGH/LOW levels of the GPIOs and compared it > with that of the manually writing procedure of GPIOS. The waveform and the > timing diagrams almost matches (95%) >
I'm not exactly sure what you saying here . . . However, in code are you actually checking for errors, and error codes. Or does your code simply open, and use the file descriptors without any error checking what so ever ? Seeing the code would probably help a lot. On Wed, Jul 13, 2016 at 2:41 AM, Raulp <imsaurabhra...@gmail.com> wrote: > I have interfaced a hardware using the 5 Gpios on BBB.I can talk to this > device using GPIOs by manually (echoing 0 and 1 to the GPIOS) writing to it > in the sys/class/gpio directory by first exporting the Gpios and > configuring their directions and value.It works perfectly fine. > But, > When I try to do the same using a user space C application I dont get the > expected response.I am running this app as sudo'er and I have > oscilloscope'd the timings of HIGH/LOW levels of the GPIOs and compared it > with that of the manually writing procedure of GPIOS. The waveform and the > timing diagrams almost matches (95%) > So, > What could mysteriously be missing here.?I can go deep into analyzing the > wave-forms and timing diagrams as well if there is an issue in the timings > of the Signals. > Please advice.Thanks in advance ! > -Rp > > -- > 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/cb65b710-203e-4579-8c08-e2b817dc7a03%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/cb65b710-203e-4579-8c08-e2b817dc7a03%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALHSORq-cz1hxjWQCy-VNiZheN6HP8EL2J7wF9bAVP1HNoVDEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.