title: msp430F1611 SPI communication
body: <p>I want to communicate the MSP430F1611 with any other controller (e.g Arduino ) or other MSP430F1611 using SPI communication, I visited this (gist.github.com/.../3326502) link and try to load this code but there is a problem,</p>
  
  <p>These code line show errors,</p>
  
  <pre><code> P1SEL = BIT1 + BIT2 + BIT4;
    P1SEL2 = BIT1 + BIT2 + BIT4;
    UCA0CTL1 = UCSWRST;                       // **Put state machine in reset**
    UCA0CTL0 |= UCMSB + UCSYNC;               // 3-pin, 8-bit SPI master
    UCA0CTL1 &amp;= ~UCSWRST;                     // **Initialize USCI state machine**
    IE2 |= UCA0RXIE;  
  </code></pre>
  
  <p>the errors is,</p>
  
  <pre><code>Error[Pe020]: identifier "P1SEL2" is undefined
  Error[Pe020]: identifier "UCA0CTL1" is undefined 
  Error[Pe020]: identifier "UCSWRST" is undefined 
  Error[Pe020]: identifier "UCA0CTL0" is undefined 
  Error[Pe020]: identifier "UCMSB" is undefined 
  Error[Pe020]: identifier "UCSYNC" is undefined 
  Error[Pe020]: identifier "UCA0RXIE" is undefined 
  </code></pre>
  
  <p>Please help me to solve this problem.</p>
  
  <p>Thank you</p>
  
  <p>Regard.</p>