Electronics, Electrical Engineering, Telecommunication, Cybersecurity, Privacy.
Suppose, we need to send 2 bits of data namely, a 1 and a 0. In order to encode the data (makes sense), we add some noise (PN code/chips). Note that the PN code has higher bit-rate than original data. Now, to get the modulated and encoded signals to transmit, we use the XOR (Exclusive OR) truth