SLUUDO2 September 2026 AM2611 , AM2612 , AM2612-Q1 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
Multicast and broadcast reception failures are difficult to diagnose because unicast traffic works efficiently while multicast frames vanish silently. The link is up, TX works, but specific multicast addresses are not received. The CPSW ALE requires explicit multicast entries in static mode. If the application does not add the multicast MAC address to the ALE table with the correct port mask, frames are dropped.
CpswAle_SetMcastEntryInArgs mcastInArgs;
uint32_t entryIdx;
uint8_t mcastMacAddr[ENET_MAC_ADDR_LEN] = {0x01, 0x00, 0x5E, 0x00, 0x00, 0x01}; // Your multicast MAC
mcastInArgs.addr.vlanId = 0U;
mcastInArgs.info.portMask = (1 << CPSW_ALE_HOST_PORT_NUM) | (1 << ENET_MAC_PORT_1);
mcastInArgs.info.super = false;
mcastInArgs.info.fwdState = CPSW_ALE_FWDSTLVL_FWD;
mcastInArgs.info.numIgnBits = 0;
EnetUtils_copyMacAddr(&mcastInArgs.addr.addr[0U], mcastMacAddr);
ENET_IOCTL_SET_INOUT_ARGS(&prms, &mcastInArgs, &entryIdx);
status = Enet_ioctl(hEnet, coreId, CPSW_ALE_IOCTL_ADD_MCAST, &prms);
ip4_addr_t multicast_addr;
IP4_ADDR(&multicast_addr, 239, 0, 0, 1); // Your multicast IP
err_t result = igmp_joingroup_netif(&netif, &multicast_addr);
if (result != ERR_OK) {
EnetAppUtils_print("IGMP join failed: %d\n", result);
}