discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] RSSI calculation


From: Fengyuan Gong
Subject: [Discuss-gnuradio] RSSI calculation
Date: Fri, 25 Mar 2011 22:52:59 -0400

Hi, All,
I am a bit confused about RSSI calculation.
In the given verilog code at http://code.ettus.com/redmine/ettus/projects/fpga/repository/revisions/8b377a9d6d0ad281474a8dbff49ea3b093178b28/entry/usrp2/sdr_lib/rssi.v 
I can see RSSI is defined by 16 bits.

But in usrp_prims_common.cc, function usrp_read_aux_adc,
*value = ((v_hi << 2) | ((v_lo >> 6) & 0x3)) << 2; // format as 12-bit
the value is only assigned by 12 bits. I though the value is RSSI. But then it contradicts with format given in the verilog code. Or value is not RSSI?

Any help is appreciated.
Fengyuan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]