I have not attempted the tutorial, but if I was testing the adapters, I would do something like this:

1. Take a known-working demo (which does loopback, for example)
2. Test the demo yourself and confirm it is doing loopback successfully
3. Disconnect the TX port from the ROACH and plug in your converter. Connect to your pc via 1gbe and use wireshark to see if packets are
   coming through.
    1. If this works, then you know that the connector works and your
       code is broken -- knowing what I do about writing 10GbE code,
       it's probably that!!
4. Now, test your own code with the device


I have used 1GbE and the interface is almost identical to the 10GbE interface. Only difference is that you fill the interface one byte at a time. So, toss an 8-mux in front of the input, driving each of the mux inputs with a different one-byte slice of the 8-byte 10GbE input word. Attach a 3-bit counter to the "select" port, and you're off to the races!


I strongly suggest starting off by connecting a simple constant or counter to your input at first. Change it to something more sophisticated once you get your endianness and basic packet reading sorted out.


On 08/10/2017 01:32 PM, Xavier Bosch wrote:
Ryan,
Thank you for your response.
You are right, I first considered the 1 GbE port but this implies to restructure the data packaging, instead of using 64 bits of length, as I am right now. I have to change it to 8. Besides the fact that there is no much information on the 1 GbE port, but there is a tutorial for teh 10 GbE, which made it quite easy to implement it. Is not that it cannot be done, but design and test would take me a significant amount of time.
If I could solve the problem using an adapter that would be great !  :-)

XB


On Thu, Aug 10, 2017 at 1:22 PM Ryan Monroe <ryan.m.mon...@gmail.com <mailto:ryan.m.mon...@gmail.com>> wrote:

    Why not use the 1GbE port on the ROACH2?  No need to go for 10GbE
    (SFP+) ports


    On 08/10/2017 01:16 PM, Xavier Bosch wrote:
    Hi,

    As I explained in a previous email, I am looking for a way to
    send the slow-throughput ROACH2 data  (~25 Mbps) to a PC without
    using the SPF+ ports on the PC side.  Mobility is important for
    the project that I am working, so I want to be able to use any
    laptop for that purpose without the burden of having to have a 10
    GeB SPF+ card

    I first considered the 1 GbE but this implies a big
    reconfiguration of the design sine the outputs are 8 bit instead
    of 64 that the 10 GbE interface uses.

    Have anyone tried to use a SPF+ to 1 GbE RJ45 connector like the
    ones in the attached picture?

    I did some research and I found that the Quad SFP+ Mezzanine
    board uses the Vitesse VSC8488XJU chip which in theory should
    allow such connection, as you can see in this spec. sheet
    http://www.mouser.com/ds/2/523/microsemi_VSC8489-01_PB-883836.pdf

    So far, I tested 2 different adapters at port 0 with no luck.
    Does anyone know if this is possible?
    Is the 1 GbE option enable in the mezzanine board?

    Thank you,
    XB
-- You received this message because you are subscribed to the
    Google Groups "casper@lists.berkeley.edu"
    <mailto:casper@lists.berkeley.edu> group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to casper+unsubscr...@lists.berkeley.edu
    <mailto:casper+unsubscr...@lists.berkeley.edu>.
    To post to this group, send email to casper@lists.berkeley.edu
    <mailto:casper@lists.berkeley.edu>.

--
    Ryan Monroe
    PhD Student | Electrical Engineering
    California Institute of Technology
    Cahill 255 |626.773.0805 <tel:%28626%29%20773-0805>


--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.

Reply via email to