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.

MCU-PLUS-SDK-AM243X: enet_layer2_icssg example with Dual MAC

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I would like to try running the Enet Layer2 ICSSG Example in Dual MAC mode. In the instructions, there is a comment:

  • Currently to test both MAC ports simultaneously in Dual-MAC mode it requires additional enet lld(UDMA channel allocation) changes.

There is also a comment in the code:

// #define DUAL_MAC_MODE  /* TODO: Need to allocate TX channels as 2 in enet_cfg.h file to get both MAC ports work simultaneously*/

My questions are:

1. What exactly has to change in enet_cfg.h? Is it just this one #define?

/*! \brief Maximum number of TX channels allocated for Resource Manager */
#define ENET_CFG_RM_TX_CH_MAX                       (4U)

2. Will we have to recompile the .lib file containing the Enet driver?

3. What has to change in SysConfig? Changing the mode to DUAL MAC causes an error: "Rx flow associated with dual mac instance should be designated as default rx flow". The solution seems to be removing one of the RX DMA channels, but that causes more errors.