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
Ethernet buffering
-
- New User
- Posts: 2
- Joined: Wed Jul 19, 2017 9:11 am
-
- XCore Expert
- Posts: 579
- Joined: Thu Nov 26, 2015 11:47 pm
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
-
- New User
- Posts: 2
- Joined: Wed Jul 19, 2017 9:11 am
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.
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.