Yahoo Groups archive

Lpc2000

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

Message

ADC zooming along

2006-04-12 by pitstock_kiwi

Greetings

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 :)

The caputured frames are dispatch to the PC via the USB HID example. 
I have not got the HID example to run very stable yet (has anyone ?). 
I can send packets (64 byters) to the PC no problem at a fair rate 
(5ms). Just when I send packets from the PC to the 2148 I 
intermittently get a permanent code slow down and the USB stops 
communication (but stays connected). If anyone knows the solution to 
this I would be happy to hear it.

My Setup is:
Keil 3.31 using the ADS realview that came with it. ARM mode with no 
optimising. Keil MCB2140 dev board with a ULINK.

Cheers
Keith

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.