A 2.4-GHz 43-dB CMOS Logarithmic Amplifier for RF Signal Level Detection