Part Number: CC3235MODASF
Hi,
We have a few devices using cc3220 and cc3235 with TI-RTOS. It happens very infrequently that somes devices lose communication and drain the battery for a while. Usually after a reset they are back online without issue.
I am trying to find the issue and to remove all possible cause of such problems. And I have seen that in the example on which I based my program there are a few "while(1)" when init fails.
For example:
retc = pthread_create(&thread, &pAttrs, mainThread, NULL);
if(retc != 0)
{
/* pthread_create() failed */
while(1)
{
;
}
}
What is the best practice when a failure happens in this initialization phase?
Can I simply call PRCMHibernateCycleTrigger()?
And can it be done before BIOS_start() and sl_start()?
Thanks!
Cédric