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.

MSP430G2553: LaunchPad and CC110L AIR Module Mesh Network getting started

Part Number: MSP430G2553
Other Parts Discussed in Thread: CC110L, , CC1101, MSP430G2533

Hello,

I'm Getting started on an MSP430G2553 LaunchPad kit along with the CC110L AIR Module. I specifically want to use the mesh network wireless connectivity as in this document.  http://www.ti.com/lit/ug/tidu546a/tidu546a.pdf 

Working with 2 sets (launch pad and air module), 1 as a master and 1 as a slave. Loaded the software from TI website labeled Sub-1GHz Low Cost Mesh Network Software (Rev. A) using IAR onto each set (1 as master, 1 as slave). I have the master connect to a PC and Teraterm for viewing COM data. However, I don't see any COM data coming through and not sure how to move forward. I have searched as well as reached out to TI, but could not get that much help and was recommended to post here.

Questions/ Concern:

1. The example in the document uses CC1101, will I be able to use CC110L instead without code modifications?

2. Where can I find the GUI that was used the in document on page 11?

3. In need of some support if anyone can help with a step by step procedure that will be great.

Thanks,

Tan

 

  • Hi Tan,

    CC110L is based on the CC1101, except it has a few less features, so the code should work fine without modifications, as long as the code isn't using any of the features that are not available on the CC110L. A list of these features can be found in this thread: e2e.ti.com/.../153153.

    I am not sure that the GUI is currently publicly available. I will see if I can find it for you. Either way, you should be able to use a terminal PC program, as you said. Are you using 9600 BAUD in Teraterm? And what other settings are you using?

    Regards,
    Nathan
  • Hi Nathan,
    Thank you for your input. For the baud rate I am using 9600 ,data 8 bit, parity none, stop bit 1, flow control none, and the Tera Term software does detect the MSP board via UART, just that I dont see any COM data displayed when I load and run the code from IAR. I'm not sure if during load and running the code, the UART is occupied for debugging? Is there a proper way or set of instructions available to download the code from IAR to the flash of the MSP?

    Tan
  • Hi Tan,

    Upon further looking at this reference design, it does not use the LaunchPad + AIR module. It instead uses a board (the design page should contain the design files and schematics) that contains the CC1101 and the MSP430G2533. Therefore, the serial operation (as well as other aspects potentially) will not work correctly with the provided software, because it is not designed for that hardware configuration.

    Unfortunately, it looks like most of the code is implemented in libraries, so it does not look like you will be able to take it and modify it. Either way, many changes would be needed, so you are likely best off using the code examples on the CC110L and MSP430G2533 product pages, and going from there.

    Regards,
    Nathan
  • Nathan,
    In regards to what you mentioned that the code being implemented in libraries and will not be able to modify. If I were to design my own board based on the design files and schematics (pretty much copy the design) using the CC1101 and MSP430G2533 chip, will I still be able to modify the code for customization? For example, using the MCU chip to turn on/off an I/O or get data from a sensor, etc?

    Thank you,
    Tan
  • Hi Tan,

    You will be able to modify anything that is not in a library. It looks like there is only one .c file in this project, so that is all that you can modify. However, if you are only using GPIOs or other modules/pins that are not already used by the design, then yes, you could add that code yourself.

    Regards,
    Nathan
  • Nathan,

    The Target board in the example uses 2wire JTAG (Spy-Bi-Wire) to program the flash. IAR's debugger/programmer option for the MSP430 line is a FET debugger. Which linker do you recommend for programming the target board flash (PC to 2 wire JTAG).

    Thanks,

    Tan

  • Hi Tan,

    You will still need an MSPFET. You can find information on debuggers here: www.ti.com/lit/ug/slau647k/slau647k.pdf

    As for IAR, you should leave the FET option. IAR should automatically detect which configuration you are using and act accordingly.

    Regards,
    Nathan
  • Hi Nathan,
    After reviewing and trying to understand the main.c code. It seems that customization to my application using the example code might be somewhat complicated (at least for me). What I intend to do is have one master and multiple slaves, and the master act as a controller to turn on a light bulb on the slave side. By any chance you have source codes to the libraries in the example code? Seems like there is more I need to modify than just main.c

    Thanks,
    Tan
  • Hi Tan,

    I do not believe that source code is available, and I agree that it will probably be complicated to do what you are trying to do without having access to that code.

    If you need a step-by-step guide on implementing a Sub 1 GHz mesh network or example code to modify, I would suggest that you post in the Sub 1 GHz forum, as the code that you are trying to use is actually for different hardware than you have anyway.

    Regards,

    Nathan

**Attention** This is a public forum