ADC acquisition speed

Discussion specific to the ZX-1281 and ZX-1280 microcontrollers as well as the ZX-1281 and ZX-1280 Dev Boards.
Post Reply
pjc30943
Posts: 220
Joined: 01 December 2005, 18:45 PM

ADC acquisition speed

Post by pjc30943 »

Has anyone reduced the ADC sampling time on a native mode 1280 or 1281? 220us is too slow for this app by about a factor four.

Just curious what side-effects or issues you've come across when manually changing the registers per the ATmega datasheet (from the default) to get a shorter integration time.

EDIT: I might consider an external ADC for higher speeds, but the board is already running a few SPI DACs at high rates, so that resource is tied up much of the time.
Paul
dkinzer
Site Admin
Posts: 3120
Joined: 03 September 2005, 13:53 PM
Location: Portland, OR

Re: ADC acquisition speed

Post by dkinzer »

pjc30943 wrote:Has anyone reduced the ADC sampling time on a native mode 1280 or 1281?
You'll want to check the datasheet to confirm but I believe that the GetADC() functions uses the smallest possible prescaler (thus yielding the fastest ADC clock allowable) given the processor speed. You may be able to configure it for a faster conversion time if a lower resolution is acceptable.
- Don Kinzer
Post Reply