Reply by Guillem Hernandez Sola●June 4, 20072007-06-04
One of this include files, i don't include it. Now, it works fine.
Thanks a lot.
On 6/3/07, Richard Williams wrote: >
> Guillem,
>
> A quick search on Google for DSPF_sp_cfftr2_dit
>
> gave this link
> http://www.dsprelated.com/groups/c6x/show/3086.php
>
> which discusses how to use the TI FFT library.
>
> R. Williams
> --- In c..., "Guillem Hernandez Sola"
> wrote:
> >
> > On 6/1/07, Guillem Hernandez Sola wrote:
> > >
> > > DSPF_sp_cfftr2_dit (fft, twiddles, FFTSIZE);
> > > This function call give me some problems.
> > > What are the includes for this call?
> > > I mean, .h files and so on, because i try this function and it
doesn't
> > > work.
> > > Is it include in the 6713 library?
> > >
> > > On 6/1/07, Adolf Klemenz wrote:
> > > >
> > > > Dear Guillem Hernandez Sola,
> > > >
> > > > you can use the complex FFTs and set the imaginary input to
> zero. The
> > > > DSPF algorithms expect the real data in the even input buffer
> locations
> > > > (2*n) and img. data in odd locations (2*n+1)
> > > >
> > > > for (i=0; i
> > > > {
> > > > fft[2*i] = (float)samples[i] * window[i]; // real
> > > > fft[2*i+1] = 0.0; // imag
> > > > }
> > > > DSPF_sp_cfftr2_dit (fft, twiddles, FFTSIZE);
> > > >
> > > >
> > > >
> > > > Best Regards,
> > > > Adolf Klemenz, D.SignT
> > > >
> > > > Thanks a lot.
> > > --
> > > ~# Guillem Hernandez Sola
> > > ~# http://www.hernandezsola.com/guillem
> > > "You'll be my baby and we'll fly away and I'll fly with
you"
> > >
> >
> >
> >
> > --
> > ~# Guillem Hernandez Sola
> > ~# http://www.hernandezsola.com/guillem
> > "You'll be my baby and we'll fly away and I'll fly with
you"
>
Reply by Guillem Hernandez Sola●June 3, 20072007-06-03
On 6/1/07, Guillem Hernandez Sola wrote: >
> DSPF_sp_cfftr2_dit (fft, twiddles, FFTSIZE);
> This function call give me some problems.
> What are the includes for this call?
> I mean, .h files and so on, because i try this function and it doesn't
> work.
> Is it include in the 6713 library?
>
> On 6/1/07, Adolf Klemenz wrote:
> >
> > Dear Guillem Hernandez Sola,
> >
> > you can use the complex FFTs and set the imaginary input to zero. The
> > DSPF algorithms expect the real data in the even input buffer locations
> > (2*n) and img. data in odd locations (2*n+1)
> >
> > for (i=0; i
> > {
> > fft[2*i] = (float)samples[i] * window[i]; // real
> > fft[2*i+1] = 0.0; // imag
> > }
> > DSPF_sp_cfftr2_dit (fft, twiddles, FFTSIZE);
> >
> >
> >
> > Best Regards,
> > Adolf Klemenz, D.SignT
> >
> > Thanks a lot.
> --
> ~# Guillem Hernandez Sola
> ~# http://www.hernandezsola.com/guillem
> "You'll be my baby and we'll fly away and I'll fly with you"
>
you can use the complex FFTs and set the imaginary input to zero. The
DSPF algorithms expect the real data in the even input buffer locations
(2*n) and img. data in odd locations (2*n+1)
for (i=0; i
{
fft[2*i] = (float)samples[i] * window[i]; // real
fft[2*i+1] = 0.0; // imag
}
DSPF_sp_cfftr2_dit (fft, twiddles, FFTSIZE);
Best Regards,
Adolf Klemenz, D.SignT
At 09:36 01.06.2007 +0200, Guillem Hernandez Sola wrote:
>There's any way to make a real FFT in C6713.
>I was watching DSPF files, all this files provided by TI does it with
>Complex Numbers.
>Regards,
>--
>~# Guillem Hernandez Sola
>~#
http://www.hernandezsola.com/guillem
>"You'll be my baby and we'll fly away and I'll fly with you"
>
Reply by Guillem Hernandez Sola●June 1, 20072007-06-01
There's any way to make a real FFT in C6713.
I was watching DSPF files, all this files provided by TI does it with
Complex Numbers.
Regards,
--
~# Guillem Hernandez Sola
~# http://www.hernandezsola.com/guillem
"You'll be my baby and we'll fly away and I'll fly with you"