CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Reading 4 Channel AD Simultaneous with DMA in DSPIC! HELP!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hugo_br



Joined: 01 Aug 2011
Posts: 26
Location: BRAZIL

View user's profile Send private message Visit poster's website

Reading 4 Channel AD Simultaneous with DMA in DSPIC! HELP!
PostPosted: Fri Feb 10, 2012 1:19 pm     Reply with quote

Good Afternoon for all.

I like to read 4 AD channels simultaneous using DMA in DSPIC33FJ256GP506? I can not do read the four at once at all. I read one after another after another! I used the example of DMA CCS 4.120. But a read just one channel at time.
Actually need to read 4 channels of AD in DMA and then transfer this data to an SD card read. I would like to know how to read these channels simultaneously (1024 points per channel) and then copy the reading of these four channels to a SD card or I2C EE2PROM.
I'm using a DSPIC33FJ256GP506 if 40MHZ Crystal.

Need to capture all 4 channels at a speed of 1 MHz Could anyone help me with this. I've never used DMA and I'm lost. I do not know how he could treat the DMA to read the four AD channels at once, then treat this data to send to an external memory.

I appreciate everyone's help.

Have a great weekend,

Thank you, Hugo.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group