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/MSP-EXP430F5529LP: Register Definitions

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

Tool/software: Code Composer Studio

I have a launchpad and am trying to get some I2C code running. I'm using the i2cdevlib. I'm working in CCS, not arduino. The problem is there are a bunch of register definitions that are missing. Here's a partial list:

UC1IE

UC1IFG

UCB1RXIE

UCB1RXIFG

When I do a comprehensive text search it looks like these are defined in msp430x26x.cmd and a bunch of other cmd files, none of which have a name that resembles the F5529. Can anyone explain how to get these definitions into my project short of picking a random cmd file or blindly copying the definitions from the other files (that may or may not cause issues). They're not defined in lnk_msp430f5529.cmd or msp430f5529.cmd.

Along those lines, where can I find documentation on what these registers actually do?

  • Hi,

    Those registers do not exist for the MSP430F5529. The code that you pointed to on GitHub looks like it is written for the MSP430F2618, which contains different peripherals and registers than an MSP430x5xx or MSP430x6xx device such as the MSP430F5529. If there is an i2cdevlib project for the correct device, then you could use that. Otherwise, I suggest you configure the registers yourself, or make use of driverlib.


    You can find information on what each register on a given device does by reading the User's Guide for that device, which can be found on the device's product page on ti.com.

    Regards,

    Nathan

**Attention** This is a public forum