@suryatapa Analag data cannot be given directly to this model. You have to sample it and give it in digital format as this model is working on baseband layer.
@Abiodun First the input data stream is scrambled using the PN sequence at 2Mcps. To scramble, I have converted the bits into bipolar format and then converted it back to unipolar as OQPSK modulator doesnt take bipolar bits as input.
The reverse will followed at receiver. To compare the sequence perfectly, I have added a transport delay block for PN sequence. This is only the physical layer mapping of Zigbee. Is there anything you didnt understand, tell me.