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.

SimpliciTI on CC2533

Other Parts Discussed in Thread: CC2533, CC2530, SIMPLICITI, CC2530EM, CC1100, CC1101, CC1100E, CC2500, CC2510, CC2511, CC2430, CC2431, CC2520, CC253, CC2543

Hello, I am wondering if it is feasible to implement the Sensor Monitor example (http://www.ti.com/litv/zip/slac139e) which was designed for eZ430 on CC2533 ? If so, what parameters should I change?

By exploring the SimpliciTI folder, I saw some examples on CC2530, may I debug those codes on my CC2533 development board? What parameters should I change to make it work on CC2533?

 

Thank you

  • To compile the CC2530 projects in SimpliciTI for the CC2533 you will need to make the following modifications shown in red and then all should compile.

    1) <install_dir>\SimpliciTI-IAR-1.1.1\Components\bsp\boards\CC2530EM\bsp_board_defs.h ~ line 62

    /* ------------------------------------------------------------------------------------------------
     *                                          Clock
     * ------------------------------------------------------------------------------------------------
     */
    #if defined(MRFI_CC2530) || defined (MRFI_CC2533)
      #define __bsp_CLOCK_MHZ__         32  /* MHz */
    #else
      #error "ERROR: __bsp_CLOCK_MHZ__ not defined for this radio."
    #endif

     

    2) <install_dir>\SimpliciTI-IAR-1.1.1\Components\bsp\boards\CC2530EM\bsp_external\mrfi_board_defs.h  ~ line 53

    /* ------------------------------------------------------------------------------------------------
     *                                        Radio Selection
     * ------------------------------------------------------------------------------------------------
     */
    #if (!defined MRFI_CC2530) && (!defined MRFI_CC2533)
      #error "ERROR: A compatible radio must be specified for the CC2530EM board."
    #endif

     

     

    3) <install_dir>\SimpliciTI-IAR-1.1.1\Components\mrfi\mrfi_defs.h ~ line 95

    /* ------ Radio Family 6 ------ */
    #elif (defined MRFI_CC2530) || (defined MRFI_CC2533) /* 2.4 GHz IEEE 802.15.4 SoC */

    #define MRFI_RADIO_FAMILY6

     

     

    4) <install_dir>\SimpliciTI-IAR-1.1.1\Components\mrfi\mrfi_defs.h ~ line 212

    NOTE: make sure there are no white space characters after the added back slash ( \ )

    /* verify that only one supported radio is selected */
    #define MRFI_NUM_SUPPORTED_RADIOS_SELECTED   ((defined MRFI_CC1100) + \
                                                  (defined MRFI_CC1101) + \
                                                  (defined MRFI_CC1110) + \
                                                  (defined MRFI_CC1111) + \
                                                  (defined MRFI_CC1100E_470) + \
                                                  (defined MRFI_CC1100E_950) + \
                                                  (defined MRFI_CC2500) + \
                                                  (defined MRFI_CC2510) + \
                                                  (defined MRFI_CC2511) + \
                                                  (defined MRFI_CC2430) + \
                                                  (defined MRFI_CC2431) + \
                                                  (defined MRFI_CC2520) + \
                                                  (defined MRFI_CC430)  + \
                                                  (defined MRFI_CC2530) + \
                                                  (defined MRFI_CC2533)
    )

     

     

    5) <install_dir>\SimpliciTI-IAR-1.1.1\Components\mrfi\radios\family6\mrfi_radio.c ~ line 150

    #if defined(MRFI_CC2530)
    #define MRFI_RADIO_PARTNUM        0xA5
    #define MRFI_RADIO_MIN_VERSION    1
    #elif defined(MRFI_CC2533)
    #define MRFI_RADIO_PARTNUM        0x95
    #define MRFI_RADIO_MIN_VERSION    1
    #else
    #error ERROR: No part number or radio version defined for radio
    #endif

     

  • I forgot you also need to modify the compiler defines in the project options dialog under the C preprocessor tab as follows

    MCU_H=<ioCC2533.h>
    MRFI_CC2533

    Jim Noxon

     

  • Jim Noxon said:

    I forgot you also need to modify the compiler defines in the project options dialog under the C preprocessor tab as follows

    Hello Jim,

    Thank you so much for your prompt and straight forward solution, it works great on my CC2533 kits.Woudl you please advise some tips on how to implement the Sensor Monitor Demo example (for eZ430-RF2500) on this CC2533 ? That is my ultimate goal because I am taking the advantage of the hardware IIC integrated in CC2533.

    Thanks again for your assistance and patience.

    MCU_H=<ioCC2533.h>
    MRFI_CC2533

    Jim Noxon

     

    Jim Noxon said:

    I forgot you also need to modify the compiler defines in the project options dialog under the C preprocessor tab as follows

    MCU_H=<ioCC2533.h>
    MRFI_CC2533

    Jim Noxon

     

  • Hello Jim,

    Thank you so much for your prompt and straight forward solution, it works great on my CC2533 kits.Woudl you please advise some tips on how to implement the Sensor Monitor Demo example (for eZ430-RF2500) on this CC2533 ? That is my ultimate goal because I am taking the advantage of the hardware IIC integrated in CC2533.

    Thanks again for your assistance and patience.

  • Hello Jim, I have bought a set of CC2530 MiniZNP kit  http://focus.ti.com/docs/toolsw/folders/print/cc2530zdk-znp-mini.html

    Since CC2533 connot communicate with CC2500 easily, I switched to CC2530. I have tried to implement the SimpliciTI 1.1.1 Example code of "AP_AS_DATA_HUB" however, the CC2530 mini board on eX430 does not work. Is there any chance that I can implement this Data Hub example on CC2530?

    Thank you

  • I would expect you could use the ez430 CC2530 kit to do this.  I would suggest using one of the projects in the ez430RF subdirectory and change the targeted radio to the CC2530.  You do this in the project options dialog under the C/C++ catagory inside the pre-processor tab.  At the bottom is a window with MRFI_2500 or something like that and also and MCU_H define.  Change both of these to the CC2530 radio and you should be able to compile and download the code.

    Jim Noxon

     

  • Can you also support CC2543? If yes, what are the steps to modify the existing CC2530 example?

    Thanks

  • Ionut, 

    We have tried, but the very limited RAM and the configuration of the RAM in the CC2543 is causing SimpliciTI to not work.

    Regards,
    /TA 

  • TA12012:

         can you give me the porting note of SimpliciTI for CC2543,  i want to try it  to achieve a simple function.


    Regards,

    tony