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.

Error in running SLAA325A example demo code

Other Parts Discussed in Thread: MSP430F5529

Hi,

  I want to interface CC1101EMK433 transceiver module with MSP430F5529 launchpad via SPI and was trying to run the example library SLAA325A provided by TI. But unfortunately I'm facing some errors while building the program. I have attached the screen shots of the project manager and the errors. Please provide some suggestions to resolve this issue. 

Thanks

  • Hi Vignesh,

    File required for TI_CC_spi.c doesn't seem to be linked properly. Can you check the same? When you F3 the register in that file are you able to observe the spi initialization?  or does it throw any error?

    Check for the SPI header file inclusion.


    Regards,
    Gautam

  • Hi Gautam,
    Thanks for the response.
    Can you please explain how to check the file if it is linked properly.

    "When you F3 the register in that file are you able to observe the spi initialization? or does it throw any error?"
    What does it mean?

    Also in the include header file:
    // Uncomment/Comment out depending on which experimenters board is being used
    #include "TI_CC_hardware_board.h"
    //#include "TI_CC_hardware_board_eZ430.h"
    //#include "TI_CC_hardware_board_EXP4618.h"
    //#include "TI_CC_hardware_board_EXP5438.h"

    Can you suggest which one needs to be commented/uncommented.
    When EXP5438 is selected, I get 15 errors.
    When EXP4618 is selected, I get 72 errors
    When eZ430 is selected, I get 36 errors and
    when hardware_board is used, I get 15 errors.

    Thanks,
    Vignesh
  • Hi,

     I have attached the error log.

    Thanks,

    Vignesh

  • Vignesh,

    Please make sure to carefully follow the guidelines in the App note accompanying slaa325, especially the section under "Usage Considerations".

    http://www.ti.com/lit/slaa325

    If you still have trouble with this after reviewing that section, I would suggest creating a new post in either the MSP430 or Wireless Connectivity device forums as they should be more familiar with this example package.

**Attention** This is a public forum