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.

AWR2944EVM: AWR2944 and TJA1103A connection

Part Number: AWR2944EVM
Other Parts Discussed in Thread: AWR2944, SYSCONFIG, MMWAVE-MCUPLUS-SDK

Hi Team, 

Good day! Could you help us with our customer's concern?

They have a AWR2944 with connected TJA1103A phy and they would create a CCS Projekt for this combination. They would like to  use the "enet_lwip_cpsw_awr294x-evm_r5fss0-0_freertos_ti-arm-clang" example projekt. but there are no files for this phy in the MCU package (C:\ti\mmwave_mcuplus_sdk_04_02_00_01\mcu_plus_sdk_awr294x_08_01_00_34\source\networking\enet\core\include\phy).

Could you please provide this files?

Thank you in advance for the support.

Best regards,

Jonathan

  • Hi Jonathan,

    As this PHY isn't supported by the vanilla SDK, the customer will have to undertake the activity to modify the existing PHY files/add new files to support the custom PHY. The manufacturer of the PHY might have a sample driver available on request. If so, these drivers can be used as basis for this activity.

    Regards,

    Aayush

  • Hi Aayush,

    thank you for the answer. Is there a tutorial on how to modify the existing PHY files or add new files? What files, functions, variables etc. are needed?

    Best regards,

    Frank

  • Hi Frank,

    Sorry for the delay,

    I spoke with the MCU+ SDK team, and they do not have porting documentation per se, but I was able to gather the general steps needed for porting:

    The EVM uses  DP83867ERGZR PHY, and corresponding files dp83867.c, dp83867_priv.h from <MCU+_INSTALL_LOC>\source\networking\enet\core\src\phy. These two files need to be modified for your own PHY as per the datasheet. I am told that it would also take some effort in tuning the PHY, where help from the manufacturer might be needed. 

    Apart from these files, the global gEnetCpbBoard_dp83867PhyCfg from <MCU+_LOC>\source\networking\enet\utils\V2\awr294x\enet_board_cfg.c and the function EnetBoard_setPhyConfigRgmii from <MCU+_LOC>\source\networking\enet\utils\V2\awr294x\enet_appboardutils.c are also PHY dependent and might need to change when a different PHY is used.

    The networking experts also mentioned that generic PHY is implemented in our driver, and under certain cases, the driver might work as is with the new PHY without the need for any changes, but this might not necessarily be the case. So, the recommendation is to try the driver as is at first and check if it works.

    Please let me know if you need any more MCU+ SDK or AWR2944 specific help with this, and I will try to gather the requisite information as best as possible.

    Regards,

    Aayush

  • Hi Aayush,

    thanks for your answer. I will try the generic driver first.
    I have another question. In the sample project RGMII is used, but I need to use RMII. Where can I change this interface? In the *.syscfg (text editor) it is entered, but in the graphical editor I did not find it.

    Thanks and kind regards,
    Frank

  • Hi Frank,

    Which sample project are you referring to?

    I saw the sysconfig of the OOB demo which implements ethernet, and I was not able to find either RGMII or RMII added (though sysconfig GUI has these). I need to investigate what role the RMII/RGMII configurations play in sysconfig. I will get back to you on this by Monday at the latest (Friday is a public Holiday in India).

    Regards,

    Aayush

  • Hi Aayush,

    I have the sample project "enet_lwip_cpsw_awr294x-evm_r5fss0-0_freertos_ti-arm-clang" from the MMWAVE-MCUPLUS-SDK.

    "I was not able to find either RGMII or RMII added (though sysconfig GUI has these)"
    Yes, that's exactly what I mean.

    But when I open the *.syscfg with a text editor, there are RGMII in it. Where does the entry come from? And how can I change this? If I change it in the text editor, then it gets overwritten on the next build.

    Thanks for your help and have a nice public holiday.

    Regards,
    Frank

  • Hi Frank,

    Thank you for the clarification. I have forwarded this question to the MCU+ team responsible for Sysconfig. I will get back to you with their response early next week.

    Regards,

    Aayush

  • Hi Frank,

    This is a bug in the Sysconfig GUI that needs to be corrected. In the first page of the GUI, we should see a Networking panel, containing ethernet configs. This panel is not visible currently.

    I will be following up with the Sysconfig team internally to find a fix for this, but at this moment, I am not sure what the timeline for this would be.

    Regards,

    Aayush

  • Hi Aayush,

    Thanks, but that does not sound so good. I hope that the fix will not take too long. Or maybe there is a workaround to configure Ethernet and RMII? Maybe a manual adjustment of the sysconfig file?

    Regards,
    Frank

  • Hi Aayush,

    unfortunately I have not yet received any answer on my last questions. I need a solution to configure the ethernet.

    Many thanks and regards,
    Frank

  • Hi Frank,

    I had raised an internal bug on this issue a while back. Let me follow up with this and try to get you a timeline for when we can expect a patch for this.

    Regards,

    Aayush