Hi,
I am using the TI Stack 15.4 simplelink_cc13x0_sdk_1_40_00_10 version with a CC1310 on a custom PCB with some other sensors.
In my application, in taskFxn() I am running my application before the stack starts. Please see below.
This is to collect sensor data to an on board flash chip and then start the stack to send the data to a collector. This is to keep the radio offed while I am collecting data to save power.
Void taskFxn(UArg a0, UArg a1)
{
Ssf_initializeMySensorClock();
initializeMySensors();
for(int x=0; x<315; x++)
{
Semaphore_pend(mySensorSemHandle, BIOS_WAIT_FOREVER);
mySensorProcess();
Ssf_setMySensorClock(1000);
}
// Start of Stack functions //
Power_setConstraint(PowerCC26XX_IDLE_PD_DISALLOW);
ICall_init();
.
.
.
By running my application in this manner, after it reaches the ICall_createRemoteTasks() function it goes to the Main_assertHandler() function and restarts. It never reaches the Sensor_init() function.
If I reduce my for loop to 300, then the stack initializes successfully and starts to send data to the collector.
I also tried using a Task_sleep(36000000) instead of my functions before the stack starts. Still the same problem occurs.
I would like to understand what causes this issue please.
Any ideas are much appreciated.
Thanks in advance.
Abrar