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.
Hello, Ti Team.
In order to achieve dynamic power control, I want to reset some parameters (e.g. frameCfg) when some conditions are met (e.g. the gtrack module doesn't track the person target for a long time), I tried to create a new Task and monitor the conditions I need in that Task. When the conditions are met, this Task will first call the MmwDemo_CLISensorStop function, after that it will reset some parameters to some fixed values, and then finally it will call MmwDemo_CLISensorStart to try to restart the sensor. However, at this point I am prompted that I have not entered the full configuration file. After briefly reading the source code, I realized that in MmwDemo_CLISensorStart and MmwDemo_CLISensorStop will recharge some parameters, what will happen if I don't reset the parameters?
Or is there any easier way to reconfigure the parameters and restart? The image below shows my code to reconfigure the parameters and restart.
Hi
Using MmwDemo_CLISensorStop will not let you reset the first configuration. Below are some of the ways to load a new configuration
1. Use Soft reset/Warm reset to reload the firmware and based on your condition you can load a different configuration
2. Use secondary boot loader to load a different application which will have a different configuration. You can have multiple images with fixed configuration and select the required image based on the input
Regards