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.

C6747+TLK105 can not communicate with a laptop by eternet. help

Other Parts Discussed in Thread: TLK105

Hello,

appriciate your help! The last post can not found again. I do not know why, so repost it again. And Thanks a reply from Ross. I had supplement further details in this post about loopback tests.

We use C6747 and TLK105 (hardware),DSP/BIOS5.42 and NDK2.0(Software) for ethernet communiction. The development environment is CCS5.5.The ndk/src/hal/evm6747/eth_c6747/cls_mdio.c (and cls_mdio.h) had been reconstucted for TLK105.However no data transmited to pc and no data received on DSP side. The deep observation are:

1) PHY link is setuped, but no data received on dsp side and pc side;

2) Only one transmit action on dsp is observed in void HwTxInt(void) function in file etherdriver.c;

3) Can not found HwRxInt(void) function (in file etherdriver.c) was trigered;

4) The dsp EMAC reg  RXALIGNCODEERRORS and NETOCTETS is not zero;

5) MDC and MDIO function is normal, and can write and read the PHY reg;

6) The data signal of TXD[1:0] and RXD[1:0] between the MAC and PHY can be observed;

7) The pin PFBOUT is 1.56v, the pin RBIAS is 1.22v;

We had applied PCS OUT loopback, DIGITIAL loopback, FAR END loopback, ANALOG loopback TESTS. result is as follow:

1) PCS OUT loopback passed, I can observed the HwTxInt(void) function  and HwRxInt(void) function trigered;

2) DIGITIAL loopback  passed;

3)  FAR END loopback passed on PC with PING command;

4) ANALOG loopback failed. is that TLK105 malfunction or broken?

I had reconfigured the ELAST_BUF field of  RCRS in TLK105 as 14,2 or 6 bit torlerence, however, it is no help for this problem.

We had captured the signal between DSP and PHY in communication without loopback, the RXER signal is same at all with RXD1. It is very strange. The screenshot is as follow:

I am newbie for ethernet development, cannot find the reason and resolution.  Please help me.  Thanks a lot!!!

The PHY regs' dump is:

PHY REG BMCR: 1000
PHY REG BMSR: 786d
PHY REG PHYIDR1: 2000
PHY REG PHYIDR2: a211
PHY REG ANAR: 1e1
PHY REG ANLPAR: cc61
PHY REG ANER: f
PHY REG ANNPTR: 2001
PHY REG ANLNPTR: 0
PHY REG CR1: 3801
PHY REG CR2: 104
PHY REG CR3: 0
PHY REG REGCR: 0
PHY REG ADDAR: 0
PHY REG PHYSTS: 17
PHY REG PHYSCR: 108
PHY REG MISR1: 2400
PHY REG MISR2: 2000
PHY REG FCSCR: 0
PHY REG RECR: 0
PHY REG BISCR: 100
PHY REG RCSR: 21
PHY REG PHYCR: 1e
PHY REG 10BTSCR: 0
PHY REG BICSR1: 7d
PHY REG BICSR2: 5ee
PHY REG TXCPSR: 2000
PHY REG PWRBOCR: 0
PHY REG VRCR: 17

The hardware schematic is as follow:

  • Hi CW,

    Can you try running an external loopback test? This does not require you to set a register, but it does require you to create a "loopback cable". Please see the attached image. 

    This method will allow you to see if every block in our PHY is working properly. 

    Also, do you expect your device to be operating at 10Mbps? This is what I see from your register.

    Regards,

    Ross

  • Hi, Ross

    In fact, I had tried the external loopback many times too. It can not set up link. Today, I linked the DSP side ethernet interface to the one of my laptop first. The link is setted up, then I plug the RJ45 with external loopback. The link lost for ever.

    I expect the device to work at 100Mbps, but the auto-neg of PHY get the 10Mbps result. Eventurally, I set the ANAR reg with only 100B-TX_FD and 100B-TX enable. The link can not be setted up. My laptop Ethernet interface is  Intel 8579LM Gigabyte.

    I am confused and can not find a way for further step.

    If my hardware design and software configuration are no problem. ONLY the TLK105 IC is the key。So,I had tested three TLK105s and two TLK105Ls. The problem is same.

    Any help is appreciated so much. Thanks

    Best regards

    Qiu

  • Hi Qiu,

    When you tested analog loopback, did you connect a termination cable to the RJ45 connector? This is required for this loopback mode. The reason why I ask is because I want to know if there is an issue with your layout to the magnetic.

    Regards,
    Ross
  • Hi,Ross

    I had connected a termination for the analog loopback test. The PCB layout had been added as attachment. Please help us to check it.DSP controller.rar

    Thanks a lot!

    Best Regards,

    Qiu

  • Hi Qiu,

    We will review this and get back to you soon.

    Regards,
    Ross
  • Hi  Ross

        Do you get any results?Thanks.

    Best Regards,

    Qiu