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.

MSP430X2XX family include files

Other Parts Discussed in Thread: MSP430F2013

Hello every1,

I was looking up slau144e.pdf: the user's guide to MSP430x20xx. Many identifiers were labeled as undefined during compilation. Some of them are:

- UCB0CTL0/ CTL1

- UCB0TXBUF

Why so? They were included in the user's guide!!

 

Krishna.

 

  • Oh! By the way, I also happened to look up slau144a.pdf, which is also the user's guide for MSP430x20xx. This manual describes Universal Serial Interface (USI), whereas

    slau144e.pdf describes Universal Serial Communication Interface (USCI).

    Whats the difference?

    Krishna.


  • slau144a.pdf is Revision "a" while slau144e.pdf is Revision "e" of the same manual. The difference is the publishing date. "e" is the most current revision. But TI may publish Rev."f", "g", etc. if and when they have new information or corrections to add.

    This manual describes the details of all possible features of the entire MSP430F2xx family. Individual members of the family (such as MSP430F2013) do not have all the features described in this manual. (e.g., MSP430F2013 does not have USCI, it has USI instead).

    You also need to read the data-sheet of MSP430F2013 to see what features it has.

  • Thanks.

    I'm using F2013 to communicate with FG4618. The former features the USI as you said(slau144a), while the later doesn't, (slau056j) rather, it does USCI. Not compatible as I've noted. But then, haven't come across an older version of 056j on TI website. Which version would you suggest, and where could I find it?

     

    Krishna.

     

     

  • Hi Krishna,

    ALWAYS use the latest documentation for EACH specific device!!

    Rgds
    aBUGSworstnightmare

  • The user guides are FAMILY user guides. They list every hardware module which is used in any member of the whole family.
    If a family gets a new member, the family users guide is updated to contain its new modules. That does not mean that the older members have these modules too now :)
    You need to look at the device datasheet to knwo which modules are present in your family member and which aren't.
    Of course, sometimes the guide is just missing something which will be added with the next revision. Always use datasheet and users guide together. And if the information in the two does not match (e.g. register names or addresses), one of them is usually correct (normally the datasheet)

    Some 2x devices have an USI, some have both, USI and USCI and some have none of them at all. USI has no UART part, only I2C and SPI. And both, USI and USCI  have differently named registers. Which fits the fact that they are programmed differently too.

    The SPI part of the USI allows a variable data length, while the USCI supports only 8 bit SPI transfers. And the programming logic and sequence of the I2C part is different for both too. The interrupt structure between USI and USCI may be different too (yet it has been changed again between the 2x USCI and the 54xx USCI, which are mostly but not 100% compatible)

     

**Attention** This is a public forum