How is gold code generated?
A set of Gold codes can be generated with the following steps. Pick two maximum length sequences of the same length 2n − 1 such that their absolute cross-correlation is less than or equal to 2, where n is the size of the linear-feedback shift register used to generate the maximum length sequence (Gold '67).
How many gold codes are there?
For this situation there are 65 different Gold-codes available and the maximum full-code cross-correlation is 17.