I'm using CC3120MOD on a custom board, with a non-OS host calling the SimpleLink driver 2_40_00_22. Mostly it works great, but sometimes it gets stuck inside the driver code. Possibly an issue with my code, but in any case it would be nice (e.g. on a watchdog timeout) to be able to reset the driver and the chip and reconnect. Resetting the chip is no problem, but is there a way to reinitialize the driver to a pristine state?
The "Ask a Related question" forum button isn't working for me, but the discussion here looks relevant:
In particular: "Calling sl_Stop()+sl_Start() API is not able to recover driver at all cases."
I can confirm this - you get errors calling Stop or Start if the driver isn't in the proper state. Maybe I can figure out how to get the build system to put all the SimpleLink data into a separate RAM section so I can clear that, but that seems tedious.
Thanks.