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.

Diferent examples showing different Board.h for the same processor

Other Parts Discussed in Thread: CC2650

Good Morning.

I am trying to connect an accelerometer (not the one that comes with the sensortag but an external one) to the cc2650 sensortag over the SPI, i opened a new empty TIRTOS project for the 2650 sensortag and I have not been able to comunicate with the accelerometer.

I noticed that when going to the Board.h of that empty project the defines of the SPI0 are like this,..

/* SPI */
#define Board_SPI_FLASH_CS IOID_14
#define Board_SPI_DEVPK_CS IOID_20
#define Board_FLASH_CS_ON 0
#define Board_FLASH_CS_OFF 1

#define Board_SPI0_CLK IOID_11
#define Board_SPI0_MISO IOID_18
#define Board_SPI0_MOSI IOID_19

but when I download the sensortag example the definitions are..

#define Board_SPI_FLASH_CS IOID_14
#define Board_SPI_DEVPK_CS IOID_20
#define Board_FLASH_CS_ON 0
#define Board_FLASH_CS_OFF 1

#define Board_SPI0_MISO IOID_18
#define Board_SPI0_MOSI IOID_19
#define Board_SPI0_CLK IOID_17

both boards.h are supposed to be for the CC2650ST_0120 so why they have the clock in different IOD? which one is the correct one?

Thank you in advance