Other Parts Discussed in Thread: DCA1000EVM, AWR2944
I use AWR2944EVM with DCA1000EVM to stream raw ADC data. Demo of SDK 4.2 is used. AWR2944 has 4 LVDS lanes, so DCA1000 is set to mode '1'.
The raw data stream contains 2 times more data per frame as expected:
numBytesPerChirp = numADCSamples * 2 #bytes
numBytesPerFrame = (numLoops * numRx * numTx) * numBytesPerChirp
The data payload looks like the following (each value is the integer repreesentation of 16 bit). From this, it looks like Lane 1 and Lane 2 contain correct varying numbers. Lane 3 is always zero. Lane 4 contains often -1 or orther values around that.[-4 -163 0 -1 -273 -113 0 -25 81 237
0 -2 195 221 0 -1 -248 -334 0 -131
-309 111 0 -1 418 523 0 -1 308 128
0 -1 -271 -371 0 -2 -288 -175 0 32766
-213 -294 0 -1 -225 70 0 -16385 -85 -97
0 -17 -152 -103 0 -2 -199 -363 0 -1]
Can it be, that the data in demo streamed only over 2 Lines? The other two are not valid. It would also explain why the number of bytes sent is doubled.
Config used:sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 1 0
adcCfg 2 0
adcbufCfg -1 1 1 1 1
lowPower 0 0
profileCfg 0 77 626.66 5.80 40 0 0 96.03 1 128 4000 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
frameCfg 0 0 128 1 128 239 1 0
lowPower 0 0
guiMonitor -1 0 0 0 0 0 1
cfarCfg -1 0 2 8 4 3 0 15 1
cfarCfg -1 1 0 4 2 3 1 15 1
multiObjBeamForming -1 0 0.5
calibDcRangeSig -1 0 -5 8 256
clutterRemoval -1 0
lvdsStreamCfg -1 0 1 0
compRangeBiasAndRxChanPhase 0.0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
measureRangeBiasAndRxChanPhase 0 1.5 0.2
aoaFovCfg -1 -90 90 -90 90
cfarFovCfg -1 0 0 8.92
cfarFovCfg -1 1 -1 1.00
extendedMaxVelocity -1 0
calibData 0 0 0
sensorStart
DCA config:{
"DCA1000Config": {
"dataLoggingMode": "raw",
"dataTransferMode": "LVDSCapture",
"dataCaptureMode": "ethernetStream",
"lvdsMode": 1,
"dataFormatMode": 3,
"packetDelay_us": 25,
"ethernetConfig": {
"DCA1000IPAddress": "192.168.33.180",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"ethernetConfigUpdate": {
"systemIPAddress": "192.168.33.30",
"DCA1000IPAddress": "192.168.33.180",
"DCA1000MACAddress": "12.34.56.78.90.12",
"DCA1000ConfigPort": 4096,
"DCA1000DataPort": 4098
},
"captureConfig": {
"fileBasePath": "C:\\dcarawdata",
"filePrefix": "adc_data",
"maxRecFileSize_MB": 1024,
"sequenceNumberEnable": 1,
"captureStopMode": "infinite",
"bytesToCapture": 4000,
"durationToCapture_ms": 4000,
"framesToCapture": 40
},
"dataFormatConfig": {
"MSBToggle": 0,
"laneFmtMap": 0,
"reorderEnable": 0,
"dataPortConfig": [
{
"portIdx": 0,
"dataType": "real"
},
{
"portIdx": 1,
"dataType": "complex"
},
{
"portIdx": 2,
"dataType": "real"
},
{
"portIdx": 3,
"dataType": "real"
},
{
"portIdx": 4,
"dataType": "complex"
}
]
}
}
}