This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP-EXP430F5529LP: MSP-EXP430F5529LP

Part Number: MSP-EXP430F5529LP
Other Parts Discussed in Thread: MSP430F5529, ENERGIA, MSP430G2231, MSP430WARE, MSP-EXP430FR5994, BOOSTXL-AUDIO

Tool/software: Code Composer Studio

Hello,

I am working with the MSP430F5529 Launchpad and feel like I have been running in circles. My project is to take an analog input from one of several analog sources, and have my microprocessor recognize the audio signal's frequencies and amplitudes of each frequency. My plan of thought is to have an ADC inside the msp to convert the input pin at the moment and take the ADC output and put it through an FFT algorithm. The input is up for changing, so I will need the ADC to be able to convert any of my 4 analog inputs. Does this seem like a good plan?

Also, I originally started with Energia because that was what I have been experienced before, but from research of others experiences have been working with Code Composer Studios. Is this a better choice? I like Energia, but if it's going to cause more pain than anything I'd just do away with it.

I have been analyzing a lot of code, but am getting more and more confused. In Energia, the analog pins where simple as analogRead(A12), I understand that I am changing to CCS which won't recognize A12 it seems... Is there an easy (organized) way of knowing how to call upon the input pins  (the MSP430F5529 has 40 pins)

One more quick question, I have been using a code that has #include "msp430g2231.h", I assume this won't work with the msp430F5529 board correct? I have tried replacing it with #include "msp430.h", but this lead to identifiers becoming undefined

Any help and tips would be very much appreciated. Thanks!

  • Hello Hayden,

    Please refer to DSPLib included in MSP430Ware for some FFT examples to help get you started. You should also review the BOOSTXL-AUDIO design materials and possibly consider using a MSP-EXP430FR5994 so that you can utilize the LEA peripheral.

    I recommend CCS over Energia for the in-depth register control and debugging features that your project will require. As you will find out, Energia's APIs are extremely limited when considering analog sample-and-conversion control (among others) and will not be able to perform to the degree necessary. You can refer to either the C code examples or DriverLib examples which are also found in MSP430Ware (located in CCS's Resource Explorer). Start with examples that already refer to the proper MSP430 derivative.

    Regards,
    Ryan

**Attention** This is a public forum