Path: news.mathworks.com!not-for-mail
From: "Steve Conahan" <sconahan@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: CIC Interpolator block
Date: Mon, 17 Dec 2007 13:08:36 -0500
Organization: The MathWorks, Inc.
Lines: 42
Message-ID: <fk6dv5$hbt$1@fred.mathworks.com>
References: <74183005-3d3d-4ea8-b1eb-6c5fc6d69be9@d4g2000prg.googlegroups.com> <3b92d251-7762-4136-a673-7ce4de0d8572@d21g2000prf.googlegroups.com>
Reply-To: "Steve Conahan" <sconahan@mathworks.com>
NNTP-Posting-Host: conahans.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1197914917 17789 144.212.109.242 (17 Dec 2007 18:08:37 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 17 Dec 2007 18:08:37 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Xref: news.mathworks.com comp.soft-sys.matlab:442806



"Andy Luotto" <andyluotto@excite.com> wrote in message 
news:74183005-3d3d-4ea8-b1eb-6c5fc6d69be9@d4g2000prg.googlegroups.com...
> Hi there
> I am using the CIC Interpolator block (simulink) and it does not
> appear to increase the sample rate at all. I am using this block to
> feed a delta sigma digital DAC but I cannot make it working (a symptom
> is that I cannot see any colour difference between input and output,
> which should be expected if the block would increase the sample rate)
> did anybody find this problem already?
>
> thanks
>
"Andy Luotto" <andyluotto@excite.com> wrote in message 
news:3b92d251-7762-4136-a673-7ce4de0d8572@d21g2000prf.googlegroups.com...
>I am trying *both* passing the handler to the filter
> Hcic = mfilt.cicinterpzerolat(Q,1,nr_stages, 16, 24);
> and setting the paramenter manually, directly into the block
>
> thanks
>

Hi Andy,

In the CIC Interpolation block dialog there is a parameter called "Framing" 
that controls the behavior of the dimensions and sample times of the block 
I/O ports as detailed below (the quoted text is from the documentation 
reference page). Try changing the "Framing" parameter choice and see if you 
get the expected (faster) output port sample time change instead of an 
adjustment of the output port frame length.

http://www.mathworks.com/access/helpdesk/help/toolbox/dspblks/ref/cicinterpolation.html

"For frame-based operation, specify the method by which to implement the 
interpolation; reduce the output frame rate, or reduce the output frame 
size. This parameter cannot be set to Maintain input frame rate for 
sample-based signals."

Cheers,
Steve Conahan
The MathWorks, Inc.