Hi,
my setup:
CCS 6.1.3
AM3359 Industrial Communications Engine v2
pdk_am335x_1_0_2
sysbios_ind_sdk_2.1.1.2
i want to use SPI and Profinet on the AM3359 ICE v2. Therefore i started with the in topic named examples.
Each of them runs well on board . Now i wanted to combine the two examples, copy and paste the code from the "MCSPI_SlaveMode_MasterExample_icev2AM335x_armExample" into the code of the "profinet_slave_IRT" example.
I also added the include paths from the SPI example to the Profinet example. But when compiling i get an error with the line
masterSpi = SPI_open(BOARD_MCSPI_MASTER_INSTANCE-1, NULL);
The compiler does not know the expression "BOARD_MCSPI_MASTER_INSTANCE". What is the problem ?
Thanks in advance