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.

CC3220SF: State of the network processor

Part Number: CC3220SF

Hi!,

Is there an API to identify if the sl_Stop() can be called from the application i.e., is there a means to check for any pending operations in the nwp ?

(or)

Can the sl_Stop be called as sl_Stop(200), and the nwp takes 200msec to complete pending operations ? If yes, is there a recommended time ?

Thanks in advance,

  • Hi,

    What kind of operations would you be looking for? Some calls are blocking so you could use some API call itself and once that is completed, then you know there would be no pending operation from the application side.

    If you are looking for the NWP side, you can stop at anytime and that will be handled by the NWP.

  • Hi,

    There is no API which will say, that is ongoing NWP operation which is not recommanded to interrupt.

    According my experiences is recommanded to use sl_Stop() with timeout. Value 200 is reasonable and I use same value. Using sl_Stop(0) is not recommanded because it may to interrupt write operation into SPI flash. Usage of sl_Stop(0) make sense only for recovering from fault states (device abort errors reported via asynchronous handler).

    Jan