Other Parts Discussed in Thread: AWR1642
Tool/software: TI C/C++ Compiler
Hi,
I posted something similar in the sensor forum, but I now realize this may be more of a code forum question rather than a sensor forum question. Please see below:
While I understand that the DCA1000 collects the raw ADC data, I think there is something special about how many chirps (or cycles of chirps * # of chirps) described in the CLI Script under subframeCfg that the AWR is looking for. When I tried the "wrong" script below on the online demoVisualizer, I remember getting an error in regards to DSS_main.c, line 2021. The working one worked.
I state the above because the attached working CLI script (that transmits 16 chirps per subframe) works when I run it on the AWR1642, but the CLI Script that transmits anything other than 16 (or a multiple of that) does not load correctly. I am trying to figure out why.
Where do you think this hang up could be occurring? I was thinking somewhere in the DSS that requires a certain amount of chirps (for the velocity calculation), but I am not sure.
Working CLI Script:
sensorStop
flushCfg
dfeDataOutputMode 3
channelCfg 15 1 0
adcCfg 2 1
adcbufCfg -1 0 0 1 0
profileCfg 0 77 7 7 160 0 0 20 1 512 6200 0 0 30
profileCfg 1 77 7 7 160 0 32 20 1 512 6200 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 1
chirpCfg 2 2 1 0 0 0 0 1
chirpCfg 3 3 1 0 0 0 0 1
bpmCfg -1 0 0 1
advFrameCfg 4 0 80 1 0
subFrameCfg 0 0 0 1 16 50 0 1 1 50
subFrameCfg 1 0 1 1 16 50 0 1 1 50
subFrameCfg 2 0 2 1 16 50 0 1 1 50
subFrameCfg 3 0 3 1 16 50 0 1 1 50
lowPower 0 1
guiMonitor -1 1 1 1 0 0 1
cfarCfg -1 0 0 8 4 4 0 2560
cfarCfg -1 1 0 4 2 3 0 2560
peakGrouping -1 1 1 1 1 255
multiObjBeamForming -1 1 0.5
calibDcRangeSig -1 0 -5 8 256
extendedMaxVelocity -1 0
clutterRemoval -1 0
compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 0 1.5 0.2
nearFieldCfg -1 0 0 0
CQRxSatMonitor 0 3 5 123 0
CQSigImgMonitor 0 127 4
analogMonitor 0 0
lvdsStreamCfg -1 0 1 0
sensorStart
Not working CLI Script:
(Everything is the same except that there is now 15 chirps rather than 16. Ideally, I would like it to only work with one chirp and collect that raw ADC data).
sensorStop flushCfg dfeDataOutputMode 3 channelCfg 15 1 0 adcCfg 2 1 adcbufCfg -1 0 0 1 0 profileCfg 0 77 7 7 160 0 0 20 1 512 6200 0 0 30 profileCfg 1 77 7 7 160 0 32 20 1 512 6200 0 0 30 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 1 chirpCfg 2 2 1 0 0 0 0 1 chirpCfg 3 3 1 0 0 0 0 1 bpmCfg -1 0 0 1 advFrameCfg 4 0 80 1 0 subFrameCfg 0 0 0 1 15 50 0 1 1 50 subFrameCfg 1 0 1 1 15 50 0 1 1 50 subFrameCfg 2 0 2 1 15 50 0 1 1 50 subFrameCfg 3 0 3 1 15 50 0 1 1 50 lowPower 0 1 guiMonitor -1 1 1 1 0 0 1 cfarCfg -1 0 0 8 4 4 0 2560 cfarCfg -1 1 0 4 2 3 0 2560 peakGrouping -1 1 1 1 1 255 multiObjBeamForming -1 1 0.5 calibDcRangeSig -1 0 -5 8 256 extendedMaxVelocity -1 0 clutterRemoval -1 0 compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 measureRangeBiasAndRxChanPhase 0 1.5 0.2 nearFieldCfg -1 0 0 0 CQRxSatMonitor 0 3 5 123 0 CQSigImgMonitor 0 127 4 analogMonitor 0 0 lvdsStreamCfg -1 0 1 0 sensorStart
Thank you!
George