Other Parts Discussed in Thread: IWR6843, IWRL6432
Hi,
I have two questions regarding the sensorStop command. I'm using a custom board based on the IWR6843AOP with modified OOB demo firmware to incorporate Rx/Tx communication over the CAN-FD interface. I have successfully modified CLI_task() to process configuration commands received over CAN. This is working well, similar to CLI, except:
- When the sensorStop command is processed, there is an error "HWI Stackoverflow" at this line "if (stackOverflow == TRUE)" in MmwDemo_sensorStopEpilog, and the sensor does not respond to further commands. When I bypass this using "if (FALSE)", everything seems to work well; the sensor stops sending data, and I'm able to start it again (e.g., using sensorStart 0). In this case, sensorStopEpilog writes:
Task Stack Usage (Note: CLI and sensor Management Task not reported) ========== Task Name Size Used Free Init 2048 1996 52 Mmwave Control 3072 2368 704 ObjDet DPM 4096 2564 1532 HWI Stack (same as System Stack) Usage ============ Size Used Free 1200 0 1200
My second question is related to stopping the sensor RF itself. I would expect some decrease in power consumption when stopping a sensor; however, it remains approximately the same. Does "sensorStop" also stop the RF part, or is there a way to achieve this?
Thank you,
Adam