Yahoo Groups archive

Lpc2000

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

Message

Re: ADC zooming along

2006-04-13 by lpc2100_fan

Hi Keith,

just a though, what is your VPBDIV value. If you left it at default 4,
this can be your trouble maker. Set it to 1 or 2. There were previous
posts of the USB module needing min. 18 MHz clock, afaik, that is
determined by both the AHB and the VPB bus. So, if running at /4, give
it a shot.

Bob

--- In lpc2000@yahoogroups.com, "pitstock_kiwi" <keith@...> wrote:
>
> 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.