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.

DP83TC811S-Q1: sleep mode questions

Part Number: DP83TC811S-Q1
Other Parts Discussed in Thread: DP83TC811

Hi team,

customer have quesiton about device sleep mode.

now, they will power down the PHY IC before enter sleep mode. if wakeup, they re-power up DP83tc811s. they have concern about that does this application will affact the PHY communication? thanks. below is E2E question submited before, you can reference. 

  • Hi Betty,

    To clarify, customer wants to completely power down the PHY before setting the device in sleep mode? Does this mean they want the device to power-on in a sleep mode? Or are they just looking for a way to put the device to sleep and then re-wake the device?

    Thank you,

    Nikhil

  • Hi Nikhil,

    Are they just looking for a way to put the device to sleep and then re-wake the device --yes, but now they completely power down the PHY. So, customer have concer about this.

    what's your suggestions and does it will affact PHY communication?

    thanks,

  • Hi Betty,

    I am working in the same team as Nikhil. He is out of office currently but he will get back to you by Tuesday.

    -Regards

    Aniruddha

  • Hi Betty,

    If you wish to power-down the PHY and then re-wake the device, you may hold the enable pin low, and then pull high when you want to wake the device again.

    Please let me know if you have any further questions. 

    Thank you,

    Nikhil

  • hi team:
    1 we have a file operation functions  like dp83811_suspend() and dp83811_resume() at dt83811.c driver files. But they both are empty.

    static struct phy_driver dp83811_driver[] = {
        {
                .flags =  PHY_HAS_INTERRUPT | PHY_IS_INTERNAL,
            .phy_id = DP83TC811_PHY_ID,
            .phy_id_mask = 0xfffffff0,
            .name = "TI DP83TC811",
            /* PHY_BASIC_FEATURES */
            .config_init = dp83811_config_init,
            .config_aneg = dp83811_config_aneg,
            .soft_reset = dp83811_phy_reset,
            .get_wol = dp83811_get_wol,
            .set_wol = dp83811_set_wol,
            .read_status        = genphy_read_status,
            .ack_interrupt = dp83811_ack_interrupt,
            .config_intr = dp83811_config_intr,
            .suspend = dp83811_suspend,
            .resume = dp83811_resume,
         },
    };

    static int dp83811_suspend(struct phy_device *phydev)
    {
            //printk("###########%s################\n",__func__);
            return 0;
    }

    static int dp83811_resume(struct phy_device *phydev)
    {
            //printk("###########%s################\n",__func__);
            return 0;
            //genphy_resume(phydev);
        /*
            value = phy_read_mmd(phydev, DP83811_DEVADDR,
                         MII_DP83811_WOL_CFG);
            printk("====before====%x=======\n",value);
            value |= DP83811_WOL_CLR_INDICATION;
        phy_write_mmd(phydev, DP83811_DEVADDR, MII_DP83811_WOL_CFG,
                      value);
            printk("====after====%x=======\n",value);
    */
            //phy_set_bits_mmd(phydev, DP83811_DEVADDR, MII_DP83811_WOL_CFG,
        //         DP83811_WOL_CLR_INDICATION);
    //    return 0;
    }

    2 pre-sleep :our externel MCU  will cut off DP83811 power-supply .PIN22: VDDIO.

    3 pre-wake-up: our externel MCU  will power on PIN22: VDDIO again .

    4 why we asked MCU to do that :  we  are not woken up from Ethernet communication but CAN bus or hardware line IGN ON(crank on) .   

    5 which things makes me can't sleep well ?  after sleep  wake-up action, Ethernet communication can not to be create (not always but high frequency),some times the  emac.ko is dead : adb shell ifconfig eth0  and the ADB terminal  gets stuck and dead.

  • Hi Betty,

    We are looking into this issue and will provide feedback by Tuesday next week.

    Thank you,

    Nikhil

  • Hi Betty,

    Can you confirm that this is from our latest driver found under the link below?

    Thank you,

    Nikhil

  • hi team :

    1 Our target is to find out why it cannot ping to another net point when err had happen. The code was compared by us .They doesn't have any meaningful difference.

    2 we written a bash script to watch Ethernet connection status.

    2.1  do you have some tips to complete me to know which one is unreachable:  

    2.1.1 our IP: 172.16.0.97  target IP:172.16.0.99 

     IF PING  172.16.0.99   timeout  : THEN   # means Destination Host Unreachable

                IF   PING 127.0.0.1    OK   #means TCP/IP protocol is OK 

                         IF PING our self  is OK  #means  loop back is OK  

                         then :conclusion :err must caused by the another one ,not us 

    .......
     please fix us to locate the err :Destination Host Unreachable

    We looking forward to hearing from you soon

                           

  • Hi Betty,

    We are looking into this issue and will provide an update by Friday this week.

    Thank you,

    Nikhil

  • Hi Betty,

    I have reached out to the appropriate party and will provide additional feedback when available.

    Thank you,

    Nikhil

  • Hi Betty,

    Are you able to share a schematic? I would like to check that there are no issues with the PHY itself.

    Thank you,

    Nikhil

  • hi team :

    1 can you share any other ideas  to us ?

    thanks

  • Hello,

    Per previous reply, are you able to share a schematic at this time?

    Thank you,

    Nikhil

  • hi team:

    1 we have used that schematic for 1 year.

    2 it had recommend by your TI  consult team before.

    thanks

  • Hello,

    Thanks for providing the schematic. The original issue involved configuring the PHY for disable mode, by holding the PHY Enable pin low until the device should wake up. Is this ping error seen after power up or after returning the PHY to normal operation, out of disable mode? When and how often is ping error seen?

    Thank you,

    Nikhil