Hello Everyone, I am newbie in embedded Linux stuff. I am doing a task to interface one *24-bit ADC name HX711.* Which uses custom protocol. Where it uses two pins. In which One pin used as clock and 2nd one is used as Data out line.
For this purpose I am using GPIO9_12(SCK) and GPIO9_15(Dout) of* BeagleBone Black rev C.* I have set the direction of these 2 pins after going under /sys/class/gpio/gpioxx/direction as OUT and IN as per requirements. But I am not able to get data from HX711. So I debug and Find out that I am taking one time than required. Typically my SCK pin must remain high1-2 mico Seconds but I am taking 5-6 mico Seconds. Which is not desirable. *All this Code is in C language.* Now I need Your suggestions that How can I speed up my GPIO pin reading and Writing Time. I have seen some example where writers trying to Show the GPIO configuration. using mmap(). But no one talking about the GPIO speed. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e23d0c99-6e14-4d69-b4b1-71b984cb0c09n%40googlegroups.com.
