Patent ID: 8311078

Claim:
A signal generating apparatus comprising: a spreading device that respectively spreads data using spreading code that is based on an initial phase; a multiplexing unit that code multiplexes the data spread by the spreading device; a calculating unit that calculates a peak of a signal resulting from code multiplexing by the multiplexing unit; a changing unit that changes the initial phase of the spreading device in a predetermined order; a determining unit that each time the initial phase is changed by the changing unit, determines whether the peak calculated by the calculating unit is at most a threshold; a transmission control unit that outputs the signal, if the determining unit determines that the peak is less than or equal to the threshold; and a storage unit that stores an initial phase, which is the initial phase when the peak calculated by the calculating unit becomes smallest consequent to a changing of the initial phase by the changing unit, wherein the changing unit changes the initial phase of the spreading device to become equivalent to the initial phase stored in the storage unit, if the determining unit does not determine that the peak is less than or equal to the threshold despite the initial phase being changed the predetermined number of times, and wherein the transmission control unit transmits the signal as a result of the initial phase being changed to become equivalent to the initial phase stored in the storage unit.