Issues with ADC and Adafruit_BBIO python module

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Issues with ADC and Adafruit_BBIO python module

Postby Strontium » Sat Jun 27, 2015 10:55 pm

I am doing a project that requires reading some data from the ADC pins. The code is written in Python, using Adafruit_BBIO.

Unfortunately, ADC.setup() causes and error:
$this->bbcode_second_pass_code('', 'RuntimeError: Unable to setup ADC system. Possible causes are:
- A cape with a conflicting pin mapping is loaded
- A device tree object is loaded that uses the same name for a fragment: helper')

The first time this happened, there were no devices in /sys/bus/iio/devices. I managed to get iio:device0 to appear using this fix:
https://gist.github.com/matthewmcneely/ ... -on-bbb-md

However, ADC.setup() still errors. Can anyone give me any pointers on how to fix this?
Strontium
 
Posts: 1
Joined: Sat Jun 27, 2015 10:49 pm

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 5 guests