-
Notifications
You must be signed in to change notification settings - Fork 0
PRN Generating
james edited this page Apr 29, 2022
·
3 revisions
This program generates gold code as pseudo-random number (prn) to make sure different chipsat with different prn doesn't interfere with each other. These prns could be generated by the Maximum_length_sequence. Such as the two "mseq" in the generating code.
Specifically, prn is the xor of mseq1 and rolling shift of mseq2. The prn currently used by the ground station and firmware is 0,1,2, corresponding to bit 0, bit 1, and preamble.
The PRN generating code outputs prns in hex format, with or without the "0x" prefix.