Hi.
I have a problem in sl_recv function. I'm using the CC3100 in a particular platform, in a multi-threaded environment and over the NutOS. When I call sl_recv to get a certain amount of packets (for example, 100 packets of 532 bytes), randomly, the chip stops receiving.
I think this happen because occasionally there's an interrupt during physical reception. I'm using SPI. My receive function always returns right and in this situation returns 0 (0 bytes read).
This interrupts are always in consequence of dummy packets (0x0063).
I saw, in other related posts, that there's only two situations in which chip sends dummy packets (flow control or wrong IRQ). The first is impossible, because my application call sl_send and sl_recv, interchangeably, i.e., the application echoes the receiving data.
In this example (100 packts of 532 bytes) CC3100 sends, on average, 7 or 8 dummy packets. After that when I try to communicate with chip again, it stops in _SlDrvRxHdrRead because it doesn't receive the sync pattern never more.
Someone could help me?
Thanks.