You are here

'Simultaneous' sampling with a single ADC | Cypress Semiconductor

'Simultaneous' sampling with a single ADC

 Just published the latest Filter Wizard column.  It's based on work I did at Cypress on a super-high precision electricity meter based on PSoC3.  If you are ever bothered by the interchannel time delay in a system with a single multiplexed ADC, check it out!

http://www.analog-europe.com/en/sample-multiple-channels-simultaneously-with-a-single-adc.html?cmp_id=71&news_id=222902424

Comments

robertseczkowski's picture

Maybe I didn't read Your post carefully enough, but there's also problem not solved by your post.
How to folter simultanously having only one filter DFB?
Stages in DFB are laid in series. SO as I'm aware You can't not,as You suggest enter 32 samples of one input and 32 samples of enother input and get two output's. Unless You know sth I/We don't know

kvcp's picture

Hi Robert! The DFB has no specific filter architecture, it just runs the code that you load into it. We provide a simplified filter component for PSoC Creator (a new one will be coming later in the year) which supports and sets up simple filter topologies. But more complicated processing can be done directly. We really did run the four channel time alignment filtering on the DFB in PSoC3, and also had enough room for some other processing to do the reactive power calculation.

robertseczkowski's picture

I'm trying to pass 17 bit ADC sample to DFB,through DMA, and then (again through DMA) to memory.
And I always get zero result.
I'm wondering should I stop DMA channel when I want to read memory or it can be done during runtime?
Thanks
Robert

robertseczkowski's picture

As You didn't described the PSOC schematic, which does this thing, I try to do some guessing.
You must collect ADC samples into SRAM. Then some software processing(reordering and decimation). And finally
SRAM to FIlter.
I don't know if PSOC3 is fast enough to do 50Hz processing it via CPU(I presume this is the solution You've used). But I'm trying (together with CYPRES support) for 1month to do the same using DMA because I have 2000Hz samples. Conclusion is simple SRAM->Filter->SRAM using DMA is simply not working.

AlexB's picture

Mr. Castor-Perry,

Can you share with us when the next version of the DFB component is coming out? Will we have the ability to do IIR filters?

Thanks!

jordanss123 jordanss123's picture

Thanks for you share great topic with us. fake yeezy boost 350

 

jordanss123 jordanss123's picture

fake Yeezy boost 350 80% Off www.yeezy350find.com

 

ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.