Other Parts Discussed in Thread: IWR1642
Hi Guys,
I program an application in Linux, which will write the configurations through UART to IWR1642 when boosting. In the every first few times when powering on the device, it works well. But, later, it prompts Error -1 usually when writing profileCfg. Logs like this:
mmwDemo:/>profileCfg 0 77 30 7 62 0 0 60 1 128 2500 0 0 30
Error -1
mmwDemo:/>adcbufCfg 0 1 1 1
Done
mmwDemo:/>dfeDataOutputMode 1
Done
mmwDemo:/>channelCfg 15 3 0
Done
mmwDemo:/>cfarCfg 6 4 4 0 0 16 16 4 4 50 62 0
Done
For fewer cases, it warns errors at adcbufCfg:
adcbufCfg 0 1 1 1
Error -1
The complete configurations are like this:
dfeDataOutputMode 1
channelCfg 15 3 0
adcCfg 2 1
adcbufCfg 0 1 1 1
profileCfg 0 77 30 7 62 0 0 24 1 128 2500 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
frameCfg 0 1 128 0 50 1 0
lowPower 0 1
guiMonitor 1 1 0 0
cfarCfg 6 4 4 0 0 16 16 4 4 50 62 0
doaCfg 600 1875 30 1
SceneryParam -3.1 2.3 0.9 11
GatingParam 4 3 2 0
StateParam 5 5 10 100 5
AllocationParam 100 0.01 8 1 3
VariationParam 0.289 0.289 1.0
PointCloudEn 1
trackingCfg 1 2 250 20 200 50 90
sensorStart
PS: I've tried to add the following two configs:
sensorStop
flushCfg
at the beginning of the above configs, but the problem is always there. Moreover, it will hang up when writing sensorStop. So, usually I remove those two commands.
However, I find it seems working normally as it can output the tracks, but I still doubt there is something wrong inside.
My questions are:
1. why does it prompt this error
2. what influence will it make to the result
3. how to fix this error
Thank you!
Br
Michael