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.

AWR1843: How to derive peakVal of db unit?

Expert 2050 points
Part Number: AWR1843

An TLV message example is given as below. I know to get the real coordinator value of x, y and z, will use x / pow(2, xyzQFormat)

Here, I would like to know how to calculate the real peak value in db unit from the peakVal?

Message Example

  {

    "header": {

    "magic_word": [

     258,

     772,

     1286,

     1800

     ],

    "version": 50659332,

    "totalPacketLen": 192,

    "platform": 661058,

    "frameNumber": 1422,

    "timeCpuCycles": 156183642,

    "numDetectedObj": 3,

    "numTLVs": 4,

    "subFrameNumber": 1

   },

/*------------- TLVs --------------*/

 

   "body": [

    {

/*------------- 1st TLV (Detected Objects)--------------*/   

 "header": {

      "type": 1,

      "length": 34

     },

     "body": {

      "numDetetedObj": 3,

      "xyzQFormat": 7,

      "data": [

       {

        "speed": 0,

        "peakVal": 3868,

        "x": -32,

        "y": 101,

        "z": -17

       },

       {

        "speed": 0,

        "peakVal": 3785,

        "x": -45,

        "y": 216,

...

Thanks