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.

DCA1000 UDP packet format

Other Parts Discussed in Thread: AWR6843AOP

Hello

With the help of a matlab (for AWR6843AOP ) , I am receiving the UDP packets from the port 4098 from DAC1000 for a radar configuration in 'raw mode '.(radar configured for 256 samples per chirp)

My received data is 16 bits and each packet is having 255 16- bit data where first 4 bytes are sequence number and 6 bytes corresponds to the byte count. So the remaining bytes will be our raw data. This is what my understanding about the data format from DCA1000 user guide. 

My queries 

1. Whether each 16 bit data corresponds to the each sample starting from first chirp?

2. If it so , why each UDP packets contains only 250   16-bit data (I am expecting 256 , since I configured for 256 samples per chirp)

3. Do you have any matlab code to decode the UDP packets coming to the port (not for decoding the adc_data.bin formed in PostProc folder)

4. How the UDP packets are sending, it it for every chirp or for every frame?

Regards

Resmi Johnson

  • Hi, Johnson:

    You can find some reference code and document under radar studio release C:\ti\mmwave_studio_02_01_01_00\mmWaveStudio\ReferenceCode\DCA1000

    How this reference code is using UDP packet.   RF_API folder contains the files to handle UDP socket communication through ethernet and generation of captured data files. 

    Hope this is useful to you.

    Best,

    Zigang

  • Hello Zigang

    I had gone through the code. Just wanted to confirm one more point :From DCA1000 user guide I under stood  that in raw mode, the 10 bytes in each UDP packet will be sequence number and byte length and remaining is the raw data.

    1. Could you help me to understand why the UDP packets that I received is only 255 evenif the byte length is 1456 . I have configured for int16 as ADC output. Please help me on understanding the datatype of raw data in UDP  and provide some document related tothis if you have.

    2. Also I am using a HW configuration for DCA1000 and configuring the radar using the mmwaveVisualiser, and receiving my UDP packets in matlab, but I am getting the raw data same for any scenarios that I take raw data. Could you help me to debug this as well?

    Regards

    Resmi Johnson

  • HI, there:

    First, is your captured raw data looks correct?   If your data does not look correct, I would suggest you to follow our regular data capture procedure and make sure that the data you received are correct.  

    Best,

    Zigang

  • Hello 

    To understand the data, I followed our regular data capture using the mmwave studio and DCA1000. 

    Output is coming correct. Here I have a confusion on data . How the adc_data_Raw_0.bin and adc_data.bin differ in terms of actual ADC radar data ? It seems to be same in size. please let me know to understand the difference (any conversion /rearranging is doing here) . My UDP packets is same as adc_data_Raw_0.bin, but I need to convert  UDP packets data to adc_data.bin data format /arrangement. 

    Please provide a link or a reference to understand more on this ?

    Regards

    Resmi Johnson

  • HI, there:

    There is no difference between adc_data_Raw_0.bin  and adc_data.bin.  Please refer to the mmwave studio users guide section 3.3. 

    Best,

    Zigang