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.

  • TI Thinks Resolved

AWR1642BOOST: SRR application: how to conver rangeSNRdB, dopplerSNRdB, sinAzimSNRLin to dB?

Part Number: AWR1642BOOST

Hi team,

We want to know how to convert the rangeSNRdB, dopplerSNRdB, sinAzimSNRLin to dB value?

the rangeSNRdB value we get from UART, it almost 2200.

if we want to convert the 2200 to dB, how can we do?

Thanks

Weks

 

  • Hi team,

    How to convert peakVal、rangeSNRdB、dopplerSNRdB、sinAzimSNRLin to dB value?

    typedef struct MmwDemo_detectedObjActual_t

    {

       uint16_t   rangeIdx;            /*!< @brief Range index */

       uint16_t   dopplerIdx;          /*!< @brief Doppler index */

       uint16_t   range;               /*!< @brief Range (meters in oneQformat) */

       int16_t    speed;               /*!< @brief Doppler (m/s in oneQformat) */

       int16_t    sinAzim;             /*!< @brief wx  sin(Azim).  Q format provides the bitwidth. */

       uint16_t   peakVal;             /*!< @brief Peak value */

       uint16_t   rangeSNRdB;          /*!< @brief Range SNR (dB)  */

       uint16_t   dopplerSNRdB;        /*!< @brief Doppler SNR (dB) */

       uint16_t   sinAzimSNRLin;       /*!< @brief omega SNR (linear scale) */

       int16_t  x;             /*!< @brief x - coordinate in meters. Q format provides the bitwidth. */

       int16_t  y;             /*!< @brief y - coordinate in meters. Q format provides the bitwidth. */

       int16_t  z;             /*!< @brief z - coordinate in meters. Q format provides the bitwidth. */

       uint16_t clusterId;             /*!< @brief Cluster ID */

    } MmwDemo_detectedObjActual;

  • In reply to Weks Chen:

    SRR uses the formula to calculate SNR as given in one of the MACRO in the dss_data_path.c
    #define TWENTY_TWO_DB_DOPPLER_SNR ((22 *(256))/6)

    e.g. 2200 value convert to dB will be (2200*6/256)

    Regards,
    Jitendra

    ________________________________________________________________

    Please click the Verify Answer button on this post if it answers your question.
    ________________________________________________________________

  • In reply to Jitendra Gupta:

    Hi Jitendra,

    How about rangeSNRdB/sinAzimSNRLin/Peakval? Could we use the same macro to convert to dB?

    Thanks.

    John

  • In reply to Weks Chen:

    Hi Jitendra,

    How about rangeSNRdB/sinAzimSNRLin/Peakval? Could we use the same macro to convert to dB?

    Thanks

    John

  • In reply to Weks Chen:

    It should be equivalent formula for that also.

    Regards,
    Jitendra

    ________________________________________________________________

    Please click the Verify Answer button on this post if it answers your question.
    ________________________________________________________________

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.