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.
Part Number: AWR1642BOOST
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?
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 */
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
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 "This resolved my issue" button on this post if it answers your question.
In reply to Jitendra Gupta:
How about rangeSNRdB/sinAzimSNRLin/Peakval? Could we use the same macro to convert to dB?
Hi Jitendra, How about rangeSNRdB/sinAzimSNRLin/Peakval? Could we use the same macro to convert to dB? Thanks John
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.