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.

DP83TD510E-EVM: EVM communication issue

Part Number: DP83TD510E-EVM
Other Parts Discussed in Thread: USB-2-MDIO, DP83TD510E, DP83822I

Hi sir,

A customer has the following query, can you give your advice on this issue?

I'm trying to create a demo based on 2 evaluation boards DP83TD510E-EVM using 10Base-T1L technology.

Both boards are connected together via a 10 meter SPE cable and each board is connected to a laptop via Ethernet cable.

Both Boards are also powered through USB (No external power supply).

The idea is to try to send a packet from laptop A to B. But I am strugling to understand how the boards are supposed to work.

What i managed until now is to install the drivers for windows, use USB-2-MDIO to open Board's port. I also read 0 in each register so i don't know if that's even a problem.

Thank you for your clarification in advance.

Regards,

  • Hello Frank1, 

    Thank you for the query.

    If you are reading 0 on all registers please see the below steps

    Replace R24 with a 0 Ohms Resistor to power it only through the USB-Port, 

     Please check the DC voltage across C62 and C70.

    Check the clock at R149

    Perform a reset using S4.

    Further debug:

    If there is no clock on R149 it Seems like the DP83822 is getting no clock signal at all.  You may need to check configuring the register through MDIO interface.

    USB-2-MDIO 

    3.4 SMI Connection

    In Media Converter configurations, the MDIO/MDC lines of the DP83TD510E and DP83822I are tied together. Both PHYs can be accessed simultaneously. The DP83TD510E has been set to PHY address 00 and the DP83822I has been set to PHY address 05.  Connect micro-USB to J4

    Please go through the section 4 Software of the user guide.

    In default state the DP83TD510E register 0x0017 bit 7 is set to "XI is 50Mhz". Change that to "XI is 25Mhz" and it will result in a clock signal on R149. 

    In short: Write "4021" to the register "0017" on the DP83TD510E and you will be able to communicate to the DP83822 over SMI.

    https://e2e.ti.com/support/interface-group/interface---internal/f/interface---internal-forum/1032585/dp83td510e-evm-can-t-establish-link

    Regards,

    Sreenivasa

  • Hello Frank1, 

    Did you have a chance to do some tests ?

    Regards,

    Sreenivasa

  • Hi Sreenivasa,

    Before i solve the problem of empty registery by removing R24, i would like to know some things.
    I am planing to send sensor data from an ESP32 to a Raspberrypi through T1L Developement Boards (see presentation joined).
    I would like to know how i can send data from the ESP32 to Raspberrypi, is it possible to send data via Serial/USB to first T1L Board and recieve data in Raspberrypi from second Board via Ethernet?
    Does the Media Converter convert T1L to Ethernet?
    Is there a way i can write my own library/code to send data from the ESP32 to the Eval-Board like TIBoard.send(temperature) ?

    UNBEKANNT.pptx

    Thanks.

  • Hello Frank1, 

    Thank you for the supply.

    Did you want to attach a presentation ? I am not able to see any.

    Regards,

    Sreenivasa

  • Hi Sreenivasa,

    Thank you for your quick reply.

    Please find the attached file3073.UNBEKANNT.pptx.

    Thanks.

  • Hello Frank1, 

    Thank you for the file.

    I will review and provide my inputs.

    Regard,

    Sreenivasa

  • Hi Sreenivasa,

    Thanks a lot.

  • Hello Frank1, 

    Notes and Welcome.

    Regard,

    Sreenivasa

  • Hi Sreenivasa,

    I am still reading 0 on all registers.
    I replaced R24 with a 0 Ohms Resistor to power it only through the USB-Port and performed a reset using S4. (I didn't checked the DC voltage across C62 and C70 or checked the clock at R149). I also wrote "4021" to the register "0017" on the DP83TD510E (PHY address 00) via USB-2-MDIO (tried with both extended register yes/no). And directly after i read register "0017" and it has 0000.
    So what is wrong here please?

    Thanks.

  • Hello Frank1, 

    Thank you for making the changes and testing.

    Do you see the board being powered up.

    https://www.ti.com/lit/ug/snlu271a/snlu271a.pdf

    Could you please check the jumper positions as described in page10.

    Do you see the USB device being detected in the controlpanel device manager ?

    Regards,

    Sreenivasa

  • Hi Sreenivasa,

    So now i figured out that i didn't placed shunt at J9. In order to test if data is sent i tried with test_packet_error scripts from the forum (packet_checker.txt, packet_gen_enable.txt, reverse_loopback_enable.txt) and it works (data is sent from Board 1 and recieved in Board 2)!

    But the problem now is, i don't know how to send a packet from a computer to another (PC1 <--EthernetCable--> Board1 <--Cable--> Board2 <--EthernetCable--> PC2). Maybe i can do that with wireshark? Do Computers recognise the Boards as an Ethernet device when a connection is succesfully established?
    I also noticed that both LEDs on both RJ45 connectors J2 do not illuminate. Is it because i need to configure the Boards in media convertor mode?

    What does media convertor mode mean? Does it mean it converts Ehernet to 10-Base?
    What does MDIO/MDC pins (SMI) do?

    Also even after installing MSP430Driver, DPInst64.exe was not installed (see log attached).

    Thanks.

  • Hello Frank1, 

    Thank you for the reply and good to hear on the progress.

    Can you point to the thread/forum where found the scripts.

    I do not see any log attached.

    Regards,

    Sreenivasa

  • Hello Frank1, 

    Using the MDIO interface are you able to read the DP83822 registers. Can you please check the position of J19.

    Regards,

    Sreenivasa

  • Hi Sreenivasa,

    sorry, I missed the log file.

    Script stderr:
     
    
    Executing C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\DPInst\DPinst64.exe  /q /se /sa /lm /path "C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\USB_eZ-RF"
    Script exit code: 256
    
    Script output:
     
    
    Script stderr:
     Program ended with an error exit code
    
    Error running C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\DPInst\DPinst64.exe  /q /se /sa /lm /path "C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\USB_eZ-RF": Program ended with an error exit code
    Executing C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\DPInst\DPinst64.exe /q /se /sa /lm /path "C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\USB_FET_Win7_8_10_64"
    Script exit code: 256
    
    Script output:
     
    
    Script stderr:
     Program ended with an error exit code
    
    Error running C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\DPInst\DPinst64.exe /q /se /sa /lm /path "C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\USB_FET_Win7_8_10_64": Program ended with an error exit code
    Executing C:\Program Files (x86)\Texas Instruments\MSP430Driver\emulation\drivers\msp430\USB_CDC\installCerts.bat 
    Script exit code: 0
    

  • Hello Frank1, 

    Thank you for the log.

    Could you please answer my above questions.

    Are you able to communicate with the deices vis MDIO ?

    Regards,

    Sreenivasa

  • Hello Frank1, 

    If the issues is with respect to installing the windows driver, please refer below 

    (+) DP83TD510E-EVM: MSP430 - USB example - driver issue - Win7 x64 - Interface forum - Interface - TI E2E support forums

    Regards,

    Sreenivasa

  • HI Sreenivasa,

    Thank you, I will confirm it.

  • Hello Frank1, 

    Noted and thank you.

    Regards,

    Sreenivasa

  • Hello Frank1, 

    Please expect delay in response de to year end holidays.

    Sreenivasa

  • Hi Sreenivasa,

    Thank you for your support.

    So it worked! I did configured the 2 Eval boards with 510E in master(phy 0 : 4031 @0017) and 838221 in slave mode (phy 5 : 00F1 @0017) and I have finally managed to have the communication going well through the 2 boards. After that i connected both boards to two computers and sent data through a simple python server/client script.
    The question now is:
    How can i send data from a board without using the ethernet cable/media converter? ( I want to send data from esp32 to the board )

    Do you need me raise a new thread?

    Thanks a lot.

    Regards,

  • Hello Frank1,

    Thank you for the note. 

    The DP83822 is configured as RMII slave by hardware strap and is expected to work. Not sure on the need to write the register. 

    How can i send data from a board without using the ethernet cable/media converter? ( I want to send data from esp32 to the board )

    Do you need me raise a new thread?

    Yes, please initiate a new thread.

    Please click the resolved button to clos the thread.

    Regards,

    Sreenivasa