AM2434: ENET_TX_DMA Number Of Packets

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hi,

I'm using  the AM2434 with ind_comms_sdk_am243x_11_00_00_13\mcu_plus_sdk tcp_server example.

When I simulate heavy CPU load ~ 95%  I see crashes of data abort handler after ENET_DMA_TX_CH0_NUM_PKTS()

I also see at sysconfig at Enet(CPSW) DMA Channel config -> Enet Tx DMA channel 0 ->Number Of Packets = 16
Is there a recomended  value  I should use to avoid crashes ?

Thanks,

Eli

  • Hi,

    The Tx buffers needed for normal operations is 16, when the loads are normal. If the CPU load that you are creating is Tx heavy, or if your application spends more time in critical section without letting others run, then this would need increased allocation, preferably to 32. 

    You would also need to increase the lwippool.h allocation to 1568 size, from 18 to 36 for this change to take effect without errors. Please let us know if you have further issues, or queries regarding the same.

    Thanks and regards,
    Teja.