# CDMA Orthogonal Spreading Codes

### CDMA tutorial includes

The CDMA orthogonal spreading codes are one of the major elements within the whole CDMA system. The CDMA orthogonal spreading codes are combined with the data stream to be transmitted in such a way that the bandwidth required is increased and the benefits of the spread spectrum system can be gained.

The CDMA codes are specific to each channel / user so that the different users can gain access to the system and communicate as required.

## CDMA codes and correlation

The concept of CDMA is based around the fact that a data sequence is multiplied by a spreading code or sequence which increases the bandwidth of the signal. Then within the receiver the same spreading code or sequence is used to extract the required data. Only when the required code is used, does the required data appear from the signal.

CDMA system showing use of spreading codes

The process of extracting the data is called correlation. When a code exactly the same as that used in the transmitter is used, then it is said to have a correlation of one and data is extracted. When a spreading code that does not correlate is used, then the data will not be extracted and a different set of data will appear. This means that it is necessary for the same spreading code to be used within the transmitter and receiver for the data to be extracted.

## CDMA code types

There are several types of codes that can be used within a CDMA system for providing the spreading function:

• PN codes:   Pseudo-random number codes (pseudo-noise or PN code) can be generated very easily. These codes will sum to zero over a period of time. Although the sequence is deterministic because of the limited length of the linear shift register used to generate the sequence, they provide a PN code that can be used within a CDMA system to provide the spreading code required. They are used within many systems as there is a very large number that can be used.

A feature of PN codes is that if the same versions of the PN code are time shifted, then they become almost orthogonal, and can be used as virtually orthogonal codes within a CDMA system.
• Truly orthogonal codes:   Two codes are said to be orthogonal if when they are multiplied together the result is added over a period of time they sum to zero. For example a codes 1 -1 -1 1 and 1 -1 1 -1 when multiplied together give 1 1 -1 -1 which gives the sum zero. An example of an orthogonal code set is the Walsh codes used within the IS95 / CDMA2000 system.

By Ian Poole

<< Previous | Next >>

### More tutorials

Mike Logan | andersDX
Should I consider AMOLED?
LED technology is now being used for many applications not envisaged years ago. One variant of LED technology namely AMOLED, active-matrix organic light-emitting diode, technology is a form that is being used increasingly.
Online - RF and Wireless Propagation: Key Concepts
Learn about the basics of RF and wireless propagation

More training courses

mmWave The Battle of the Bands
5G mobile communications will use mmWave for many short range wide band links - but which microwave band will be used? Find out more in this informative white paper.

More whitepapers

##### Channels
Radio-Electronics.com is operated and owned by Adrio Communications Ltd and edited by Ian Poole. All information is © Adrio Communications Ltd and may not be copied except for individual personal use. This includes copying material in whatever form into website pages. While every effort is made to ensure the accuracy of the information on Radio-Electronics.com, no liability is accepted for any consequences of using it. This site uses cookies. By using this site, these terms including the use of cookies are accepted. More explanation can be found in our Privacy Policy