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.

CCS/MSP430F5529: Getting started with MSP430 DriverLib

Part Number: MSP430F5529
Other Parts Discussed in Thread: MSP430WARE, MSP-EXP430F5529LP

Tool/software: Code Composer Studio

I decided to give msp430 driverlib a try with a new project. The user's guide for DriverLib (DOCNUM-2.91.10.06, copyright 2019) gives good instructions for creating a new project that will use DriverLib or pulling DriverLib into an existing project. Unfortunately the latest release of the CCS (V8.3.0.0009) doesn't work with these instructions. 

The instructions say I should create a new project, and use a project template with driverlib support. None exist even though I'm using the same processor (MSP430F5529) as shown in the guide's example. 

The instructions say I should apply a project template "Add Copy of DriverLib to Project" but my CCShas no project template by that name.

The question I have: is DriverLib still supported or should I avoid it? 

  • Hey Kevin,

    Thanks for the Feedback! Driverlib is absolutely still supported. It's really up to the developer if they want to use the driverlib APIs or direct register access. We offer examples for both in MSP430Ware. Here is an example for the MSP430F5529: dev.ti.com/.../

    We are in the process of updating our documentation from CCSv6 to CCSv8. Can you link me to the document that you were referring to? I was unable to find it with the information you linked.

    Thanks,
    JD
  • Within CCS, View->Resource Explorer
    Search for MSP-EXP430F5529LP
    In the software section, under MSP430Ware->Development tools->msp-EXP430F5529LP->Peripheral Examples->Driver Library->Users Guide.

    So how do I get an exiting project to incorporate the driver lib? The Users Guide is of no help. ;-)
  • Hey Kevin,

    Actually, I see now that you were referencing the driverlib user's guide: dev.ti.com/.../

    There are 2 ways to create a new driverlib project.

    1. Import an empty project from MSP430ware. This should be the first project for all Driverlib devices: dev.ti.com/.../

    2. Follow the steps in Section 3 of the user's guide you linked. If you do not see a MSP430 DriverLib template, then you should follow the "installation and Usage" in the Driver Library Release Notes: dev.ti.com/.../

    I just ran through step 2 myself and it now works for me. Although, I did have to first change the target to MSP430F5529 since there is no driverlib for the original MSP430F2xx devices.

    Let me know if this works for you!

    Thanks,
    JD

  • I installed msp430ware from the resource explorer inside CCS and that was the problem. Following the install instructions for MSP430ware, I don't see the msp430ware as an installed product. Even though the resource explorer shows that it is installed. The integration between the resource explorer and CCS must be a bit broken.
    So I your link to resource explorer online took me to a zip I could download. That seems to be corrupt. (Win 10 was unable to expand the file)
    Finally I did a google and found the installer. Once I got that, CCS asks to install the package it finds and the correct templates appear.
    Moral of the story: Be careful using the resource explorer until the bugs get worked out!

**Attention** This is a public forum