If we have data we need to transmit which is $i$, so we should multiply is using XOR function with spreading code $y$.
How many bits (Maximum and Minimum) should $i$ and $y$ can have ?
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It only takes a minute to sign up.Sign up to join this community
There's no lower and upper general limits, aside from the fact that you need to transmit at least 1 bit, and that your spreading sequence should be longer than 1.
By the way, you typically apply spreading to symbols, not bits.
Spreading sequences can be binary, but they don't have to be.
So, bits is the wrong unit here; symbols for $i$ would be right, and chips for $y$.