AM2732-Q1: Custom Phy or ethernet switch

Part Number: AM2732-Q1
Other Parts Discussed in Thread: AM2732

Sir/Madam,

I have interfaced AM2732 RGMII and MDIO/C with KSZ8563R a 3 port eithernet switch (two phys and one RGMII). 

I have installed both version 11 and version 9 of SDK Am273x.Please suggest how to customize any udp example of sdk.

regards

Jagdish

  • Hi Jagdish,

    You can use the LwIP examples in the SDK to run simple UDP examples. You can refer to this documentation to get started: Enet Lwip UDP Client Example

    Please let us know about your usecase so that we can support you better.

    Please let us know if you have any more queries on this.

    Thanks and regards,
    Teja.

  • Thank you for the reply.

    This example I have tried. I have imported example into workspace. But it is not working. My concern is, How to write custom board driver for KSZ8563R.

    I have used version 11 sdk and imported example.

    If I click custom board in sys config, then warning appears that 'Ethphy' device is not lnked to network peripheral.

    Though I mention phyaddress as 1, still it was taking zero.

    In enet_custom_board_config.c, I have forced phy address as 1 then it is reading id1 and id2 proprely. That means MDIO access is working. Remaining configuration I am unable to do as I am not getting how to write driver for this device. Please provide guidelines.

  • Hi Jagdish,

    I am assuming that you are trying to write a driver for the external switch that you are using. For evaluating the AM273x evm functionality, please run the standalone example provided in above response. Once the AM273x is validated, you would have to bring up the external switch separately based on its requirements. 

    In your case, can you please let me know the current topology of the am273x, external switch and the network connections in your test bench?

    Thanks and regards,
    Teja.