EmbeddedRelated.com
Forums
Memfault Beyond the Launch

About ADC driver.

Started by leilei October 9, 2008
Hi, I have a ADC board which convert analog data to digital data.
I use software to tirgger the AD Convert.
But once the AD Convert is started, there is no way to stop it.It will
produce interrupt all the time, even I do not start another AD
Convert.

Do all the ADC device work like this?
On Thu, 9 Oct 2008 04:55:50 -0700 (PDT), leilei <huxuelei630@gmail.com>
wrote:

>Hi, I have a ADC board which convert analog data to digital data. >I use software to tirgger the AD Convert. >But once the AD Convert is started, there is no way to stop it.It will >produce interrupt all the time, even I do not start another AD >Convert. > >Do all the ADC device work like this?
Nope. -- Rich Webb Norfolk, VA
leilei wrote:
> Hi, I have a ADC board which convert analog data to digital data. > I use software to tirgger the AD Convert. > But once the AD Convert is started, there is no way to stop it.It will > produce interrupt all the time, even I do not start another AD > Convert. > > Do all the ADC device work like this?
Leilei, Most ADC's have one command to acquire data from one channel. Others have commands to scan all channels, and some ADC's have commands to do a continuous scan of either on channel, a group, or all channels. So what you need to do is look carefully at the command set to insure you are using the correct start command. In addition, some ADC's can be configured to raise (or not) an interrupt. Dave,
On Oct 9, 4:55=A0pm, leilei <huxuelei...@gmail.com> wrote:
> Hi, I have a ADC board which convert analog data to digital data. > I use software to tirgger the AD Convert. > But once the AD Convert is started, there is no way to stop it.It will > produce interrupt all the time, even I do not start another AD > Convert. > > Do all the ADC device work like this?
Can you please tell the ADC that you are using ? Karthik Balaguru

Memfault Beyond the Launch