Other Parts Discussed in Thread: AM2432, SYSCONFIG
hello.
My name is Jinbo Kim, and I work at AC&T Systems in Korea.
I experienced a particular issue during development using one of TI's products, the AM2432 MCU.
The development environment is as follows:
- SDK: ind_comms_sdk_am243x_09_00_00_03
- 2-port DP83822 PHY (switch port)
-LWIP Stack
The problem I'm facing is that if queueForwardMode is set to ICSSG_QUEUE_FORWARD_MODE_CUTTHROUGH in the IcssgMacPort_initCfg function, I get communication issues during the 2PORT Swap test.
The testing steps are as follows:
1. Set CUTTHROUGH_MODE and connect your PC to one of the two ports.
2. Send a PING request from your PC and check for a response.
3. In this state, try connecting to another port that was not previously connected.
4. Send a PING request from your PC.
5. No PING response. Or there is still no response after a few successful packets.
Link detection for each port is normal.
PHY mode settings are as follows.
setPortStateInArgs.macPort = macPort;
setPortStateInArgs.portState = ICSSG_PORT_STATE_FORWARD_WO_LEARNING;
ENET_IOCTL_SET_IN_ARGS(&prms, &setPortStateInArgs);
ENET_IOCTL(gEnetMp.perCtxt->handleInfo.hEnet, gEnetMp.coreId, ICSSG_PER_IOCTL_SET_PORT_STATE, &prms, status);
ENET_IOCTL(gEnetMp.perCtxt->handleInfo.hEnet, gEnetMp.coreId, ENET_PER_IOCTL_SET_VLAN_UNAWARE, NULL, status);
All settings succeed without failure.
For the same condition, if I change the queueForwardMode to ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD, that symptom does not occur and all communication works fine.
When setting queueForwardMode,
ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD or Should the conditions that need to be configured be different depending on ICSSG_QUEUE_FORWARD_MODE_CUTTHROUGH?
In the provided example programming, is there any example programming that can help with this content?
I look forward to your reply.
thank you.