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.

SPI on Raspberry Pi, MSP430

Other Parts Discussed in Thread: MSP430G2553

Hello,

I'm trying to set up an SPI connection between the Raspberry PI model B, and the MSP430G2553. I've been using the instructions found here. I've only just started working with the MSP430, and I've been stuck on some problems for a while now. 

First off, I get 3 errors and a warning compiling the CCS code.

For: __attribute__((interrupt(USCIAB0RX_VECTOR))) void USCI0RX_ISR (void), I get the following errors:

  1. expected a "{"
  2. unnamed prototyped parameters not allowed when body is present
  3. expected a type specifier
Am I missing some plugin or configuration that is needed for __attribute__?
The second problem is with the nop() function at line 43. This code produces the following warning:
function declared implicitly
I found something that suggested I needed to install XDCtools, which I tried...didn't help.

If anyone has an idea on what I'm missing, or questions about my setup let me know. I would also appriciate any general advice on setting up an SPI connection between the RPi and MSP430.

Thank you.

**Attention** This is a public forum