This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR2243BOOST: What is the RAW data file format captured from AWR2243 + AM273x + DCA1000 platform

Part Number: AWR2243BOOST
Other Parts Discussed in Thread: AWR2243

Hi,

For the am273x__Raw_0.bin file, I trying to use AWR2243 + AM273x + DCA1000 platform to capture raw data.

My question is what is the correct raw data file format?

Thanks.

The description below is the problem I encountered during the parsing process.

===================================

The raw data is recorded by following steps from "C:\ti\mmwave_mcuplus_sdk_04_04_00_01\mmwave_mcuplus_sdk_04_04_00_01\docs\mmwave_mcuplus_sdk_user_guide.pdf":

-------------------------------------------------------------

Visualizer:

===================================

I tried to parse the raw data file using our parser tool , but the RAW data and FFT seem to be different from Visualizer(FFT).

So far, I use the data file format is follows:

Rx0I(0), Rx0Q(0), Rx1I(0), Rx1Q(0), Rx2I(0), Rx2Q(0), Rx3I(0), Rx3Q(0) ....

----------------------------------------------

our parser tool :

RAW:(I-Q)

FFT:

===================================

Raw data file format reference document:

Mmwave Radar Device ADC Raw Data Capture (Rev. B) (ti.com)

RAW data file:

am273x__Raw_0-20230601.zip

Profile (TDM):

profile_LVDS.cfg

  • Hi,

    We will need to check this on the bench once and verify your inputs. Kindly allow us some time for this process. We will try to update you on this within a week.

    Thanks,

    Pradipta.

  • Hi,

    I checked the .json file which is to be used for data capture. Currently the data format is real. So there will be no "I" and "Q" data there but only N real samples of the chirp.

     

    "dataFormatConfig": {
          "MSBToggle": 0,
          "laneFmtMap": 0,
          "reorderEnable": 0,
          "dataPortConfig": [
            {
              "portIdx": 0,
              "dataType": "real"
            },
            {
              "portIdx": 1,
              "dataType": "real"
            },
            {
              "portIdx": 2,
              "dataType": "real"
            },
            {
              "portIdx": 3,
              "dataType": "real"
            },
            {
              "portIdx": 4,
              "dataType": "real"
            }
          ]
        }

    Have you made any changes to this file? If not, then the file format you use is not correct. 

    Thanks,

    Pradipta.

  • Hi,

    Yes, the default .json file is used.

    I change the .json file, then record the raw data. 

    The file size of new raw data seems to be the same with before.

    Is this result correct?

    Thanks

    {
      "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:\\ti\\",
          "filePrefix": "am273x_",
          "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": "complex"
            },
            {
              "portIdx": 1,
              "dataType": "complex"
            },
            {
              "portIdx": 2,
              "dataType": "complex"
            },
            {
              "portIdx": 3,
              "dataType": "complex"
            },
            {
              "portIdx": 4,
              "dataType": "complex"
            }
          ]
        }
      }
    }

  • Hi,

    After modifying the alignment of raw data, rx, adc samples and iq-swap, the raw data  and 1D FFT seems make sense.

    For tool(1D FFT), the unit of relative power is different from visualizer(1D FFT).

    1.Have any suggestions for these test materials?

    2.About relative power, is there method to convert unit from dBFs to dB?

    Thanks.

    =======================================

    (the default .json file is used)

    tool: RPM

    tool : Raw data:

    tool : 1D FFT:

    visualizer : 1D FFT

  • Hi,

    Not aware of any direct formula for dBFS to dB conversion. Also, we do not use that tool so do not have good knowledge on the configuration changes required to exactly match with our visualizer data. 

    The graphs are looking more meaningful than your previous collection. So, it appears that the data format you are using is now correct. 

    Thanks,

    Pradipta.