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.

setup for RTOS projects using CC430F6317

Other Parts Discussed in Thread: CC430F6137, MSP430WARE, SYSBIOS

I am trying to bring up an SYS/BIOS RTOS project on the EM-CC430F6137-900 development boards for the CC430F6137 under CCSv6. The good news is that some basic templates are provided, but they seem to have problems that I'm trying to solve as described herein.

1st) When I try to create a new project, I start off the regular way and happily find some “Typical” RTOS settings for the cc430F6137:

The RTSC setup is:

 MSP430Ware is added to the include options at: "${MSP430WARE_INSTALL}\driverlib\MSP430F5xx_6xx"

 

However when I build the project it throws warnings from:

 E:/ti/tirtos_msp430_2_10_01_38/products/bios_6_41_00_26/packages/ti/sysbios/family/msp430/Hwi.c

 

While this is disconcerting, the project will run... Additionally, there are some odd parts to the .cfg file that limit additional configuration beyond the basic template:

A normal .cfg looks something like this, with various driver options available:

 However, the TI-RTOS for MSP430 >> TI Target Examples >> Typical project for a cc430F6137 has .cfg driver options look like this, with no driers available:

 

Can you suggest where I might look to get things setup properly? The lack of drivers suggests that a more fully configured .cfg file is not an option with the way the default typical project gets setup. Also, why would the basic typical project throw errors with the interrupt declarations in hwi.c?

I am assuming that the MSPWare drivers for the cc430F6137 are in fact the MSP430F5xx_6xx. Correct?

 

Thanks for your help.

  • Hi Henry,

    Have you stepped through the TI-RTOS porting guide (link)?  This will generate the driver libraries the CC430F6137 device.

    Regards,

    -- Emmanuel

  • Hi Henry,

    I have been digging little deeper into this, unfortunately the CC430F6137 not supported by driverlib. So it is not possible to generate driver libraries using the steps I mentioned above. However, you can copy the driver source files into your project and modify them to work for the CC430F6137.

    I am looking into the compiler warnings you are seeing I have been able to reproduce them. I will get back to you with what I find out.

    Regards,
    -- Emmanuel
  • Hi Henry,

    The warnings you are seeing is due to a changes in the MSP430 compiler (I see you are using 4.4.3 in the screenshots).  The compiler intrinsics.h is not being automatically included during compilation process, thus the implicit declaration warnings.  I have already filed a bug so we can fix this in new releases (SDOCM00114807).  

    In the meantime, you can get rid of the warnings by:

    1. Moving to an older version of the compiler, I tested with 4.3.3 and had no problem.
    2. Adding #include<intrinsics.h> to the <tirtos install dir>\products\bios_6_41_00_26\packages\ti\sysbios\family\msp430\Hwi.c file.

    Regards,

    -- Emmanuel