Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
natanel
PostPosted: Mar 08, 2011 - 01:13 PM
Hangaround


Joined: Jul 05, 2007
Posts: 179


before choosing my MCU and digging to it, I would like to know

I need fast ADC sampling and sending results to PC (not real time), so using the XMEGA-A1 Xplained look great

in practical how fast (sample per second) I can use the 12 bit ADC with saving the results to the on board sdram

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
natanel
PostPosted: Mar 08, 2011 - 02:51 PM
Hangaround


Joined: Jul 05, 2007
Posts: 179


Ok
did some reading and it look like the ADC have some problems

so basically I need to know how fast (or can it be done) using ADC to SDRAM sampling for at least 8bit conversion

for not real time fast sampling (storing and later reading)

thanks
 
 View user's profile Send private message  
Reply with quote Back to top
electronic.designer
PostPosted: Mar 08, 2011 - 07:18 PM
Hangaround


Joined: May 27, 2010
Posts: 396
Location: The land of Cyrus the Great

Apart from resolution, maximum ADC conversion in XMEGA A can be 2MSPS and DMA can be used for saving results.

_________________
Ozhan K.
 
 View user's profile Send private message  
Reply with quote Back to top
natanel
PostPosted: Mar 09, 2011 - 05:38 AM
Hangaround


Joined: Jul 05, 2007
Posts: 179


just to be sure it can be programed to run at 2MSPS
with dma from ADC direct to the SDRAM (on board 8 mbyte)
allowing for 4 sec recording in 12 bit resulotin (16 bit dma transfer)
using the Xplained board?
 
 View user's profile Send private message  
Reply with quote Back to top
MJB
PostPosted: Sep 23, 2011 - 05:13 PM
Newbie


Joined: Jul 25, 2009
Posts: 2


natanel wrote:
just to be sure it can be programed to run at 2MSPS
with dma from ADC direct to the SDRAM (on board 8 mbyte)
allowing for 4 sec recording in 12 bit resulotin (16 bit dma transfer)
using the Xplained board?


I tried this and have a problem at the 64kByte page borders.
The ADC is running at 2MS/s and DMA streams to SDRAM but at each 64k block border there seem to be many 1000 samples missing.

Did anybody get this running (I am on XPLAIN)

How do I have to set up ADC & DMA ?

thanks
MJB
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits