Skip to main content
tkjmail2
Associate III
June 21, 2010
Question

W5100 Ethernet Chip SPI code

  • June 21, 2010
  • 3 replies
  • 645 views
Posted on June 21, 2010 at 17:30

W5100 Ethernet Chip SPI code

    This topic has been closed for replies.

    3 replies

    tkjmail2
    tkjmail2Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:55

    I doesn't get any sign of life from it...

    So maybe the SPI isn't set up properly or maybe it's just me that haven't ported it correctly.

    I've uploaded the code - keep in mind that it is a mix of my fully working LCD library/interface which I use for debugging, and the not working ported W5100 code!

    Download it here: http://elec.tkjweb.dk/SSD1963_W5100.zip

    Best Regards

    Thomas Jespersen

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 13:55

    ''it doesn't go very well''

    What, exactly, do you mean by that?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 13:55

    ''I doesn't get any sign of life from it... So maybe the SPI isn't set up properly''

    Have you checked with a scope that the clock is being generated?

    And any required chip select?

    And data on the data lines?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.