infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 5 of 5

Thread: User defined phy at app ETH_LWIP

  1. #1
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    73
    Points
    325.546875

    User defined phy at app ETH_LWIP

    Hi Infineon,

    at app ETH_LWIP of XMC4500, I need support for phy KSZ8081MNX (uses MII-Mode). As far as I see, I only have to create the file xmc_eth_phy_user_defined.c. Is this correct please?

    A second question:
    at app ETH_LWIP, when I select as PHY KSZ8081RNB, why is it possible to select as interface MII? This chip has no MII interface, only RMII.

    Best Regards
    Wolfgang
    Last edited by Ing99; Jun 26th, 2019 at 02:19 PM.

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    577
    Hi,

    Yes this is correct you need to place a file in your project which implements the interface described in xmc_eth_phy.h.
    Regarding the second question, at the moment there is no logic in the APP constraining the MDIO interface depending on the selected PHY.

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    73
    Points
    325.546875
    Hi Jesus,

    thanks for your answer. I stored the user defined file to dir Dave/Generated/ETH_LWIP, where the other phy files are located.
    Dave compiles without error, but each "Generate Code" deletes the file. Dave should backup the file before "Generate Code" and then restore it.

    Best Regards
    Wolfgang

  4. #4

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    577
    Hi,

    You should not modify manually the contents of DAVE folder, as you already experienced it is regenerated every time user click in the Code Generation button.

    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Intermediate Intermediate Ing99 is on a distinguished road
    Join Date
    Oct 2013
    Location
    Germany
    Posts
    73
    Points
    325.546875
    Hi Jesus,

    thanks for your answer.
    But where should the user defined file (selectied in the app mask) containing the specs for the phy be stored? Dave expects this file at the same location where the Dave generated phy files are stored, that is at:
    Dave/Generated/ETH_LWIP/

    Or am I wrong?

    Best Regards
    Wolfgang

+ 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.