Patent ID: 8749319

Claim:
A maximum current detection circuit in an RF system comprising: a current shunt circuit adapted to conduct a first current proportional to a received signal; a current mirror circuit coupled to said current shunt circuit and adapted to: conduct a second current that is proportional to said first current; and produce a reference voltage that is proportional to said second current; an analog-to-digital converter (“ADC”) coupled to said current mirror circuit and adapted to: generate a first digital value if said reference voltage is below a first voltage value; generate a second digital value if said reference voltage is above said first voltage value; and output an ADC value that is a selected one of said first digital value and second digital value; a digitally controlled current source (“DCCS”) coupled to said current mirror and said ADC and adapted to modify said reference voltage in response to receiving a DCCS code; and a digital logic block coupled to said ADC and said DCCS and adapted to: sweep said DCCS code from a first value to a second value; and save a first copy of said DCCS code corresponding to the first instance of ADC value indicating said reference voltage is above said first voltage value.