Patent ID: 7379716

Claim:
A self-testing transceiver having an on-chip power detection capability, the self-testing transceiver comprising: a semiconductor substrate; a transmitter disposed on said substrate and comprising a high-power amplifier; a receiver disposed on said substrate for selectively coupling to an antenna; at least one power detector disposed on said semiconductor substrate for determining a power of a signal at an internal node of the self-testing transceiver, the at least one power detector having an initial-stage attenuator for attenuating a received signal, said initial-stage attenuator having a signal input and a signal output, a final-stage attenuator electrically connected to said initial-stage attenuator for attenuating the received signal, said final-stage attenuator having a signal input and a signal output, at least one intermediate-stage attenuator connected in series between said initial-stage attenuator and said final-stage attenuator for also attenuating the received signal, an initial-stage detection unit connected to said signal input of said initial-stage attenuator for providing a first power measurement, an intermediate-stage detection unit connected to said signal output of said initial-stage attenuator for providing a second power measurement, at least one additional intermediate-stage detection unit connected to said signal input of said final-stage attenuator for providing a third power measurement, a final-stage detection unit connected to said signal output of said final-stage attenuator for providing a fourth power measurement, and a power determining module connected to each of said detection units for determining a power of the received signal based upon the first, second, third, and fourth power measurements; and a loopback circuit disposed on said substrate, said loopback circuit comprising an attenuator, a preamplifier, a first switch for switching said preamplifier between said attenuator and said high-power amplifier, a low-noise amplifier, and a second switch for switching said low-noise amplifier between said attenuator and said antenna; wherein in a self-testing mode said first switch connects said preamplifier to said attenuator and said second switch connects said attenuator to said low-noise amplifier to thereby provide a signal path for a test signal from said preamplifier to said low-noise amplifier through said attenuator.