Patent ID: 8571497

Claim:
A radio frequency transmitting system comprising: a programmable amplifier configured to amplify an input signal to generate an amplified signal; a power amplifier configured to output a transmit signal in response to the amplified signal, wherein the transmit signal has a transmit power; a power detector configured to generate a power measurement in response to the transmit power; a calibration module configured to implement a plurality of feedback loops to adjust a gain of the programmable amplifier in response to a difference between the power measurement and a desired transmit power, wherein the calibration module is configured to select one of the plurality of feedback loops in response to the desired transmit power; and a summing module configured to generate a power command in response to the desired transmit power and an offset, wherein the calibration module generates the offset, and wherein the gain of the programmable amplifier is adjusted in response to the power command, wherein the calibration module comprises a plurality of counters, wherein each of the plurality of counters is configured to track a difference between up signals and down signals, wherein the up signals and the down signals are generated based on the power measurement, and a selection module configured to select one of the plurality of counters in response to the desired transmit power, wherein the offset is based on the selected one of the plurality of counters.