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/MSP432P401R: msp432, SPI communication with ADC

Part Number: MSP432P401R

Tool/software: Code Composer Studio

Hi,

i tried to create a spi communication with a external ADC, like the example from kazola http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/421491

At build, the console displays an error:

>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.c", line 71: error #20: identifier "EUSCI_B0_MODULE" is undefined
      SPI_initMaster(EUSCI_B0_MODULE, &spiMasterConfig);

My includes are:

#include <ti/devices/msp432p4xx/driverlib/driverlib.h>
#include <stdint.h>
#include <stdbool.h>

What else I have to include?

Thanks

**Attention** This is a public forum