Skip to content

PRN Generating

WuPeicong edited this page Apr 25, 2022 · 3 revisions

prnGen.py

This program generates gold code as prn to make sure different chipsat with different prn doesn't interfere with each other.

The two "mseq" are Maximum_length_sequence.

Prn is the xor of mseq1 and rolling shift of mseq2. The prn currently using by ground station and firmware is 0,1,2 as prn for 0, prn for 1 and preamble.

The program outputs prns in hex format, with or without the "0x" prefix.

Clone this wiki locally