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.

CC3100 hangs - driver.c in _SlDrvRxHdrRead

Other Parts Discussed in Thread: CC3100

I ported the SimpleLink driver to NIOSII processor running NO OS.

The driver is staying in the loop at line:

while ( ! N2H_SYNC_PATTERN_MATCH(pBuf, g_pCB->TxSeqNum) )

and issuing SPI read commands.

Below is the following sequence of events I captured.

Traffic Activity:

Device is enable, nHIB goes HIGH

CC3100 IRQ goes HIGH

DRIVER SPI Write: 0x65 0x87 0x78 0x56

CC3100 IRQ goes LOW

DRIVER SPI Read: 0xBC 0xDC 0xCD 0xAB

DRIVER SPI Read: 0x08 0x00 0x08 0x00

DRIVER SPI Read: 0x00 0x00 0x00 0x00

DRIVER SPI Read: 0x11 0x11 0x11 0x11

CC3100 IRQ goes HIGH

DRIVER SPI Read: 0x00 0x00 0x00 0x00

DRIVER SPI Read: 0x00 0x00 0x00 0x00

DRIVER SPI Read: 0x00 0x00 0x00 0x00

DRIVER SPI Read: 0x00 0x00 0x00 0x00

DRIVER SPI Read: 0x00 0x00 0x00 0x00

...