Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: AT91SAM9G20 and ADC
PostPosted: Fri Nov 11, 2011 10:06 am 
Offline

Joined: Fri Nov 11, 2011 9:35 am
Posts: 1
Hello everybody,

I have a problem with ADC - AT91SAM9G20. I use ADC with 10 bit resolution - ADC clock ís max 1MHz. When I set ADC_MR register, max value prescal is 63 and so ADC clock is 1 032 000Hz, but max value is 1MHz (MCK is 132MHz).

I used :
ADC_MR = ( (0x3F << 8) | (0x2 << 16) | (0x1 << 24) );
Prescal = 63 -> ADC clock =1 032 000 Hz
StartUP = 2 -> Startup time = 2,32e-5 s
SHTIM = 1 -> Sample and Hold Time = 1,93e-6 s

Can you help me, please?
Thank you


Top
 Profile  
 
 Post subject: Re: AT91SAM9G20 and ADC
PostPosted: Fri Nov 11, 2011 3:24 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
So if the clock is critical (ie can't handle +3% variation), then you'll need to tweak the CPU/MCLK so they are 3% slower. The PLLs are quite flexible in this regard.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: