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.

DP83822IF: Could you tell me some examples of DP83822IF?

Part Number: DP83822IF
Other Parts Discussed in Thread: AM2634,

Hi,

I am trying to use the DP83822IF PHY for a board using AM2634.

Can you give me some registers for using the DP83822IF?

Also, I don't understand it well, the DP83822IF register can be accessible without regcr by 31 (1FH), and the next address's registers should be approached using REGCR?

Thank you

  • Hello,

    The register list is available on the datasheet of this device. As a quick test, if you read register 0x1 with successful link, bit[2] would be high while if you unplug the cable, this bit would be low.

    For extended register access, that is any register not within [0x0,0x1F], there is a four step process that involves using Reg 0xD and 0xE. Please check out this FAQ for more information.

    Sincerely,

    Gerome

  • hi,

    I know that the register list is in the data sheet. I just want to know an example of use.

    thank you

  • Hello,

    You may do a simply link check using Reg 0x1[2]. Assuming this is plugged into your PC and PHY is initialized/configured properly, link should occur and this bit would reflect this.

    Sincerely,

    Gerome

  • I think it doesn't work just checking the link. Isn't it?

    I will change the AM2634 Ethercat example to using Custom Phys. Currently I must implement the Custom PHY driver. First of all, I would like to know the settings of the Registers needed to operate by default.

    thank you

  • Hello,

    I am not sure of your question. Can you please reword? I had thought you were looking at an example case of when a end user would need to access registers, with a common situation being to check linkup.

    Sincerely,

    Gerome

  • Hello,

    Sorry for the lack of explanation.

    I am developing Custom Board using AM2634 Chip.

    PHY -related problems occured during EtherCat development, so I want to use DP83822IF instead of PHY supported by SDK.

    Then I need to generate a driver source of DP83822IF, but I don't know how I need to set register.

    So I want to know the Register Configuration example to operate the DP83822IF.

    thank you,

    sygo

  • Hello Sygo,

    This makes sense. So PHY registers operate on a similar signaling akin to I2C, but in this case via MDC/MDIO. More information on this can be found in section 8.4.2 of the datasheet.

    Sincerely,

    Gerome

  • Hello,

    thank you for telling me.

    but I know about it.

    Just I would like to know an example of what registers(like BMCR and ANAR and etc...) have a value.

    Thank you,

    sygo

  • Hi Sygo,

    Registers 0x2 and 0x3 are read-only and have their default in the datasheet. This value should not change under any circumstance and thus can be used to validate register read access.

    In general, all registers have their default value in the datasheet as defined in the bitfield, so they will have some value.

    Sincerely,

    Gerome