Shop OBEX P1 Docs P2 Docs Learn Events
Wiznet W5100 Driver in Parallel mode — Parallax Forums

Wiznet W5100 Driver in Parallel mode

edlikestoboogieedlikestoboogie Posts: 71
edited 2010-03-28 23:08 in Propeller 1
Has anyone worked on a driver for the Wiznet W5100 in parallel mode for the propeller? I am using the SPI driver from the Hydra EtherX kit and am getting something like 16kbps file transfer speed to a SD card. Will parallel mode increase my speed or is the bottleneck more on the SD card side?

Comments

  • Patrick1abPatrick1ab Posts: 136
    edited 2010-03-28 14:24
    The bottleneck is definitely the Hydra EtherX driver and in SPI mode you won't reach full speed, even with a faster code.
    Timothy D. Swieter is currently working on a new driver for the W5100. I think he said, that
    he will try to work on the indirect/parallel mode later this week.
    With indirect/parallel mode we should see an incredible speed boost.
  • Timothy D. SwieterTimothy D. Swieter Posts: 1,613
    edited 2010-03-28 23:08
    I'm putting together two generic drivers for the W5100. One is a high-speed SPI ASM and the other is a indirect/parallel mode version. I want the drivers to be identical except for the SPI/parallel part. In otherwords I want a consistent API so that either driver can be used with minimal code change.

    I attached my work in progress for faster SPI driver. Depending on how things go this week I will be converting the ASM SPI section to the parallel/indirect mode. I am interested in having other people try the SPI driver and to give feedback. I believe this SPI driver should be faster than the Hydra EtherX, but only marginally. Can you test and let me know how much faster it is?

    By the way, how are you testing speed of the driver?

    Remember the attached code is a work in progress. Please let me know of any bugs/interface problems you have with it. Later this week I hope to convert to parallel/indirect.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Timothy D. Swieter, E.I.
    www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" 16:9 LCD Composite video display, eProto for SunSPOT, PropNET, PolkaDOT-51
    www.tdswieter.com
Sign In or Register to comment.