cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet packet lose then transmiting at high rate

Andrew1
Associate II
Posted on November 30, 2015 at 14:24

I observe ethernet packet lose then transmitting at high rate:

 while (1)     

 {

    while (1)

    {

      err = low_level_output( &gnetif, p);

      if ( err != ERR_OK )

        continue;

      else

        break;

    }

    delay_microseconds_active( 5 ); //5 us delay

  }

I check error code for low_level_output(). If error occurs (transmit descriptor is busy) do next attempt to transmit packet,

but it never transmited.

Same problem reproduced with 25 microsecond delay.

With 50 microsecond delay all packets transmitted correclty.

How to ensure packet transmission with small delay? 

#ethernet-dma-stm32f746-discovery
0 REPLIES 0