Coldfire 52234 FEC issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coldfire 52234 FEC issue

1,224 Views
Alessandro
Contributor I
Hi everybody,

I'm wondering about a strange behaviour of the 52234's FEC. I have
set up the FEC to handle only one receive BD which buffer size is
2048 bytes. In presence of a heavily loaded network I get a FEC lock
even if I always free the unique receive BD every time its E bit is set
to 0 by the FEC DMA engine. When I say FEC lock I intend that no
more RXF interrupts are rised.

I suspect the FEC locks because may happen that the receive FIFO is
full and there are no free receive BDs to write in the OV bit. Is my
assumption correct ? Can you explain me this FEC behaviour ?

Best Regards

/Alessandro

Labels (1)
0 Kudos
Reply
1 Reply

474 Views
francois_boucha
Contributor III
Hi,
 
How many frame are you able to receive before the FEC locks up?  I might be your release_RxBuffer_descr()  function that's in cause.  Make shure the Wrap bit stays set to one.
 
Francois  
0 Kudos
Reply