infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

Dave

+ Reply to Thread
Results 1 to 3 of 3

Thread: Ethernet problem solving on TC23x

  1. #1
    New Member New Member vlylin is on a distinguished road
    Join Date
    May 2017
    Posts
    4
    Points
    37.5

    Ethernet problem solving on TC23x

    Hello!

    I had the same problem with Ethernet. It worked in loopback mode, but by connection with PC with cross-over cable, it hanged. I have found, that this example from
    iLLD doesn't work correctly wtih PHY driver on my board. The problem is, that there's no data on MDIO line because of wrong configuration of port. To change that, you need
    change a couple of lines at IfxEth.c.

    Firstly, you need uncomment lines in function IfxEth_setupRmiiOutputPins():
    Code:
    #if 1
        IfxPort_setPinPadDriver(mdc->pin.port, mdc->pin.pinIndex, speedGrade);
        IfxPort_setPinPadDriver(mdio->pin.port, mdio->pin.pinIndex, speedGrade);
    #endif
    And secondly, in function IfxEth_setupRmiiInputPins() is incorrect configuration of P21.3:

    Change this line
    Code:
     ETH_GPCTL.B.ALTI0 = rmiiPins->mdio->inSelect
    on
    Code:
    ETH_GPCTL.B.ALTI0 = 0x03;
    To see info about, refer to table 30-53 in Ref. Manual.

    I hope, this help you to config ethernet correctly.

  2. #2
    New Member New Member vlylin is on a distinguished road
    Join Date
    May 2017
    Posts
    4
    Points
    37.5
    The second problem, if u have reconfigured MDIO port, u have to add delay after PHY reset. So boadr will work after reset without debuffing.

  3. #3
    New Member New Member Mohana is on a distinguished road
    Join Date
    Apr 2017
    Posts
    1
    Points
    20
    MCLK is running in 25MHz, while the MDIO data is sent by 2.5 Mhz I see there is no synchronisation between the MCLK and MDIO data line. How it can be corrected

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.