HI, TI
I configured the sensor controller to do some task on RTC tick every 1 ms and then generating the alert event. The sensor controller task is started by the button. And the base CM3 project is the SimpleBLEPeripheral with TI-RTOS.
It works normally with:
Power_setConstraint(Power_SB_DISALLOW);
or in the debug mode (I think it is the same as the IDLE mode). But if I run the MCU without Constraint and not in the debug mode, the MCU halted after the Sensor Controller completed the task for the first time(I see it by the oscilloscope). I try to disable the in execution code:
fwGenAlertInterrupt(); fwScheduleTask(1);
But nothing is changed. The only way that I can resolve this problem is to create a task without the RTC scheduling and start it every 1ms in the CM3, but this method consumes too much energy for me.