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/MSP430G2513: How to use SPI Bootloader with CC110L ?

Part Number: MSP430G2513
Other Parts Discussed in Thread: CC110L, CC1101, MSP430F5529

Tool/software: Code Composer Studio

Hello!


in order to not create many topics on the same thing, I hope that you will answer my progressive questions so that I can understand the solution properly.
from a general view, I must use the CC110L to communicate a MSP master and a slave MSP to load a code.

first, how can I use the CC110L just to communicate two MSPs?

And how to force the MSPBoot through the application? ie how can I force the msp in the bootloader mode just with the code, do I have to put precise values in these two variables [PassWd , StatCtrl.BIT0] ? that's all ?

I'm waiting for your answer to move on to other questions.
thank you

  • Hi Zakaria,

    I have never heard of using 2 hosts with 1 SPI slave. I suppose it's doable, but you'll have to come up with your own arbitration scheme where the master cues whether the slave should communicate with the device or not. This seems risky. Can the master not receive data from SPI and pass it to the slave.

    As for your second question, I read section 2.2.1.1. of the guide and it appears you are correct.

  • Hi Mr Cameron,

    I do not want to use two hosts with 1 SPI slave, I want to use one SPI as host and another as target, and by forcing the target on the bootloader mode, I want to update the firmware of the target by the host.

    is there a guide for using the SPI between two MSPs to update the firmware using the bootloader ?

    my second question is how can one make a simple radio communication by the CC110L, is there an application to exchange the data between two MSP

    thank you so much Mr Cameron.

  • Hi Zakaria,
    The latest version of MSPBoot shows what you are trying to do using MSP430F5529 called OTA. It uses the CC1101 though. I'm not sure of the differences between it and the CC110L, but you may be able to port it to your MCU and radio. I believe it uses SPI as well.
  • Hi Cameron,

    thanks a lot for your help !


    Another question, how can I notice that the MSP and in bootloader mode, is LED 1 and LED 2 have a meaning to know if the msp is in boot mode?

    thank you ! 

  • Hi Zakaria,
    Section 4.2.5 of SLAA600 says that both LED1 and LED2 will remain on while in bootloader mode.

**Attention** This is a public forum