This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DP83822EVM: Compliance Test for 10BaseTe Test pattern

Hello,

I'm trying to generate test pattern with the DP83822 for the 10BaseTe.

In the application note http://www.ti.com/lit/an/snla266/snla266.pdf  and http://www.ti.com/lit/an/snla239a/snla239a.pdf I don't fine how to configure the registers for "All Ones Signal for Harmonic Distortion". (0Sets packet generator to send FFFF each 16 bits of payload data, which is all ones)

Could You please comment on that?

thanks and regards


SUBRAMANIAM

  • The application report mentions, that in order to do the Harmonic Content test, I need to configure the PHY in analog loopback mode, and then nothing else.

    What I did, was

    1- software reset (clears register)

    Register: 0x001F

    Value: 0x8000

    2- programs DUT to 10BaseTe mode

    Register: 0x0000

    Value: 0x0100

    3- programs DUT to Forced MDI mode

    Register: 0x0019

    Value: 0x0021

    4- enables analog loopback mode

    Register: 0x0016

    Value: 0x0108

    5- to enable the repetitive 1 (For address space higher than 0x1F, extended register space access needs to be used. I need to access to the register 0x0027.  Then I use extended register access. )

    5.1- write the value 0x001F to register 0x000D (address function field=00,DEVAD=31)

    5.2- write the value 0x0027 to register 0x000E (set desired register to COMPT, address 0x0027)

    5.3- write the value 0x401F to register 0x000D (data, no post increment Function field=01, DEVAD=31)

    5.4- write the value 0x0013 to 0x000E ( bit 4 is set to 1 for enabling 10BaseTe test patterns and bit [3:0] is set to 0011 = Repetitive 1)

    Can you confirm if the setting is correct? is there something that I miss? is there any other configuration to set?

    Regards,

    Subramaniam

  • Hello Subramaniam,

    Please use register 0x0027 for all ones signal.

    Please refer to "8.4.8.5 Analog Loopback" of the datasheet http://www.ti.com/lit/ds/symlink/dp83822h.pdf.

    Thanks,

    Vibhu

  • Hi,

    I’ve used the register 0x0027 and followed your recommandation.  Can you confirm if the sequence that i wrote above is correct?

    Regards,

    SUBRAMANIAM