Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Ethernet Communication with Stratix II EP2S30

Hello,

I have to realise an interface between a camera and a computer for image processing, and the data need to be transmitted via an ALTERA Stratix II EP2S30 card.

I made all the researches I could to find an answer to my question, without a real result.

How can I reach a 68Mbs transmission rate with my SMSC LAN91C111 chip ? (I didn't find a free IP which could do this !!!).

If someone have any experience about Ethernet communication between an Altera card and a computer, please feel free to tell me !

Thanks you for your attention,

Regards,

Lord Redbeard.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by lord_redbeard@Mar 13 2006, 09:24 AM

    hello,

    i have to realise an interface between a camera and a computer for image processing, and the data need to be transmitted via an altera stratix ii ep2s30 card.

    i made all the researches i could to find an answer to my question, without a real result.

    how can i reach a 68mbs transmission rate with my smsc lan91c111 chip ? (i didn't find a free ip which could do this !!!).

    if someone have any experience about ethernet communication between an altera card and a computer, please feel free to tell me !

    thanks you for your attention,

    regards,

    lord redbeard.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=13381)

    --- quote end ---

    --- Quote End ---

    Do a search for LAN91C111, there&#39;s several threads about how to increase transmission speeds. I think a user named revolt had the best results. I haven&#39;t done the work myself because transmission speed isn&#39;t an issue but I remember seeing a lot of discussion about it.

    The biggest speedup would likely be using DMA with the onboard chip. The default (meaning, how the included driver does it) method of sending a packet to the chip is a loop that sends it 32 bits at a time. Very CPU intensive.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yep thanks.

    I have done some search for my TCP interface and then reduced my needed output data rate to 9 Mbits/s for TCP.

    It is said that i must use DMA to stronlgy improve my data rate (and HW checksum too); data rate is basically evaluated to 450 kbits/s in TCP Tx by Altera without optimisations.

    To be continued...