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.

Trying to verify that the SPI driver is configured properly using the TestSpi() example

Other Parts Discussed in Thread: CC3100SDK, CC3100, CC3100BOOST

Hi

I'm using the TestSPi (found in the SDK \cc3100\examples\spi_debug_tool\main.c) - I'm using the SDK CC3100SDK_1.1.0.

I run the test and it stuck in the part that try it read and verify the  RX sync.

As shown in the sniffer (attached a dump) -always getting 0 (zero)  payload. assume that it expected to read a sync reead .

please help

/* Sync on read pattern */
while ( ! N2H_SYNC_PATTERN_MATCH(pBuf, TxSeqNum))
{
/* Read next 4 bytes to Low 4 bytes of buffer */
if(0 == (SyncCnt % SYNC_PATTERN_LEN))
{s 
sl_IfRead(FD, &pBuf[4], 4);
}

/* Shift Buffer Up for checking if the sync is shifted */
for(ShiftIdx = 0; ShiftIdx < 7; ShiftIdx++)
{
pBuf[ShiftIdx] = pBuf[ShiftIdx+1];
}
pBuf[7] = 0;
SyncCnt++;
}