DP83867IR: Interface forum

Part Number: DP83867IR
Other Parts Discussed in Thread: USB-2-MDIO, UNIFLASH

Tool/software:

Could you support how to resolve the issue to connect MSP430F5 Launchpad to a PCBA Board which has a TI Ethernet PHY Transceiver for 100/1000BASE-T speed. 

Connecting a MSP430f5 Series Launchpad to a PCBA (Not TI EVM) which has a TI Ethernet PHY Transceiver, DP8386IR in order to access MDIO status and control register. 

Following USB-2-MDIO User's guide,

1. Removed a 3V3 jumper located between 5V and RTS jumpers. 

2. Connected a jumper between 3V3 and GND on J10. 

3. Connect MDIO (PCBA) to P4.1 (LaunchPad)

4. Connected MDC (PCBA) to P4.2 (LaunchPad)

5. Connected GND (PCBA) to GND (LaunchPad). 

6. Opened the USB-2-MDIO GUI and set up the following

  • Select COM Port (For MSP Debug Interface). There is also a COM Port for MSP Application UART1.
  • Set baud rate to 9600
  • Open Port and Green text highlighted on HW Connected. 

Issue is, searching PHY ID, there i no PHY ID found. 

Manually selected PHY ID 01 (Which is the PHY Address for a TI PHY Transceiver on PCBA); however, no register address was read. (Shows the following error message). 

  • Hi James,

    I want to confirm the following:

    1. Did you flash the MSP430 launchpad before wiring it up to the DUT board

    2. Do you see a 'USB Serial Device' COM port show up in device manager? The UART and MSP Debug interface COM ports are not correct for interfacing with USB2MDIO. You should target the USB Serial device COM port (COM72 in below image)

    3. Please use pin 4.2 for MDIO and pin 4.1 for MDC. This is a typo in the User's guide.

    After all connections are made and MSP is flashed I recommend powering up the PHY first before the MSP430. If you do not see the USB serial device show up immediately restarting the MSP430 may help to get it to show.

    Best,

    Shane

  • Hi Shane, 

    Thank you for your comment. 

    MSP430 Launchpad was not flashed from unboxed. 

    Only see COMP Ports are both MSP Application UART1 (COM71) and MSP Debug Interface (COM70) above your screen. I do not see USB Serial Device (COM72) which means it requires to flash MSP430. Will follow the section 2.3.1 Flashing MSP430G2 LaunchPad section. 

    Thank you for the correction pin mapping for MDIO/MDC. Will update on connection. 

  • Hi Shane ,

    First, does MSP430F5 series require to flash MSP430 ? 

    Section 2.3.1 Flashing MSP430 is for G2 series. 

    Could you also walk through how to flash MSP430 Launchpad in order to access MDIO ?

    Following procedure below the section 2.3.1. 

    // Extracted MSP430 Flasher under C/ti/MSPFlasher_1.3.20 folder shown below. 
    // Installed the Flasher in Windows; however, no app. appears in search window to open up the MSP430 Flasher GUI. 

    // Below is downloaded and extracted USB-2-MDIO tool; however, there is no directory called .\MSP430 Firmware under USB-2-MDIO tool folder. 

  • Hi James,

    Yes MSP430F5 requires flashing for USB2MDIO. One way to flash the MSP430 is using Uniflash with the flash image file below:

    2437.msp430-usb-to-mdio-universal-v3.04.txt

    Here is a guide for bringing up USB2MDIO with uniflash: 5141.How to flash MSP430 Launchpad for USB2MDIO compatibility.pptx

    Let me know if you run into any issues while following this guide.

    Best,

    Shane

  • Hi Shane, 

    Thank you for the support. 

    It seems that it requires TI Cloud Agent setup. 

    Can I download Uniflash in Windows to bypass TI Cloud Agent setup ?

    There is link for Uniflash download for Windows, so planning to flash from the downloaded uniflash version. 

  • Hi James,

    Yes I believe you do not need cloud agent setup if downloading the Uniflash app into windows.

    I've got Uniflash downloaded on my windows PC and do not remember needing to setup cloud agent.

    Best,

    Shane

  • Hi Shane, 

    Successfully flashed the Launchpad. 

    Could you verify HW Strap configuration for MSP430F5 Launch pad ?

    • Should remove a 3V3 Jumper located between the 5V and RTS jumper ?
    • Jumpers are installed on the center of board are


    Then connect a jumper between GND and 3V3 at J10 ?

  • Hi James,

    I took a picture of my board with USB2MDIO working. This is the correct jumper configuration for the launchpad:

    Best,

    Shane

  • Hi Shane, 

    Successfully read the registers. 

    I am grateful for your support.