Transmit packets are blocked when using ENETC 1 from lwip

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Transmit packets are blocked when using ENETC 1 from lwip

559件の閲覧回数
arunkumar_g
Contributor IV

Hello,

This could be a bug in SDK.

I'm working on a project that uses RT1189/FreeRTOS/lwip, SDK v2.16.

I want to make lwip use NETC_ENETC1. What I found is that transmit packets are not being sent out (actually only one packet gets sent out).

The issue occurs in lwip/port/netc_ethernetif.c, function msgintCallback, where the TxIntr Flags are not correctly cleared for tx ring.

So we have to make a change like this

        if (NETC_EnetcHasManagement(ethernetif->ep_handle->hw.base) && (getSiNum(ethernetif->ep_handle->cfg.si) == 0U))
        {
            /* Switch management ENETC Tx BD hardware ring 0 can't be used to send regular frame, so the index need increase
            * 1 */
            EP_CleanTxIntrFlags(ethernetif->ep_handle, 2, 0);
        }
        else
        {
            EP_CleanTxIntrFlags(ethernetif->ep_handle, 1, 0);
        }

 

Thanks

 

0 件の賞賛
返信
1 返信

511件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @arunkumar_g ,

Thank you for your interest in NXP products.

As the RT1180 has not been officially released yet, it is currently in NPI phase. We are not able to help you confirm this issue, as we can only provide support for products that have already been released. If you have a contact FAE or local NXP, I think they should be able to provide more resources regarding the RT1180. 

Thank you very much for your understanding and support in advance!

Best regards,
Gavin

0 件の賞賛
返信