Other Parts Discussed in Thread: , MSPDRIVERLIB
Tool/software: Code Composer Studio
How to connect the "driverlib.h " library for a new project?
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.
Tool/software: Code Composer Studio
How to connect the "driverlib.h " library for a new project?
Hello,
In CCS, did you create a new DriverLib project? It'll automatically include the DriverLib sources that can be leveraged by 'driverlib.h'.
Here's the 'main.c' file that gets created and you can see 'driverlib.h' is included.
#include "driverlib.h" int main(void) { WDT_A_hold(WDT_A_BASE); return (0); }
Regards,
James
Also, since you're using the MSP430F6736 device, I would recommend using the newer version instead, MSP430F6736A.
Differences Between MSP430F67xx and MSP430F67xxA Devices
If you're using this device in a power or energy measurement application, I'd recommend checking out the Energy Measurement Design Center (EMDC) and software library. It leverages DriverLib and you can modify the generated application code for your project while easily measuring results like voltage, current, power and energy.
Regards,
James
As a quick follow-up, in case you don't see the empty DriverLib project template in CCS, then close CCS, download MSPDriverLib, extract the .zip file, copy the folder into your C:\ti or C:\ti\msp folder, open CCS, and it should discover it. Go through and complete the installation which should restart CCS. Then, you should be able to see the DriverLib project template option.
Regards,
James
Hello thanks for the answer, I followed your instructions and installed driverlib.h. Thank you everything worked out.