Hi, I would like to use the SPI1 port on my ICEV2 board. I see there's some drivers in the sysbios routines for configuring the SPI, but I don't find any documentation. I did find some documentation in the starterware section for some of the McSPI drivers, but I've been told the starterware doesn't work on the ICEV2.
Can you please tell me what the parameters mean in the following (from osdrv): McSPIMasterModeConfig(baseAdd,chMode,MCSPI_TX_RX_MODE,MCSPI_DATA_LINE_COMM_MODE_1,chNum);
Especially the MCSPI_DATA_LINE_COMM_MODE_1 value. It appears this routine takes a value 0-7 but there's no description of what those modes mean.
From the starterware API reference:
'pinMode' can take the following values.\n MCSPI_DATA_LINE_COMM_MODE_n - Mode n configuration for SPIDAT[1:0].\n For pinMode 0 <= n <= 7.\n
But SPIDAT[1:0] is a 2 bit field. How can n be 0-7?
Is there any documentation on the osdrv and/or platform routines provided in sysbios SDK?
Thanks.