Post Go back to editing

EVAL-ADIN1100 used as media converter

Category: Hardware
Product Number: ADIN1100
Software Version: 12.3.24193e28

I am doing a first investigation for implementation of the ADIN1100 in a new product.

Purchased 2x EVAL-ADIN1100EBZ boards.

Test setup:

PC(192.168.2.1)------EVAL-ADIN1100 ------- 2 meter twisted cable ---------EVAL-ADIN1100-------Device(192.168.2.10)

Configuration (both EVAL-ADIN1100EBZ

uP config: CFG0...CFG3 = OFF

HW config: MACIF-SEL0=ON, rest = OFF

Single pair ethernet + and - connected between 2 EVAL boards

LED uC2 flashing (heartbeat), uC0 green. LED0 and LED1 both ON. Power from USB port PC.

What is needed to make this setup work? If I try to ping the device (192.168.2.10) I get time out.

Thank you for your answer

  • Hi  ,

    Your set up should work providing that your IP addresses are properly assigned.

    • Are you able to ping your remote device from the PC using standard ethernet communication? (i.e. remove 10BASE-T1L media conversion, just to confirm your IP settings are correct, I assume yes)
    • Are you using a DHCP server? or do you use fixed IPs?
    • Can you confirm the left LEDs on the RJ45 connector is ON (Green) using the setup described above?
    • Can you confirm the right LEDs on the RJ45 connector is flashing amber during the ping using the setup described above?

    If the above is OK can you test the 10BASE-T1L link by using the frame generator/checker feature:

    (see User Guide for EVAL-ADIN1100EBZ [Analog Devices Wiki] table 5 for mode settings, use the DIP switch S403 to set the appropriate configuration)

    • Set the DUT1 in frame generator/checker mode (mode 12)
    • Set the DUT2 in MAC remote loopback (mode 13)
    • Reset DUT1 and DUT2 by pressing the reset button S501
    • Open a serial terminal on DUT1 and enter the "start" command to start sending frames
    • Enter the "stop" command to stop sending frames

    => The frame generator on DUT1 will issue frames that will be looped back on the link by the ADIN1100 PHY.

    You should see an MSE value below -30dB, the Diff /Err results should be close to 0, in the case below 3000 frames were sent with no error, let us know if that works of for you too. If you still have an issue we will have to investigate further.

    Regards,


    Wassim

  • Thank you for the swift replay Wassim,

    I have performed your diagnostic tests, and can confirm both EVAL boards work. I have replaced the "device" with another PC, and can confirm the setup works.

    I have analyzed the "device" and confirmed that it is the problem. The device will not auto negotiate the ethernet speed. It is fixed at 100baseT. Once I put a switch (that auto negotiates) between the device and the EVAL board the setup also works.

    This is a problem I will have to solve (myself) since phase 2 of the investigation is to replace the PHY in the device (a TI DP83822) with a ADIN1100 chip. But I was hoping we could limit to MDIO setting, but now it seems we also have to re-evaluate the RMII interface settings. Making the job a bit bigger....

    Again, thank you for your help.

    Harm

    P.S. What is the best way to dump the ADIN register settings to a text file ? Can you specify a MDIO range in the MDIO command in the debug interface ? Clause 22 is ADIN1100 ? Clause 45 = ADIN1200 ? I think I should read the manual first I guess....

  • Hi  ,

    Good to hear that your ADI 10BASE-T1L setup is working,

    With regards to your plan to replace your current device PHY with the ADIN1100, in the meantime you could also use the EVAL-ADIN1110EBZ board as a remote device, we have a couple of software examples running the LWiP stack so your device would be fully IP addressable, but not sure if this info is any use to you.

    On the bulk registers read, no we do not support that at the moment although this is a good suggestion.

    Clause22/45 commands are supported on the ADIN1100, the ADIN1200 commands are not exposed in the evaluation firmware as it is self configured by the application.
    Best solution at the moment is probably to extract the register using a script.

    Alternatively you can also quickly read them from the GUI available to download online:

    Regards,


    Wassim

  • Hi Wassim,

    There is some information you could share with me if you have access. First of all, do you have a circuit diagram of the EVAL-ADIN1100EBZ. The manual shows a block diagram, but the individual interconnects between ADIN1100 and the opposing ADIN1200 would help me integrate it into the product. 

    Also the manual indicates the interface between both PHY's is RMII, which is in line with the 5MHz clock on the interface (I measured). But datalines D2 and D3 (both RX as well as TX) are toggling. So is it MII that is used ? In the ADIN1100 datasheet it also says that RMII needs an externa 50MHz clock, but the EVAL board only has the 25MHz crystal attached to the ADIN1100. 

    Please share your thoughts...

    Harm

      

  • Hi  ,

    You can get the schematics (PDF) from the Evaluation Design Files Package available to download in the documentation section here: EVAL-ADIN1100 Evaluation Board | Analog Devices


    The EVAL-ADIN1100EBZ works in RGMII mode with the evaluation firmware (MACIF_SEL0=ON,MACIF_SEL1=OFF, see table 21 in ADIN1100 Datasheet Rev0).

    Regards,


    Wassim