Sign in

username:

password:



Not a member?

Search msp430



Search tips

Subscribe to msp430



Ads

Discussion Groups

Discussion Groups | MSP430 | Someone help me with FFT?

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

Someone help me with FFT? - "keller.lima" - Aug 30 10:39:12 2008

Staff,
I'm a Brazilian student and I am starting a project with the FFT in
MSP430. This is my first experience with programming and I do not know
how to start. I read posts about the FFT but I still have doubts.
Someone help me? How to begin? Thanks.
------------------------------------



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


Re: Someone help me with FFT? - Augusto Einsfeldt - Aug 30 10:58:24 2008

Is this your very first experience programming anything?
What do you have for this start? Want to program in C or Assembler; going t=
o use actual hardware or doing the
whole project in simulation only; ???
Your scream for help has no information on how someone could help you.
In case you can do it in simulation only the it may be much easier for you.
Next, in case you have a full IAR tool (or other that can simulate) then yo=
u can go in C, otherwise you can use
the free IAR tool (you can download from Texas Instruments website) and do =
all in Assembler.
If you have some experience programing other uC it will be quite to you to =
start with MSP430. If not, then you
should at least buy a book on how to program (and use) MSP430. You can find=
a very good book written by Fabio
Pereira, in Portuguese.
If you need to make a real thing, programming a device and test how it work=
s, then you must learn a lot more
about MSP430's: hardware, interfacing, peripheral setups, system registers,=
interrupt handling, etc.
Implementing FFT is not very complicated but you must know how to make simp=
le programs first.
-Augusto=20

---------- Cabe=E7alho original -----------

De: m...@yahoogroups.com
Para: m...@yahoogroups.com
C=F3pia:=20
Data: Sat, 30 Aug 2008 03:34:36 -0000
Assunto: [msp430] Someone help me with FFT?

> Staff,
> I'm a Brazilian student and I am starting a project with the FFT in=20
> MSP430. This is my first experience with programming and I do not know=20
> how to start. I read posts about the FFT but I still have doubts.=20
> Someone help me? How to begin? Thanks.
>=20
>=20
------------------------------------



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

Re: Someone help me with FFT? - Steve Sabram - Aug 30 13:16:30 2008

Microcontroller programming is not for armatures. Go back to Visual Basic.

keller.lima wrote:
>
> Staff,
> I'm a Brazilian student and I am starting a project with the FFT in
> MSP430. This is my first experience with programming and I do not know
> how to start. I read posts about the FFT but I still have doubts.
> Someone help me? How to begin? Thanks.
>
>
------------------------------------



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

Re: Someone help me with FFT? - Kipton Moravec - Aug 30 16:12:14 2008

Don't be rude. And if you are going to be rude learn how to spell (i.e.
"amateur"), then only half of the people will think you are an idiot. If
you are rude and can't spell then everyone will think you are an idiot.

Kip

On Sat, 2008-08-30 at 10:14 -0700, Steve Sabram wrote:
> Microcontroller programming is not for armatures. Go back to Visual Basic.
>
> keller.lima wrote:
> >
> > Staff,
> > I'm a Brazilian student and I am starting a project with the FFT in
> > MSP430. This is my first experience with programming and I do not know
> > how to start. I read posts about the FFT but I still have doubts.
> > Someone help me? How to begin? Thanks.
> >
> >
> ------------------------------------



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

Re: Someone help me with FFT? - Andreas =?ISO-8859-1?Q?K=F6pke?= - Aug 30 16:38:20 2008

Actually there is an application note from TI that covers the FFT:

http://focus.ti.com/mcu/docs/mcusupporttechdocsc.tsp?sectionId=96&tabId=1502&abstractName=slaa042

Best, Andreas

Am Samstag, den 30.08.2008, 03:34 +0000 schrieb keller.lima:
> Staff,
> I'm a Brazilian student and I am starting a project with the FFT in
> MSP430. This is my first experience with programming and I do not
> know
> how to start. I read posts about the FFT but I still have doubts.
> Someone help me? How to begin? Thanks.
>
------------------------------------



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

Re: Someone help me with FFT? - Tom Baugh - Aug 30 18:54:03 2008

> I'm a Brazilian student and I am starting a project with the FFT in
> MSP430. This is my first experience with programming and I do not
know
> how to start.

Hi Keller,

One of the other posters mentioned the book by Fabio Pereira. In
your case if you can find a copy of that it would be perfect for you,
but I think it is out of print. You might be able to find it on eBay
or somewhere.

You are going to need to learn a little bit of C. There are lots of
great resources available to help you start that journey, but you can
find many tutorials on the web. Try www.cprogramming.com, for
example.

Once you know a little bit of C, the next thing to learn is how to
work with MSP430 applications. Unfortunately, most of the sample
code you find online, such as TI samples, don't get you beyond how to
use a specific chip peripheral, but for that purpose they are very
good.

To learn how to write an entire application for the MSP430, our
recent book, MSP430 State Machine Programming, is intended for
readers that want to learn without wasting a lot of time. You can
find this book on amazon:

http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%
2Fwww.amazon.com%2FMSP430-State-Machine-Programming-ES2274%2Fdp%
2F0975475924%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1214397954%26sr%3D8-
1&tag=softcom-20&linkCode=ur2&camp=1789&creative=9325

If that link doesn't work for you, then search amazon for MSP430, as
one word, then choose our green and white title from the list. That
book is written for use with our ES2274 board, but can work with any
MSP430 board with proper porting. In your case, getting started will
be a lot easier with our ES2274 board:

http://www.softbaugh.com/ProductPage.cfm?strPartNo=ES2274

We don't have a distributor in Brazil, but let us know and we can put
you in touch with an exporter that can get you one.

Since you are new to the MSP430, you might want to get a copy of John
Davies' book too, MSP430 Microcontroller Basics, which was released
on Friday:

http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%
2Fwww.amazon.com%2FMSP430-Microcontroller-Basics-John-Davies%2Fdp%
2F0750682760%3Fie%3DUTF8%26s%3Dbooks%26qid%3D1220014595%26sr%3D8-
2&tag=softcom-20&linkCode=ur2&camp=1789&creative=9325

If that link doesn't work, his will be listed on the MSP430 search
next to ours. Both books should be at the top of the list :-)

We haven't read his published version, but John sent us a more or
less final draft before it went to press. It is a great introduction
to the MSP430 for a new microcontroller student. His book makes a
great text for a first semester course, while our book builds on his
regarding application design. Or you could use his book for a course
text and ours for a lab manual for a single semester, or pretty much
teach yourself.

The FFT is a more advanced topic, and unless your sample rate is very
low, or your desired width very narrow, then the MSP430 might not be
the right choice. In any event, the TI appnote should give you
enough information to get started and make that decision for yourself.

Tom

------------------------------------



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

Re: Someone help me with FFT? - "keller.lima" - Aug 30 19:19:07 2008

Thanks August, Andreas, Kipton and Tom.
In fact I already programmed in assembly and know a little bit=20
of C. Yesterday I didn't say details about the project. What deal is=20
a sign that the mixture of two analogue signals with different=20
frequencies, I think in converts them into digital (AD) then apply a=20
FFT for discovery a predominant frequency and then process them. I=20
downloaded IAR free on the TI site, bought the book from fabio=20
pereira and I am studying C. My main doubt is what things I should=20
consider to programming the FFT. For example I do not know if use the=20
hardware or software to the FFT. What is the best option? Sorry if=20
I=B4m layman but is that all documents are in English and I have no=20
fluency in the language. If someone can help me I will be eternally=20
grateful.=20

Steve=20
If you don't want to help it's OK, but you don't need to express=20
this. I think that people who have knowledge and not to divide never=20
should have acquired.

Thanks for all.
--- In m...@yahoogroups.com, "Augusto Einsfeldt" wrote:
>
> Is this your very first experience programming anything?
> What do you have for this start? Want to program in C or Assembler;=20
going to use actual hardware or doing the
> whole project in simulation only; ???
> Your scream for help has no information on how someone could help=20
you.............
------------------------------------



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

Re: Someone help me with FFT? - aee - Aug 30 20:07:41 2008

Andreas' response has actually the best clue to your implementation. Find =
the TI's he pointed out (in the link
he provided). Find this other one, too: http://focus.ti.com/lit/an/slaa331/=
slaa331.pdf
TI has a lot of well written white paper documents and most of the examples=
are in Assembler (performance/use
of hardware features/native language for MSP designers).
This kind of work you have to do use knowledge that are mostly in English w=
ritten papers and books. Also, if
you want to work as a professional in any technical area like electronics o=
r programing you must learn English.
But for this project you have in hands you may need some advice from your t=
eacher. The implementation is not easy.=20
Good luck with your project.
-Augusto
---------- Cabe=E7alho original -----------

De: m...@yahoogroups.com
Para: m...@yahoogroups.com
C=F3pia:=20
Data: Sat, 30 Aug 2008 23:19:02 -0000
Assunto: Re:[msp430] Someone help me with FFT?

> Thanks August, Andreas, Kipton and Tom.
> In fact I already programmed in assembly and know a little bit=20
> of C. Yesterday I didn't say details about the project. What deal is=20
> a sign that the mixture of two analogue signals with different=20
> frequencies, I think in converts them into digital (AD) then apply a=20
> FFT for discovery a predominant frequency and then process them. I=20
> downloaded IAR free on the TI site, bought the book from fabio=20
> pereira and I am studying C. My main doubt is what things I should=20
> consider to programming the FFT. For example I do not know if use the=20
> hardware or software to the FFT. What is the best option? Sorry if=20
> I=B4m layman but is that all documents are in English and I have no=20
> fluency in the language. If someone can help me I will be eternally=20
> grateful.=20
>=20
> Steve=20
> If you don't want to help it's OK, but you don't need to express=20
> this. I think that people who have knowledge and not to divide never=20
> should have acquired.
>=20
> Thanks for all.
>=20
>=20
> --- In m...@yahoogroups.com, "Augusto Einsfeldt" wrote:
> >
> > Is this your very first experience programming anything?
> > What do you have for this start? Want to program in C or Assembler;=20
> going to use actual hardware or doing the
> > whole project in simulation only; ???
> > Your scream for help has no information on how someone could help=20
> you.............
>=20
>=20
------------------------------------



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