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.
Hi Wang,
ICSSG can support mac to mac link. But we do not have demo for the same as of now in 8.4.17. Could you please let me in on little more detail here about your use case, how do you intend to use ICSSG here. Are you trying to use MAC feature or switch feature?
BR
Nilabh A.
Hi Wang,
I will discuss with internal team if what you are asking is possible or not?
Will get back by EOW.
BR
Nilabh A.
Hi Wang,
It has not been validated by TI on am243 board. You can refer to the instructions in this thread, as the ENET driver is same in below case and for mcu sdk am243:
Please let me know if this works for you.
BR
Nilabh A.
modify on icssg lwip example ,i can`t send udp packet on rgmii bus. the issue seem not resolved.
Hi Nilabh,
how can I do (such modify somewhere..etc) to make TX_CLK output 125Mhz clk?
Hi Wang,
Do you intend to modify pru clk or system clk?
You can usually do such changes from syscfg.
Please refer this also e2e.ti.com/.../linux-dp83867ir-dp83867-output-125m-clock
BR
Nilabh A.
As tiltle said, my application is using icssg mac to mac linked to another device. As Cpsw_openPortLinkNoPhy in cpsw_ioctl.c ,I add code seem like in icssg.c ,but it not work with icssg_lwip sample.
static int32_t Icssg_openEnetNoPhy ( Icssg_Handle hIcssg,
const EnetPer_PortLinkCfg* portLinkCfg )
{
EnetPer_Handle hPer = ( EnetPer_Handle ) hIcssg;
//IcssgMacPort_Cfg* macPortCfg = ( IcssgMacPort_Cfg* ) portLinkCfg->macCfg;
Enet_MacPort macPort = portLinkCfg->macPort;
//EnetMacPort_Interface mii = ( EnetMacPort_Interface ) portLinkCfg->mii;
EnetMacPort_LinkCfg linkCfg = ( EnetMacPort_LinkCfg ) portLinkCfg->linkCfg;
//Enet_IoctlPrms prms;
uint32_t portNum = ENET_MACPORT_NORM ( macPort );
uint32_t portId = ENET_MACPORT_ID ( macPort );
int32_t status = ENET_SOK;
/* Assert if port number is not correct */
Enet_assert ( portNum < EnetSoc_getMacPortMax ( hIcssg->enetPer.enetType, hIcssg->enetPer.instId ),
"Invalid Port Id: %u\r\n", portNum );
ENETTRACE_VAR ( hPer );
ENETTRACE_VAR ( portId );
//ENETTRACE_VAR ( macPort );
hIcssg->hPhy[portNum] = NULL;
/* Explicit speed and duplexity must be provided, can't be discovered */
if ( ( linkCfg.speed == ENET_SPEED_AUTO ) ||
( linkCfg.duplexity == ENET_DUPLEX_AUTO ) )
{
ENETTRACE_ERR ( "Port %u: Auto-speed/duplexity is not valid for PHY-less links\r\n", portId );
status = ENET_EINVALIDPARAMS;
}
ENETTRACE_INFO ( "%s: Port %u: open port link \r\n", ENET_PER_NAME ( hIcssg ), portId );
/*if ( hIcssg->disablePhyDriver != true )
{
hIcssg->disablePhyDriver = true;//no phy
}*/
/*IcssgMacPort_SetPortStateInArgs setPortStateInArgs;
setPortStateInArgs.macPort = macPort;
setPortStateInArgs.portState = ICSSG_PORT_STATE_FORWARD;
status = Icssg_ioctlSetPortState ( hIcssg, &setPortStateInArgs );
ENETTRACE_ERR_IF ( ( status != ENET_SINPROGRESS ),
"%s: port %u: failed to set port state: %d\r\n",
ENET_PER_NAME ( hIcssg ), ENET_MACPORT_ID ( macPort ), status );
*/
return status;
}
HI Wang,
I have started looking into this issue. Let me update you once I have an update.