Other Parts Discussed in Thread: TIDEP-0090,
Hi,
My cutomer wants to refer to the GUI in mmWave sdk 08 to make own gui. So they run mmv demo in mmWave SDK 1.0 with GUI in mmWave SDK 0.8.
There will be sensor config error if they run mmw_demo.m in matlab. Pls find part of log in CCS below.
[CortexR4_0] Sensor has been stopped
Debug: MMWDemoMSS Received CLI sensorStart Event
Error: MMWDemoMSS mmWave Configuration failed [Error code -13017]
We checked the meaning of error code and it means continuous mode config failed, but in our case, we just use the config file at C:\ti\mmwave_sdk_01_00_00_05\packages\ti\demo\xwr16xx\mmw\profiles\profile_2d.cfg and it doesn't config continuous mode.
But if they run the mmw_demo.exe in C:\ti\mmwave_sdk_00_08_00_00\packages\ti\demo\ar16xx\mmw\gui, there will be no error about config (though there is error in matlab file for serial port which I think it is not related to this config issue). Pls find part of log in CCS below.
[CortexR4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
Debug: MMWDemoMSS mmWave Control Initialization was successful
Debug: CLI is operational
Sensor has been stopped
Debug: MMWDemoMSS Received CLI sensorStart Event
[C674X_0] Heap L1 : size 16384 (0x4000), free 2816 (0xb00)
Heap L2 : size 49152 (0xc000), free 35368 (0x8a28)
Heap L3 : size 655360 (0xa0000), free 368640 (0x5a000)
Do you have any idea on why run matlab m file to configure sensor through uart cause sensor configure error, but no error with matlab exe? My customer needs to fix this as it is easier to development and debug code with matlab m file.
Thanks,