In a method f or synchronizing a receiver with a signal modulated with a
spreading code the frequency shift of the transmitted signal and the
symbol acquisition of the data transmission are determined. In the
method, a guessed data is generated, and the received signal is
multiplied with at least two different values of said guessed data, to
form spectrum results. The spectrum results formed with said different
guessed data are used to determine the frequency shift.