Hi Is there anyway I can synchronously take sample from the ADC and processing at the same time. For instance, I want to sample my signal through the ADC and then put it in the buffer. Once this buffer is fulled, I send it to the filter and start processing my data and send it to the DAC. While doing that, the ADC is still sampling and filling up the next buffer and wait for the processing to complete. And the process take this buffer and continue on with the processing and so on. And also is it possible for me to use the same clock for the ADC and the DAC becuase I want to send the signal back out at the same sampling rate as I get in. Thank you Si Diep |
|
questions about signal processing
RE: [motoroladsp] questions about signal processing
If you are talking about the 56F8xx family, the ADC can be started and synchronized by a QuadTimer. Arming the ADC "SYNC" input will cause the conversion to start via the QuadTimer. Also the interrupt service routine for the ADC or QuadTimer can be used to output a new value to a DAC. maintaining synchronism between the ADC Samples and the DAC update. Using fast-interrupt, or custom interrupt routines, very low latencies can be achieved between ADC sample, and DAC update. With regard to filling alternate buffers, it seems to me that most algorithms use a "circular" buffer and continuously run the transforms at the same rate as the ADC conversions thus not needing multiple buffers!!! Also check the motorola App Notes regarding the PWM, ADC, and QuadTimer Synchronization. Best Regards,
-----Original Message-----
Hi Is there anyway I can synchronously take sample from
Thank you Si Diep ------------------------ Yahoo! Groups Sponsor
---------------------~-->
_____________________________________
_____________________________________
To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3
" TARGET="_blank">http://docs.yahoo.com/info/terms/ ________________________________________________________________________
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information visit http://www.messagelabs.com ________________________________________________________________________ |