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.

MSP430F5529: BOOST-CC2564MODA stack on MSP430F5529LP

Part Number: MSP430F5529
Other Parts Discussed in Thread: CC2564, CC2564MODA, MSP430F5659, MSP430F5438

Greetings,

I'm building a Bluetooth audio product in which I need the CC2564 to act as an audio sink, spitting out PWM signals to a DAC (also from TI).  I have the MSP430F5529 launchpad right now, the BOOST, and the DAC on a protoboard, and I just want to have some proof of concept as soon as possible.  

I downloaded the CC2564MODA stacks for the MSP430.  How should I go about testing the BOOST module?  The example stack implementations seem all too big to fit on an MSP430F5529.  For example, the SPPLEDemo_lite still needs about 5 more kB to fit the example.  

Right now, any stack will work, as I have a custom PCB built around the F5659 (512kB flash) that will fit any of these examples.  I just want to prove that I can connect to the Bluetooth module with a phone and do SOMETHING on the F5529, so that when the F5659 board and components come in, I can assemble and develop in a heartbeat since I'll have figured out all of the protocols and nuances.   

What do the masters recommend?  I appreciate any advice!

  • Hi,

    This stack is the only one that will work withe the CC2564MODA + the MSP430. It looks like the CCS project is configured for the MSP430F5438, not the MSP430F5529. This is why the code is too big for the MSP430F5529. So, for you to run the project on the CC2564 + MSP430 LaunchPad, you will need to port the code to the MSP430F5529 (this will mostly require changing port defines). This can be done by using the devices User's Guide, as well as the porting information found in the documentation folder of the CC2564MODA SDK that you downloaded. You will need to do the for the MSP430F5659 anyway once you receive you PCB.

    Regards,
    Nathan
  • When you say "This stack" do you mean the SPPLEDemo_lite? I will try later today but I think the last time I did it, it didn't shrink down much after porting the code. I might be mistaken or I might have done something incorrectly. I'll let you know my progress later today!
  • Okay I finished porting the code, and still have flash size issues with the launchpad.  Here is my error and the current state of the problematic parts of SPPLEDemo_lite.map:

    SECTION ALLOCATION MAP

    output                                  attributes/

    section   page    origin      length       input sections

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

    .pinit     0    00004400    00000000     UNINITIALIZED

    .text.1    0    00000000    0000047a     FAILED TO ALLOCATE

    .bss       0     00002400    000013ca     UNINITIALIZED

                         00002400    00000e12     BTPSKRNL.obj (.bss)

                         00003212    000001b6     SPPLEDemo.obj (.bss)

                         000033c8    00000142     HAL.obj (.bss)

                         0000350a    0000013e     libBluetopia_LE.a : BSC.obj (.bss)

                         00003648    000000e6     HCITRANS.obj (.bss)

                         0000372e    00000048     libSS1BTGAP.a : GAPS.obj (.bss)

                         00003776    00000024     sprintf.obj (.bss)

                         0000379a    00000010     BTPSVEND.obj (.bss)

                         000037aa    0000000c     libSS1BTGAT.a : GATT_S.obj (.bss)

                         000037b6    00000008     rts430x.lib : _lock.obj (.bss)

                         000037be    00000008                 : boot.obj (.bss)

                         000037c6    00000004     Main.obj (.bss)

    .stack     0    00003f50    000004b0     UNINITIALIZED

                           00003f50    00000002     rts430x.lib : boot.obj (.stack)

                           00003f52    000004ae     --HOLE--

    How can I reduce the size of the code of this stack?  

  • Hi,

    SPPLEDemo_lite is a project built on the wireless stack. Did the project build with no errors after you ported it?

    Please see the following document on some ways to reduce the code size: www.ti.com/lit/an/slaa801/slaa801.pdf

    Regards,
    Nathan

**Attention** This is a public forum