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.

Is there a driverlib and header for the MSP430G2553?

Other Parts Discussed in Thread: MSP430G2553, ENERGIA

I have downloaded and installed MSPWare 1.97.00.47, but I cannot find any header file called "msp430g2553.h", as specified in the temperature example code. Further, is there a driverlib for this specific chip?

The evaluation board I have is MSP-EXP430G2

Thanks

  • Hi,

    When you try to build, does your software example not build (which example are you using)? The header file msp430g2553.h should be included in your CCS or IAR install. If you use CCSv6, this header file will be in the folder <ccsv6 install location - default is C:\ti\>\ccsv6\ccs_base\msp430\include.

    Now, usually in our examples we'll just do #include <msp430.h> since CCS will by default set a predefined symbol specifying the device you are using in the project settings, like __MSP430G2553__. The msp430.h file will include the correct header file based on this defined symbol. So another option is to just to #include <msp430.h>.

    Thimira G said:
    Further, is there a driverlib for this specific chip?

    No - we only have driverlib for MSP430F5xx/6xx and MSP430FRxx devices. For G2xx family devices the flash size is relatively small so the bit of overhead that driverlib adds is not usually desirable, and the code is usually simpler anyway so most people usually write bare-metal code. However, if you are looking for something more to help, there is Grace, which will help you to write peripheral initialization code, or if you want something much more abstracted there is also Energia which has a lot of high level APIs.

    Regards,

    Katie

**Attention** This is a public forum