Hi,
I tried to profile the time cost of sensorStart/sensorStop command in mmw demo. I found sensorStart will trigger MMWDEMO_CLI_SENSORSTART_EVT, sensorStart 0 will trigger MMWDEMO_CLI_FRAMESTART_EVT and sensorStop will trigger MMWDEMO_CLI_SENSORSTOP_EVT.
As in IWR1642 mmw demo, R4F works with DSP for these command, so I tried to profile the time from MMWDEMO_CLI_SENSORSTART_EVT start to MMWDEMO_DSS_START_COMPLETED_EVT end, MMWDEMO_CLI_FRAMESTART_EVT start to MMWDEMO_DSS_START_COMPLETED_EVT end and MMWDEMO_CLI_SENSORSTOP_EVT start to MMWDEMO_DSS_STOP_COMPLETED_EVT end at R4F side. Attached is my code for profile. Would you pls kindly help to check if it ok?
I used attached file to profile the time and I found the time of MMWDEMO_CLI_SENSORSTOP_EVT to MMWDEMO_DSS_STOP_COMPLETED_EVT is changing a lot. Sometimes it is 10355us. Sometime it is 20094 us. Is this reasonable? What will effect the time of sensor stop?