• Not Answered

MSP430F5529: MSP430F5529:

Part Number: MSP430F5529

Hello,

I am working on a personal project where I get an audio signal and lights up a 32x32 LED matrix. So far, I have put together code that is utilizing the ADC of my MSP430F5529 Launchpad. I am planning on sending the audio signal through a FFT and then to the LED matrix. I was wondering if anyone could point me towards some example codes that show how to use the FFT coming from the ADC, and/or code that will send the LED Matrix a signal to light up from the FFT output. I have been using Code Composer Studios

I appreciate any help or ideas.

Thank you 

Hayden

3 Replies

  • Hi Hayden,

    I know you're working on the MSP430F5529 but have you considered using the MSP430FR5994? The MSP430FR5994 has a Low Energy Accelerator (LEA) that can perform functions like FFT at low power. There is also a TI reference design called Filtering and Signal Processing with Low Energy Accelerator (LEA) on MSP FRAM Microcontroller that shows how to use the module with audio and an LCD display. Let me know your thoughts.

    Best regards, 

    Caleb Overbay

  • In reply to Caleb Overbay:

    Caleb,

    Thank you for the quick response, I had not see the MSP430FR5994 before and wish I had, that is definitely the module I should be using. That being said, working with my current MSP430F5529 device, I already have hardware set up utilizing an input of RCA, AUX, and a microphone set up, and an ADC code for it, At this point in time, I would rather finish of with the current devices I am using, and then improve it with the MSP430FR5994 , unless the LEA is really going to make life 10x easier.
    I guess if it would be easy and worth it, I can switch all of my hardware to a MSP430FR994 and recycle a lot of my code, but I wouldn't plan to use the booster pack since I don't need the LCD screen or speaker.
    I have also been using the MSPWare library examples to point me in the right direction and have been looking at the three FFT examples and am looking at the third one in particular.

    //! \example transform_ex3_fft_iq31.c
    //! This example demonstrates how to use the msp_fft_iq31 API to transform a
    //! 32-bit real input data array to the frequency domain using the fast fourier
    //! transform (FFT) with fixed scaling.

    Should this example code work for both the both MSP430 boards?
    Thank you for the help, if my current code would help at all, I can also add that.

    Hayden
  • In reply to Hayden Oeser:

    Hi Hayden,

    I completely understand wanting to finish development on the hardware you currently have. The examples you're looking into are in DSPLib and will work on any MSP430 device. The implementation however will vary from device to device, but this is something you don't have to worry about. For example on the MSP430F5529 the library will use the HW multiplier whereas on the MSP430FR5994 it will use LEA. All of this is done automatically depending on which device you choose to run the DSPLib code on.

    Another benefit of the MSP430FR5994 is the FRAM memory that is ideal for data logging and is much faster reads and writes when compared to flash. Let me know if you run into any issues along the way and I'll be happy to help.

    Best regards,
    Caleb Overbay