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: Queries from gesture swipe code for IWR14xx (cfarcfg command and threshold values)

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: IWR1443, AWR1642

Hi, 

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

I am going through the Gesture Swipe lab of IWR1443, I have some of the following doubts: 

A]

The threshold value  in a function Gesture_findNumDetections is hardcoded value: 8000.

Gesture_findNumDetections(dataPathObj->numRangeBins, dataPathObj->numDopplerBins, dataPathObj->rangeDopplerLogMagMatrix,8000 ,gestureMetrics,maxIndices);

1.  Is it platform dependent (does this change if I would work on AWR16xx)?

2. Can I use the same value if I want to build the gesture swipe for AWR1642? Is there any way to calculate this value? 

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

B]

Configuration file for gesture swipe code of IWR1443 has following commands.

sensorStop
flushCfg
dfeDataOutputMode 1
channelCfg 15 5 0
adcCfg 2 1
adcbufCfg 0 1 0 1
profileCfg 0 77 360 6 40 0 0 100 1 64 2000 0 0 48
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 1
chirpCfg 2 2 0 0 0 0 0 1
chirpCfg 3 3 0 0 0 0 0 1
frameCfg 0 0 128 0 55 1 0
guiMonitor 1 0 0 0 0 0
cfarCfg 0 2 8 4 3 0 1200
peakGrouping 1 1 1 1 224
multiObjBeamForming 1 0.5
calibDcRangeSig 0 -1 7 256
sensorStart

I am looking for above highlighted command

cfarCfg 0 2 8 4 3 0 1200   (here we think that Tcli =1200)

As per document mmwave_sdk_user_guide.pdf  (Page 21)   threshold scale value is calculated by using following formula

Tcli = 512 x TdB / 6 x (N/N')

 

1. What is TdB for 14xx and 16xx"?

2. Are these TdB/Threshold scale platform dependent (do they differ for 14xx and 16xx)

3. As per   mmwave_sdk_user_guide.pdf   (Page 21)  for 14xx, threshold scale is expressed in Q9 format and for 16xx it is in Q8 format. What is difference between these two formats? Can I opt to use Q9 format for AWR16xx?

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

Regards,

Arifchand

  • Hi Arifchand,
    Tcli is the value provided in CLI command.
    TdB is the threshold value (in dB).
    TdB/Threshold is mainly the dB value of reflection where you need to put threshold to chunk off the noise and get the object peaks.
    As 14xx uses hardware accelerator and 16xx uses DSP, both have different scaling which causes Q9/Q8 format on both of the devices.


    Regards,
    Jitendra
  • Hi Jitendra, 

    Thank you for your inputs. 

    I repeat my following queries:

    A]

    The threshold value  in a function Gesture_findNumDetections is hardcoded value: 8000.

    Gesture_findNumDetections(dataPathObj->numRangeBins, dataPathObj->numDopplerBins, dataPathObj->rangeDopplerLogMagMatrix,8000,gestureMetrics,maxIndices);

    1.  Is it platform dependent (does this value (8000) change if I would work on AWR16xx)?

    2. Can I use the same value if I want to build the gesture swipe for AWR1642? Is there any way to calculate this value? 

    Regards,

    Arifchand

  • Hi,
    If you are planning to create a gesture application for xWR1642 then I would suggest taking reference from multi-gesture application available at this link-
    dev.ti.com/.../
    This application is based on 68xx device but can be ported on xWR1642 device
    1. Check all the memory addresses and change those accordingly.
    2. The antenna pattern is different for 68xx EVM and AWR1642-ODS EVM, so you need to take care of this point as well.

    Note- For Gesture application you need to use AWR1642-ODS EVM to get the elevation information compare to AWR1642-BOOST EVM.

    Regards,
    Jitendra