Other Parts Discussed in Thread: DP83869, SYSCONFIG
Tool/software:
Hi Ti Expert,
we have an our own designed board which have referred to the EVM board.
In my board there are 2 Dp83867 compare to EVM's one Dp83867 and one Dp83869 for CPSW Ethernet.
I'm using this C:\ti\mcu_plus_sdk_am243x_09_02_01_05\examples\networking\lwip\enet_lwip_cpsw demo to test my board.
In this demo project, I found that there is nowhere to change the second PHY from Dp83869 to Dp83867 in Syscfg, and found the following code in enetextphy.c:
static EnetExtPhyDrv_Handle gEnetExtPhyDrvs[] =
{
&gEnetExtPhyDrvDp83867, /* DP83867 */
&gEnetExtPhyDrvDp83869, /* DP83869 */
&gEnetExtPhyDrvGeneric, /* Generic PHY - must be last */
};
So, to use the 2 Dp83867 in my board for CPSW, then I should change here to the following right?
static EnetExtPhyDrv_Handle gEnetExtPhyDrvs[] =
{
&gEnetExtPhyDrvDp83867, /* DP83867 */
&gEnetExtPhyDrvDp83867, /* DP83867 */
&gEnetExtPhyDrvGeneric, /* Generic PHY - must be last */
};
Is there anything more I need to do to run this demo on my new board?
BR,
Chunyang