Post Go back to editing

AD9255 PN9 and PN23 seed values

Hi,

I'm using AD9255 and try to validate digital interface with FPGA. So I'm checking different Output Test Modes. Positive and negative FS seems ok, alternating checkerboard seems ok, but PN sequences make me confused. PN9 is repeatable, is always the same after reset, but it is not as I expect. So I wonder about the seed value. In 9255 datasheet nothing is said about the seed, in AN877 Application Note the seed 0x092 is mentioned for all devices. But e.g. for AD9653 the seed value is all 1s. So what is correct for AD9255? And what 3 first numbers after reset should I get in 2-s complement mode (for seed 0x092 values should be x496, xFC9, xA99, correct?)? I wonder why AD does not make a simple counter as one of the test modes, it would be so much more convenient...


Thank You

Parents
  • PMH, thanks for your answer! Is this your code? It's seems a bit strange to me. The realization is not obvious, but the value of the shift register after each 14 shifts is the same as in my code: 1ef, 0e6, 04a etc. What I do not understand is why the output is formed directly from the current value of the shift register:

    assign out[15:0] = (mode) ? {xsreg[6:0], sreg[8:0]}: {xsreg[4:0], sreg[8:0], 2'b00};

    As far as I understand, each shift of the shift register produces 1 bit of the output (msb of shift reg), so after 14 shifts we have 14 output bits, while in a shift reg we have certain new 9 bits. So according to my simulation the first output should be 3FE0 (while current value of the shift reg is 1ef indeed).

Reply
  • PMH, thanks for your answer! Is this your code? It's seems a bit strange to me. The realization is not obvious, but the value of the shift register after each 14 shifts is the same as in my code: 1ef, 0e6, 04a etc. What I do not understand is why the output is formed directly from the current value of the shift register:

    assign out[15:0] = (mode) ? {xsreg[6:0], sreg[8:0]}: {xsreg[4:0], sreg[8:0], 2'b00};

    As far as I understand, each shift of the shift register produces 1 bit of the output (msb of shift reg), so after 14 shifts we have 14 output bits, while in a shift reg we have certain new 9 bits. So according to my simulation the first output should be 3FE0 (while current value of the shift reg is 1ef indeed).

Children
No Data