Estimating the signal power in the first path

I use the function dwt_readdiagnostics() to read F1, F2, F3, but all of the values are 0.
The code is as follows:
dwt_rxdiag_t diag1;
dwt_readdignostics(&diag1);
F1=diag1.firstPathAmp1;
F2=diag1.firstPathAmp2;
F3=diag1.firstPathAmp3;

I don’t know what went wrong with me. Did I read it at the wrong time? F1, F2, F3 register value will automatically clear 0? Are there any other considerations?

Hi Lei,

Can you extract a timestamp ? Have you loaded the LDE ?

Yves

My code is based on “nVer. 2.10 does TREK”, require additional LDE loading?
I can extract a timestamp.