Hi All,
I would like to connect an external device to TMDSEVM6678LE evaluation board using SPI interface. I am loading program through the Blackhawk JTAG mezzanine board. The evaluation board is in "No boot" mode and for the start I am using the only code snippet I was able to find (C:\ti\pdk_C6678_1_1_2_5\packages\ti\platform\evmc6678l\platform_lib\src\evmc66x_spi.c), see code below.
So my questions are:
1. Is it possible at all to drive SPI without interfering with SPI NOR FLASH flash memory on the evaluation board in "No boot" mode ? There is a thread (https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/3389 ) where this question was already asked but it does not contain a concrete answer except "yes, you can" without further confirmation that it was successfully achieved.
2. Should I expect to see anything on 80 pin connector SPI pins if I run the code below or I should modify evmc66x_spi.c somehow? At the moment I don't see anything on SPI pins when the code is running.
void main(void)
{
int i;
uint8_t wData[4];
uint8_t rData[4];
SPI_STATUS stat=spi_claim(0,1);
for (i=0;i<1000000;i++)
stat=spi_xfer(1,wData,rData,1);
spi_release();
}