Ethernet buffering

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
who
New User
Posts: 2
Joined: Wed Jul 19, 2017 9:11 am

Ethernet buffering

Post by who »

Hi,

I am starting a project with the xCore-200 eXplorer board and I am using a Gigabit link. Receiving data works perfect, now I want to process the received data. Therefore, I need to buffer the incoming data in a FIFO structure; so the data of each MAC packet should be copied to a FIFO. How can I do this efficiently? Are there any examples available?
-who


User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Are you using IP networking? The xtcp lib and the simple webserver example is where I started from for TCP... I got it from git https://github.com/xmos/lib_xtcp
who
New User
Posts: 2
Joined: Wed Jul 19, 2017 9:11 am

Post by who »

Hi,
no, I am using only Ethernet MAC communication. Therefore I used example AN000199 and in function icmp_server() I am receiving the ethernet frames. When just counting the incoming frames in icmp_server(), I'll get 500mbit/s. But when I am trying to store the content of rxbuf to a FIFO (example "9 A buffered receiver" out of the programming guide) the connection is very slow.
Post Reply