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.

Compiler: get_time sl_bind error

Other Parts Discussed in Thread: CC3100

Tool/software: TI C/C++ Compiler

For cc3100 get time use case, the return value of sl_bind function is - 22. The data sent by SPI is as follows:

=============len:4 spi_Write[0]:21==============

=============len:4 spi_Write[1]:43==============

=============len:4 spi_Write[2]:34==============

=============len:4 spi_Write[3]:12==============

=============len:4 spi_Write[0]:4==============

=============len:4 spi_Write[1]:94==============

=============len:4 spi_Write[2]:c==============

=============len:4 spi_Write[3]:0==============

=============len:12 spi_Write[0]:0==============

=============len:12 spi_Write[1]:0==============

=============len:12 spi_Write[2]:0==============

=============len:12 spi_Write[3]:20==============

=============len:12 spi_Write[4]:0==============

=============len:12 spi_Write[5]:0==============

=============len:12 spi_Write[6]:0==============

=============len:12 spi_Write[7]:0==============

=============len:12 spi_Write[8]:0==============

=============len:12 spi_Write[9]:0==============

=============len:12 spi_Write[10]:0==============

=============len:12 spi_Write[11]:0==============

=============len:4 spi_Write[0]:65==============

=============len:4 spi_Write[1]:87==============

=============len:4 spi_Write[2]:78==============

=============len:4 spi_Write[3]:56==============

I compared the normal printing time of MSP430 + cc3100, and the data sent by SPI was consistent. When I transplanted it to my MCU, sl_bind failed to return.