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.

AWR1642BOOST: Convert captured ADC data from 4 Rx with capture_demo.m

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: MMWAVE-SDK

I'm trying to capture and convert ADC data from 4 Rx channels. In Capture Demo, only one Rx is enabled and capture_demo.m converts I/Q of the single channel. 

In case of 4 Rx channel ADC, what should be modified in capture_demo.m file? 

  • Hello Thomas,

    Per my understanding the MMWAVE-SDK already has the support for all 4 Rx channels. I will check and get back to you .

    -Raghu
  • It will support 4 Rx but the capture demo only captures one adc data. It is not clear for me how to capture all 4 ADCs and convert the binary data into Matlab.
  • Hi Thomas,

    This document will show you how to capture raw ADC data from Code Composer Studio while running the capture demo here.

    Important: The 1642 stores data in a non interleaved fashion. All data from RX0 will be in a block, then the data from RX1, etc.

    Once you have captured the data, you need to edit the capture_demo.m script to read from the .dat file you have created.  Currently, capture_demo.m will only read and process data from the first chirp.  I recommend you work through this process once with 1 RX active so you can understand what the output should look like and how the script processes the data.  Then you should be able to scale the script to work with data from multiple RXs.  Alternatively, you can create one .dat file for each RX, then individually process each one with the capture_demo.m script.

    Regards,

    Justin

  • Hi Justin,

    Thanks for the help. One more question:

    In "AWR1xxx Data Path" document, the starting address of 4 ADCs are pointed by register DSS_REG:ADCBUFCFG2 and DSS_REG:ADCBUFCFG3. Where do I find the registers? I tried Register tab in CSS, but no matching register found.

  • Hi Thomas,

    You can find a list of all registers in the 1642 TRM.

    You can find the register you are looking for on page 499.

    Regards,

    Justin