I have lived on BBB + Robotics Cape in James' world for some time. While I 
haven't done this with a Blue, I suspect what I did can work there too. I 
did do his installation (for a Rev C BBB and a Rev D Robotics Cape). With 
Robert's help I put the Capemgr back in the DTs and added the capemgr 
partno boot line for BB-ADC.  This seems to be a workable combination of 
the two worlds. My premise is that I don't try to do both at once.  That 
is, I don't run any of the rc_* apps or services while trying to read the 
ADCs from /sys/bus/iio. So far it seems to work for me.
Hugh

On Monday, July 31, 2017 at 11:44:09 AM UTC-7, Mark A. Yoder wrote:

> Yup, this is the Blue.
> In there short term is there an easy way to turn off the robotics stuff 
> and get easy access to the analog in?
>
> In the long term, what will it take to convert James' robot stuff to 
> libiio?  I might take a shot at it if it isn't too hard.
>
> --Mark
>
> On Friday, July 28, 2017 at 5:56:30 PM UTC-4, RobertCNelson wrote:
>>
>> On Fri, Jul 28, 2017 at 4:40 PM, Mark A. Yoder <[email protected]> 
>> wrote: 
>> > How do I read AIN on the latest images?  I don't know where to find it 
>> in 
>> > /sys/ 
>>
>> Hi Mark, 
>>
>> This is with the Blue right? 
>>
>> James' got the ADC tied up in mmap for the Robotic's cape library.. 
>>
>>
>> https://github.com/StrawsonDesign/Robotics_Cape_Installer/blob/master/libraries/mmap/rc_mmap_gpio_adc.c
>>  
>>
>> We need to convert his library to use libiio, then we can just enable 
>> the ADC's as an iio device and share usage with the library.. 
>>
>> https://analogdevicesinc.github.io/libiio/ 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
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/e2d3829f-6af9-4c00-b63d-4ec891db2be7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to