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.
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++;
}
Hi William,
I don't see the host IRQ getting triggered in this logic capture. Please verify that the host IRQ is getting triggered.
Which MCU you using with CC3100?
Can you please attach the logic file instead of image to help us analyse it?
Regards,
Ankur
Hi Ankur
here the initialization flow (from sniffer) +Interrupt signal:
it seem slit different from the seen in the
the interrupt should be clear after written the read sync seq and in my setup it's clear before.
anyway - later on (from some point of time) the payload from the cc31xx seem to be always zero.(all data are 0x00)
thanks