The present invention relates to a method of performing time drift
compensation in a receiver (200) and a receiver (200) for performing time
drift compensation. The basic idea of the invention is that a signal is
received at the receiver. A control pulse is produced after a certain
number of chips of the received signal has been received. A variable
delay that is applied to the received signal is controlled by means of
the control pulse. The resulting delayed signal is supplied to
demodulation units (202, 203) in the receiver, in which delayed signal
chips have been omitted or duplicated. A compensation signal is supplied
to the demodulation units in the receiver, and this compensation signal
indicates whether chips have been omitted or duplicated in the delayed
signal. Finally, the delayed signal is demodulated such that the
demodulation units consider the omission or duplication of chips in the
delayed signal.