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.

CC3120MOD: Face the error when call the sl_start()

Guru 24520 points
Part Number: CC3120MOD

Hi TI Experts,

Please provide us your advice for the following issue.
[Issue]
When customer call the sl_start() function, the return value is "error code -2005", it showed SL_API_ABORTED.

[Hardware]
Custom board (STM platform and CC3120MOD)

If you have any questions, please let me know.
Best regards.
Kaka

  • Hi Kaka,

    Has the custom board worked OK in the past without errors? This error doesn't seem to point to one explicit issue and further investigation will probably need to be carried out.

    I have found a couple previous posts with your same error, you could start by trying their fixes.

    Details from:  

    The SL_API_ABORTED error indicates that the host is detecting an error from the network processor or a timeout occured on the command sent.

    You cannot call sl_start() twice in a role.

    Only if sl_stop() has been called previously, you can call sl_start() again.

    Can you verify that after you configure everything, you call sl_stop() and only then sl_start()?

    Details from:

    Roger provided a patch that may fix the issue when included.

    Hope this helps,

    Kevin

  • Hi Kevin,

    After debug session, their system did not generate the SPI signals even though they called "sl_start()".
    So, there are any mistakes or not enough porting.

    Best regards.
    Kaka
  • Kaka,

    OK, let me know if there's anything more we can assist with on our end.

    Best,
    Kevin