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.

MSP430FR6989: Cannot create DriverLib project

Part Number: MSP430FR6989
Other Parts Discussed in Thread: MSP432E401Y, MSP-EXP430FR6989, MSP430WARE

I would like to create a DriverLib project for my MSP-EXP430FR6989 Launchpad, just as I frequently do with my MSP432E401Y Launchpad.

But when I try to create a DriverLib project, the option does not show up in the "Project templates and examples" dialog:

And similarly, when I try to browse under Libraries in Resource Explorer, DriverLib is not there.  My understanding is that it is included in MSP430Ware and should just be there, correct?

DriverLib itself appears to have installed on my disk:

How can I create a DriverLib project?

Thanks,

Brad

  • Hi Brad,

    The driver library you showed in the picture for MSP430 are just some head files and .c files. It is not a project. What kind of project do you want to build?

    Best regards,

    Cash Hao

  • Yes, of course, I'm aware of that.  I illustrated that folder just to show that DriverLib does appear to be installed on my system.  I am an experienced DriverLib user with MSP432E401Y, so I am aware of the difference between a project and the DriverLib source tree in the TI install directories.

    I would like to build a I2C project.  For example, when I navigating the MSP432E401Y setup, there are lots of examples to choose from in Resource Explorer.

    Also by way of comparison, this user who posted this question shows a view in Resource Explorer for MSP430Ware that *does* include DriverLib.  Compare this to the tree that I see, that I showed in my original question above - no DriverLib.  Why does this user see DriverLib, but I don't?  I was kind of also expecting to see things like maybe USBLib in the Resource Explorer tree as well.  But there's nothing by FRAM Utilities and GUI Composer in my tree.

  • Hi,

    There are big differences between MSP430 and MSP432. MSP432 is based on Cortex M4. However, MSP430 uses its own core. In MSP430, we usually directly configure the registers to implement functionality. If you want to build a I2C project, there are some code examples in the example projects.

    Best regards,

    Cash Hao

  • I am glad that direct register programming is working well for you.  

    However, *my* customer has requested that I use MSP430 DriverLib, available here and documented in the DriverLib User's Guide, available here. However, a separate download is not necessary, since DriverLib is included as part of MSP430Ware, as described here.  And as I illustrated above, it does indeed install as part of MSP430Ware, including a subtree for the MSP430FR5xx_6xx processors.

    Basically, my question is just "How do I used Resource Explorer to locate DriverLib examples and import them into CCS?"  The other user's question that I referenced shows these items being available for him.  

    I guess I can just pull examples in from the \ti\msp430ware_3_80_13_03\driverlib\examples\MSP430FR5xx_6xx folder, but normally you can pull them in from Resource Explorer, which is nice because it pulls in the entire project config.

    But I would prefer to figure out why the items aren't showing up in Resource Explorer, and/or how to create a DriverLib project for MSP430.

    Thanks,

    Brad

  • Ah, more info, very interesting.

    When I use Resource Explorer on the web, I do see the DriverLib stuff:

    So this appears to just be an issue with Resource Explorer within CCS.  

    Is there a different place that I should be posting this question then?

    Thanks,
    Brad

  • Ah.  I've solved the problem.  It appears to be a bug in Resource Explorer.

    What was happening was that Resource Explorer was filtering out that part of the tree when I put in my processor number.

    When I eliminated the filter, the DriverLib examples show up.  I was then able to import the example to CCS.  However, the example imports as configured for at 5969 processor, I think it is, so you have to do Project/Properties/General and then select the correct processor type under "Variant".

    After that, the DriverLib example builds and loads just fine.

    Thanks,

    Brad

**Attention** This is a public forum