BBB and clearing ADC error

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
treiberg
 
Posts: 3
Joined: Tue Dec 17, 2013 2:31 am

BBB and clearing ADC error

Post by treiberg »

For the GPIO library, it is easy to clear out the IO states with a .clear command.

Once in a while (probably because I am outside the 1.8v range), the ADC python library will fault with an IOError and there seems to be no way to get the ADC working again without rebooting the BBB. Is these something close to a clear command or something else I can do?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: BBB and clearing ADC error

Post by adafruit_support_rick »

Can you please submit an issue to the BBB Python library on GitHub?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: BBB and clearing ADC error

Post by adafruit_support_mike »

Be careful about going outside the 1.8v range.. that can permanently damage the ADC.

treiberg
 
Posts: 3
Joined: Tue Dec 17, 2013 2:31 am

Re: BBB and clearing ADC error

Post by treiberg »

Yeah, certainly not trying to go outside 0-1.8V, and not even sure that I am...but the IOError happens when I switch an inductive load off, so I am thinking I am sending a voltage spike. Working with some filtering to try to prevent that.

How do I submit an issue on GitHub? Just haven't done that before.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: BBB and clearing ADC error

Post by adafruit_support_rick »

There's an "Issues" tab on the library page. Click that. On the next page, there's a "New" button. That will bring up a new issue report. Include a description of the problem, any sample code that demonstrates the problem, and list the steps and equipment necessary to reproduce it.

treiberg
 
Posts: 3
Joined: Tue Dec 17, 2013 2:31 am

Re: BBB and clearing ADC error

Post by treiberg »

Still not sure where to do this, can you provide a link to the page you are talking about? Sorry, just new to this.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: BBB and clearing ADC error

Post by adafruit_support_rick »


Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”