EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Application Hint LPC935 ADC with Zero interrupt load

Started by philips_apps July 27, 2004
Hi,

there is a great feature in the LPC935 ADC which could change the way
you do analog to digital conversions. Every input (channel) has a
dedicated result register. Also the ADC offers a scan mode, you select
which channel are to be converted, start the ADC and all the selected
channels are converted. To make this feature even more powerful, there
is an Autoscan Continous Conversion mode that keeps repeating the
conversions until the user stops it. Using this mode and considering
that the ADC is good for 200k samples / sec, you can keep the ADC
converting all the time the channels you want to use.
If you need the digital value that has been sampled last, you can
depend on the fact that this value is no older than 20 us! Most other
ADCs on comparable 8-bit microcontrollers on the market need 20 us
conversion time to begin with. So, the value is ready and available
whenever you need it, no need to handle interrupts, just go and read
the value.
We think this is a great feature :-)

Cheers, Robert



The 2024 Embedded Online Conference