AnsweredAssumed Answered

ad9653 pn9 and pn23 clarification

Question asked by jmiller on Oct 29, 2013
Latest reply on Jul 28, 2015 by DougI


The AD9653 datasheet states:


The PN sequence short pattern produces a pseudorandom bit

sequence that repeats itself every 29 - 1 or 511 bits. A descrip-

tion of the PN sequence and how it is generated can be found in

Section 5.1 of the ITU-T 0.150 (05/96) standard. The seed value

is all 1s (see Table 14 for the initial values). The output is a

parallel representation of the serial PN9 sequence in MSB-first

format. The first output word is the first 14 bits of the PN9

sequence in MSB aligned form.


Table 14. PN sequence specifies an initial value of 0x1FE0 for PN9.


I am confused if the PN9 shift register is 9 bit or 14 bit or something else?

In one pn9 implementation an initial value would be

loaded ie. 9'b111111111 and every 16 clock cycles a parallel word

is output, comprised from the msbit of the PN9 shift register from each clock cycle.


   if (rst)

     lfsr <= 9'b111111111;


       lfsr <= {lfsr[7:0], lfsr[4] ^ lfsr[8]};


    msb = lfsr[8];


For the PN23 the initial value matches the description and table 14.

Same confusion about the shift register size and which bits are taken

to form the 16 bit output?


Any help would be greatly appreciated.

Thanks Joe