Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] ADC zooming along

2006-04-21 by Bertrik Sikken

pitstock_kiwi wrote:
> While Brendan and Jaya have been furiously writing emails I have been 
> working on my LPC2148 ADC code. Its taken me a while but I now have 
> it clocking out the ADC at a rate of 520 K samples per second. I am 
> over clocking the ADC a little at 5 Mhz but my noise is well within 
> my required spec. I didn't think it was possible as I always hit 
> about 320 K or so at best. My 512 pixel camera is now doing over 500 
> frame captures per second :)

Just curious because I'm working on something similar...

How are you triggering the ADC?
ADC burst mode looks a bit awkward because with (for example) 8-bit
resolution, the ADC takes a sample every 9 ADC clocks, which makes
it hard to get a nice round sampling rate.
I tried to synchronise the ADC to a timer. This works and I make
almost any sample rate I want, but it only works when the trigger
signal is sent out to a pin.

How are you storing the ADC data?
Just a tight loop polling the ADC? or a FIQ? something else?

Thanks in advance,
Bertrik

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.