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.

AM5728: AM5728 Daul MAC Mode,but fifo mode is normal mode

Part Number: AM5728

Tool/software:

Hello, expert
We used AM5728 bare metal dual network port mode, but the port fifo mode was configured as normal mode before, not DUA MAC mode. Is there any risk when using this configuration?

Thank you very much

Hanc

  • Hello Xin,

    To set up the correct expectations here, please be aware that we do not have support for bare metal (No-OS) implementations. Please see the build sheet included with our SW releases:

    Now that that is out of the way, It is not all clear to us what you mean by risk. It is hard to assume what your scheduling needs are in your system, but as the note implies you will not be able to use rate-limiting or traffic shaping when FIFO is in Dual Mac Mode selection.

    Best,

    -Josue

  • Hi,Josue

    I am using dual DAUL MAC mode, now I want to turn on the flow control of PORT1 and PORT2, configure as described in the data sheet as follows

    To enable Tx & Rx flow control

    first,i config P1_MAX_BLKS register and P2_MAX_BLKS register value equal 0xe6,to increase rx fifo。

    second,I config CPSW_FLOW_CONTROL  register value equal 0x7,to enable P1_FLOW_EN and P2_FLOW_EN bit。

    third,I enable SL_MACCONTROL register TX_FLOW_EN and RX_FLOW_EN。

    Then, I carried out the test of receiving and sending a large amount of data from the network card. The flow control did not work, and there was still SOF overrun. Is there a problem with my flow control enable configuration?

    Best Regards,
    Hanc

  • Hello Xin,

    As stated above, we cannot support no-OS implementations.

    I am not sure whether this feature was ever implemented in the RTOS driver.

    My best suggestion is to read the 24.11.4.8.9.2 Ethernet Port Flow Control in TRM very carefully and see the folowng thread for additional guidance:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/690663/am5728-gmac-802-3x-flow-control

    Best,

    Josue