Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Analog Devices DSPs | executing fft on an input stream

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

executing fft on an input stream - Chagai Ensenberg - Jun 16 7:42:38 2010

Hi,

I am  a very new (just graduated) engineer. And my first task in my first
(new) job is to learn the BF518f (with the EZ-kit-Board). I'm using the
VisualDsp++5.

My only experience is from the university. - I have written quite a few C
programs -including threads etc. those programs were always implemented and
run on a pc. I don't have to much experience with writing to an embedded
processor - controling its I/O etc..

Yesterday and today, i've googled quite a lot in order to find a very easy
to understand manual for beginners. i haven't found one yet.

*my task is: receive audio input, sample it (of course) perform a fft , and
output it back to pc.*

*                         later on, i while have to do some analisys on the
frequency domain (but i will leave that for now).*

I have some questions:

1) I read that the whole BF family should be compatible to one and other -
i.e. projects for BFXX could run after rebuild on a different BF processor.
is that so?

2) I haven't found a step by step tutorial for beginers. is there one?

3) i have found a code that is called fft_demo (provided with the cd) - i
managed to build and run it, and it works nice. Is there a way i can modify
it so that instead of generating a  sine (sweep on the freq) and then doing
the fft, it can perform the fft on my sampled audio signal.

4)  i also found the code called "Audio TT" which receives audio and
simply
outputs it - is it possible to combine the two codes somehow (with
modifications) so that the audio input is not otputed immediately but
instead it goes to a fft module. -which is then outputed to the pc.

5) i guess in general I'm asking for help :-).

Thanks,

Chagai

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

RE: executing fft on an input stream - George Kadziolka - Jun 16 10:42:18 2010

Hi Chagai,

There's a few resources you have available.

1)      Analog Devices has a number of short online video tutorials for
developing with Blackfin (and Sharc)

http://www.analog.com/en/embedded-processing-dsp/Blackfin/processors/Blackfi
n_bold_training/fca.html

2)      There are a couple books on working with Blackfin including
"Embedded Media Processing" by Katz and Gentile, and "Embedded
Signal
Processing with the Micro Signal Architecture" by Gan and Kuo.

3)      I also work with Analog Devices to create and run 3.5 day workshops
on developing with Blackfin and Sharc.  The classes are typically held in
Norwood, MA and Munich Germany, but they can be held anywhere in the world.
Contact me for more info.

http://www.kaztek.com/ks_training.htm

Hope this helps.

Cheers,

George

George Kadziolka

Kaztek Systems

i...@kaztek.com

www.kaztek.com

From: a...@yahoogroups.com [mailto:a...@yahoogroups.com] On Behalf Of Chagai
Ensenberg
Sent: Wednesday, June 16, 2010 4:32 AM
To: A...@yahoogroups.com
Subject: [adsp] executing fft on an input stream

Hi,

I am a very new (just graduated) engineer. And my first task in my first
(new) job is to learn the BF518f (with the EZ-kit-Board). I'm using the
VisualDsp++5.

My only experience is from the university. - I have written quite a few C
programs -including threads etc. those programs were always implemented and
run on a pc. I don't have to much experience with writing to an embedded
processor - controling its I/O etc..

Yesterday and today, i've googled quite a lot in order to find a very easy
to understand manual for beginners. i haven't found one yet.

*my task is: receive audio input, sample it (of course) perform a fft , and
output it back to pc.*

* later on, i while have to do some analisys on the
frequency domain (but i will leave that for now).*

I have some questions:

1) I read that the whole BF family should be compatible to one and other -
i.e. projects for BFXX could run after rebuild on a different BF processor.
is that so?

2) I haven't found a step by step tutorial for beginers. is there one?

3) i have found a code that is called fft_demo (provided with the cd) - i
managed to build and run it, and it works nice. Is there a way i can modify
it so that instead of generating a sine (sweep on the freq) and then doing
the fft, it can perform the fft on my sampled audio signal.

4) i also found the code called "Audio TT" which receives audio and
simply
outputs it - is it possible to combine the two codes somehow (with
modifications) so that the audio input is not otputed immediately but
instead it goes to a fft module. -which is then outputed to the pc.

5) i guess in general I'm asking for help :-).

Thanks,

Chagai

______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: executing fft on an input stream - Mike Rosing - Jun 16 10:42:26 2010

On Wed, 16 Jun 2010, Chagai Ensenberg wrote:

> I am  a very new (just graduated) engineer. And my first task in my first
> (new) job is to learn the BF518f (with the EZ-kit-Board). I'm using the
> VisualDsp++5.

Congratulations!

> *my task is: receive audio input, sample it (of course) perform a fft ,
and
> output it back to pc.*
>
> *                         later on, i while have to do some analisys on
the
> frequency domain (but i will leave that for now).*
>
> I have some questions:
>
> 1) I read that the whole BF family should be compatible to one and other -
> i.e. projects for BFXX could run after rebuild on a different BF
processor.
> is that so?

Yes, the core is the same.  There might be a few instructions different, 
but if you write in C the compiler will take care of that.

> 2) I haven't found a step by step tutorial for beginers. is there one?

Not really.  Just play with the demos and try things.  You learn more when
things break and you have to fix them.

> 3) i have found a code that is called fft_demo (provided with the cd) - i
> managed to build and run it, and it works nice. Is there a way i can
modify
> it so that instead of generating a  sine (sweep on the freq) and then
doing
> the fft, it can perform the fft on my sampled audio signal.

You bet!  Just start hacking the code - copy it and give it a new name, 
then change it to accept you data.  Look at the "talk-thru" example 
program and combine that with the fft_demo.  You'll be on your way to 
finishing your project pretty quickly.

> 4)  i also found the code called "Audio TT" which receives audio
and simply
> outputs it - is it possible to combine the two codes somehow (with
> modifications) so that the audio input is not otputed immediately but
> instead it goes to a fft module. -which is then outputed to the pc.

TT = talk-thru, so yes :-)

> 5) i guess in general I'm asking for help :-).

Break things, and figure out what broke, then break them again.  The more 
mistakes you make, the faster you will learn.  Always have a position that 
works (the demo), make a change, figure out why the change didn't work and 
make it work, then make another change.  When you get stuck, feel free to 
ask questions, there are a lot of people here with a lot of experience.

Patience, persistence, truth,
Dr. mike

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: executing fft on an input stream - sotn...@scideco.ru - Jun 17 13:11:39 2010

As you're a beginner, i'd also recommend you to write your own talkthrough
code from the scratch (of course if your time budget permits). I haven't worked
with BF518f EZ-Board, but as i can guess from my experience with BF527, the
examples that ADI provides with their latest boards are based on the device
drivers solely. They are very helpful, of course, but IMHO you'll understand
main aspects of BF programming (including interrupt servicing, DMA, builtin
function usage and so on) much more quickly if you start with writing your own
code not using system service libraries and device drivers. After that moving to
SSL and DD will become an easy task.

--
Alexander

Hi,
>
>I am  a very new (just graduated) engineer. And my first task in my first
>(new) job is to learn the BF518f (with the EZ-kit-Board). I'm using the
>VisualDsp++5.
>
>My only experience is from the university. - I have written quite a few C
>programs -including threads etc. those programs were always implemented and
>run on a pc. I don't have to much experience with writing to an embedded
>processor - controling its I/O etc..
>
>Yesterday and today, i've googled quite a lot in order to find a very easy
>to understand manual for beginners. i haven't found one yet.
>
>*my task is: receive audio input, sample it (of course) perform a fft , and
>output it back to pc.*
>
>*                         later on, i while have to do some analisys on the
>frequency domain (but i will leave that for now).*
>
>I have some questions:
>
>1) I read that the whole BF family should be compatible to one and other -
>i.e. projects for BFXX could run after rebuild on a different BF processor.
>is that so?
>
>2) I haven't found a step by step tutorial for beginers. is there one?
>
>3) i have found a code that is called fft_demo (provided with the cd) - i
>managed to build and run it, and it works nice. Is there a way i can modify
>it so that instead of generating a  sine (sweep on the freq) and then doing
>the fft, it can perform the fft on my sampled audio signal.
>
>4)  i also found the code called "Audio TT" which receives audio
and simply
>outputs it - is it possible to combine the two codes somehow (with
>modifications) so that the audio input is not otputed immediately but
>instead it goes to a fft module. -which is then outputed to the pc.
>
>5) i guess in general I'm asking for help :-).
>
>Thanks,
>
>Chagai

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )