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?
BBB and clearing ADC error
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: BBB and clearing ADC error
Can you please submit an issue to the BBB Python library on GitHub?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: BBB and clearing ADC error
Be careful about going outside the 1.8v range.. that can permanently damage the ADC.
-
- Posts: 3
- Joined: Tue Dec 17, 2013 2:31 am
Re: BBB and clearing ADC error
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.
How do I submit an issue on GitHub? Just haven't done that before.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: BBB and clearing ADC error
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.
-
- Posts: 3
- Joined: Tue Dec 17, 2013 2:31 am
Re: BBB and clearing ADC error
Still not sure where to do this, can you provide a link to the page you are talking about? Sorry, just new to this.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: BBB and clearing ADC error
https://github.com/adafruit/adafruit-be ... hon/issues
Click the "New Issue" button
Click the "New Issue" button
Please be positive and constructive with your questions and comments.