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.

AWR1642: Does Capture demo support minus FM slope rate?

Part Number: AWR1642

Hi

I want to generate a triangle-like wave form in Capture demo of AWR1642.

So I did a test by changing the radar config script like this:

flushCfg
dfeDataOutputMode 1
channelCfg 2 1 0
adcCfg 2 1
adcbufCfg 0 0 1 1
profileCfg 0 79 20 5 80 0 0 -40 1 256 8000 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
frameCfg 0 0 128 1 20 1 0
lowPower 0 0
sensorStart

The numbers marked in red is different from script in User Guide.

However there is no object can be observed in captured ADC data. 

When I changed the script of profile config back to "profileCfg 0 77 20 5 80 0 0 40 1 256 8000 0 0 30", it worked well.

I noticed that the PF_FREQ_SLOPE_CONST can be set between -2072 to 2072 kHz/us in "AWR1xx_Radar_Interface_Control.pdf".

Does Capture demo support minus FM slope rate? 

Thank you.

  • Hello Juan,
    The present capture demo application does not support negative slopes, we would be enabling this in the next release. But you can easily modify the code to enable negative slops.
    In the "Cli_mwave.c" file the typ def of the slope const is kept as unit32 and hence only positive values are taken at present. If you change the type def to int then negative slop would also work.

    profileCfg.freqSlopeConst = (uint32_t)(atof (argv[8]) * (1U << 26) / (3.6*1e3*900)); //2^26 * 1e6/((3.6*1e9)*900)

    Regards,
    Vivek
  • Hi Vivek
    Thanks a lot for your help.
    I would try your advice.
    Regards,
    Caijuan