Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
I am using mcu_plus_sdk_am263px_09_02_00_56 to with a custom PCB with 100BaseTx PHYs connected by RMII. In SysConfig I configure the MAC port as seem in the screen captures below:
For the custom PHY configuration I assign:
EnetBoard_PortCfg.mii = { ENET_MAC_LAYER_MII, ENET_MAC_SUBLAYER_REDUCED },
However, the SysConfig generated code in:
\syscfg\ti_enet_soc.c
… seems to be expecting RGMII as seen here:
int32_t EnetSoc_getMacPortMii(Enet_Type enetType, uint32_t instId, Enet_MacPort macPort, EnetMacPort_Interface *mii) { EnetMac_LayerType *enetLayer = &mii->layerType; EnetMac_SublayerType *enetSublayer = &mii->sublayerType; uint32_t modeSel = CPSW_ENET_CTRL_MODE_RGMII; int32_t status = ENET_EFAIL; switch (enetType) {
This causes
CpswMacPort_checkSocCfg() to return ENET_EINVALIDPARAMS
During EnetApp_enablePorts()
How can I fix this issue?