Hi all,
Currently, we're working on a project with the DP83TG720 chip in our new design. Unfortunately, we're facing some difficulties to have the interface up linux-side.
I explain myself.
We're using the latest kernel driver found on your website for this device, which has been backported for our linux kernel 4.14.
The backporting was successful considering I was able to get a new interface from the userland linux with the phy properly initialised following if it is master or slave.
We set the phy as slave in managed mode and we use a 1000BaseT/1000BaseT1 media-converter as master partner.
We know, in managed mode, the PHY is in standby-mode after powering-up and needs to be wake-up by writing 0x0001 to the register 0x018C to start a link synchronisation with a master.
From here, the link synchronisation is not working as expected. Indeed, after starting a link synchronisation, we get our linux interface up but is brought down immediately.
In a repeated way, we're getting a up/down of the interface linux-side. (see below some outputs from debug console).
I tried to watch basic registers during a link synchronisation and when polling the BMSR register (0x0001), I get the following values toggling : 0x145/0x141.
We have the same results with the register C_AND_S_STATUS.
By polling IRQ flags, I noticed the "link_qual_int" bit is set from the register MII_REG_12 (0x0012) saying the link has a bad quality.
Could this flag indicate a hardware problem in our design?
Is there a way to qualify/quantify the link quality?
Thank you very much for your help,
Best Regards,
Arnaud