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.

Compiler/DP83TC811R-Q1: To initialize the PHY through software register configuration

Part Number: DP83TC811R-Q1

Tool/software: TI C/C++ Compiler

Dear TI Forum Members,

Our project is using Renesas RCAR M3 chip and for Ethernet communication DP83TC811R-Q1 transceiver is using. We test ethernet communication through DP83TC811R-Q1 transceiver by enabling boot strap mode. Now, we moving forward with software configuration to initialize the DP83TC811R-Q1 transceiver. I have few queries related to PHY initialization.

1) What are all registers required to configure ?

2) What are all the default values required to configure in respective register ?

3) To reset PHY, which register i need to use bit[15] in BMCRRegister0x0000 register or bit[15] in PHYRCRRegister0x001F– PHYResetControlRegister ?

4) I hope the below listed register is enough to intialize the PHY which is based on device functional mode,
1) bit[15 ]in the PHYRCRRegister0x001F– PHYResetControlRegister

2) bit[6] in the AUTO_PHYRegister0x018B– AutonomousPHYControlRegister (to enable Autonomous operation enabled in normal mode)

3) bit[14] in the PMA_CTRL2Register0x0834– MMD1PMAControlRegister#2 controls the100BASE-T1Master and 100BASE-T1Slave configuration.When this bit is set, 100BASE-T1Master mode is enabled.

Thanks,

Yuvaraj Ayyasamy.

  • Hello Yuvaraj,

    The registers you have listed are the correct registers to accomplish what you are indicating. 

    0x001f[15]=1 to Reset the PHY

    0x018B[6]=1 to set device into Autonomous mode

    0x0834[14]=1 to set device as Master mode

    Other registers that may need to be configured are the MAC interface you want utilize through register 0x0017, this can also be set through bootstrapping. 

    Regards,
    Justin 

  • Hello Justin,

    Thanks a lot for your quick response :).

    I need one clarification regarding MAC interface. So, what i understand from your previous comment: I need to select or configure interface typs as RGMII mode(0x0017[9]) or RMII mode(0x0017[5]) based on my project implementation. Am i right ? Please correct me if i am wrong.

    What is difference between bit[15] in BMCRRegister 0x0000 register &  bit[15] in PHYRCRRegister 0x001F (PHY Reset Control Register) ? 

    Thanks,

    Yuvaraj Ayyasamy

  • Hello Yuvaraj,

    Yes, you will use 0x0017[9] and [5] to select the MAC interface you are choosing.

    0x0000[15] Reset will reset PCS registers and leave TI extended registers unchanged.

    0x001F[15] Reset will reset all register to default or strapped values.

    0x001F[14] Reset will restart the PHY without altering the register settings. 

    Regards,
    Justin