cancel
Showing results for 
Search instead for 
Did you mean: 

Using MAC/DMA with ring buffer

michid
Associate
Posted on April 23, 2007 at 14:15

Using MAC/DMA with ring buffer

1 REPLY 1
michid
Associate
Posted on May 17, 2011 at 09:41

Hi!

I was able to get the MAC running for transmission and reception of single packets.

Now I'd like to improve performance by using the ring buffer feature (address counter wrap) but I'm not sure how to do this. The reference manual tells that if an address wrap occours the next address will be the one in the start address register. So if I would use a 4K tx buffer and place my tx packet at 3.5K to 4K and 0K to 1K I would have to programm the start address register for that packet to 3.5K. Unfortunately after the address counter wrap at 4K the next address loaded would be 3.5K according to the ref. manual. Is there any way to force a wrap to 0K in this case? Or is there an other way to implement ring buffers for tx and rx?

Michael