Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by zainmsp

  1. in order to use this library call power function first and then init function.
    In usci _spi class there is a function call spi_send, before return line you might need to give delay(100). without delay you can use simple print statement as well. I had to used it otherwise it was not transmitting data

  2. I solved this problem. the problem was in the connection. I connected MOSI of cc1101 to MISO of msp430 launchpad and MISO of cc1101 to MOSI of msp430 launchpad.

    It was the connection problem rather than coding issue.


  3. Hi All,

    I am trying to create a transmitting and receiving node. My setup is as follows

    My transmitting node #1 is mbed-K64F with cc1101.(working fine sending data)

    My transmitting node #2 is msp430g2553 with cc1101.(giving me challenges)

    My receiving node is mbed-lpc1768 with cc1101 (working fine and received data from node #1)

    my connection for msp430 are as follows:

    1. csn is at pin 8
    2. sck is at pin 7
    3. mosi is at pin14
    4. miso is at pin 15
    5. I just declare csn as output, the rest of the pins i assume gets configured when we call spi.begin()?

    I imported the cc1101 library from mbed and managed to convert and compile it without errors. However I am still struggling to send the message to receiving node. My logic is as follows:

    • initialize SPI library (1 MHZ of frequency,SPI msb datamode and SPI_mode0)
    • initialize registers of cc1101 
    • send data after every 4 seconds

    I used Serial.println to debug my program and I can see it is calling the spi_send function in usci_spi.cpp file but i cant see any packet in the receiving end.

    Almost same logic and code is running on k64f, even my print statements are giving me same values of registers,addresses and data. But msp430 is not sending data mbed-k64f is sending data.

    Anyone got a joy to successfully sending the data with msp430g2553 please help!!!

    I  have also attached my cc1101.h/cpp files. Please feel free to have a look and let me know if I am doing anything wrong.
    thanks in advance,





  4. Hi All,

    I am new to msp430 world, so far i have done many projects with mbed (LPC1768,KL25Z and K64F). I liked mbed as it is so easy to use, however to make cost efficent and low power products i am now trying to learn msp430. 

    I want to interface msp430g2553 with cc1101 transceivers. I have done the basic communication using mbed(like sending and receiving data). However I need some help with msp430.

    I want to use msp430 as transmitter first and receive data on mbed-lpc1768. I have converted the mbed library to msp430(changed syntax where required) and managed to compile it with no errors.

    However when i am calling send function it is not sending data, can anyone tell me how to set frequency to 1MHz. do I need to divide by 16 in set clock more or with 4.

    Anyone who has done similar project in energia please provide some assistance.

    thanks in advance,


  5. Hi,

    I just created account, i have been using mbed microcontrollers from last 4 years. now i want to start work with msp430 platform.

    i started with code composer, however i believe that it would be quicket to start with energia and then if i need more control then i should use CCS.


    have a great day xx



  • Create New...