AnsweredAssumed Answered

BF609 ethernet DMA Setting by CCES

Question asked by WarrenJ on Sep 13, 2014
Latest reply on Nov 13, 2014 by WarrenJ

HI

i have questions about ethernet DMA buffer Setting By CCES, i need more DMA buffer to receive  multi-connect(24 connects) ethernet packects(4 packets in 30us). because the EMAC Rx buffer only 128 bytes.

 

if i add the more  rx_configure_buffer_list ?? Or anybody can tell me how to solve the  busy network.

void rx_configure_buffer_list()

{

    rxbuf1.pNext = &rxbuf2;

    rxbuf1.Data = (char*)&rxpkt1;

    rxbuf1.ElementCount = RX_PACKET_SIZE;

  memset((char*)&rxpkt1,0,RX_PACKET_SIZE);

    rxbuf2.pNext = &rxbuf3;

    rxbuf2.Data = (char*)&rxpkt2;

    rxbuf2.ElementCount = RX_PACKET_SIZE;

    memset((char*)&rxpkt2,0,RX_PACKET_SIZE);

    rxbuf3.pNext = &rxbuf4;

    rxbuf3.Data = (char*)&rxpkt3;

    rxbuf3.ElementCount = RX_PACKET_SIZE;

    memset((char*)&rxpkt3,0,RX_PACKET_SIZE);

  

    rxbuf4.pNext = NULL;

    rxbuf4.Data = (char*)&rxpkt4;

    rxbuf4.ElementCount = RX_PACKET_SIZE;

  memset((char*)&rxpkt4,0,RX_PACKET_SIZE);

}

Outcomes