The method and apparatus herein identifies tunable duplexer in a
communication system. The tunable duplexer includes a tunable receiver
filter, a tunable transmitter filter, a variable receiver phase shifter,
and variable transmitter phase shifter. Each filter and phase shifter is
optimized based on characteristics of impedance within the duplexer. The
duplexer may be adjusted to changing environments or desired changes in
the frequency of operation, reducing circuitry architecture and providing
greater flexibility in communication function. The method commences by
tuning tunable filters within the duplexer and then optimizing phase
shifters within the duplexer for adjusting impedance matching with
antenna and isolating the receiver from the transmitter during duplexing
operations. Optimizations and calibration may be performed during
manufacture, upon initialization of the system, or during operation of
the communication device. The modes of calibration and operation may be
generalized as "predefined" (for known environments and frequencies) or
"adapt," where antenna impedance or frequency of operation changes.