cancel
Showing results for 
Search instead for 
Did you mean: 

W5100 Ethernet Chip SPI code

tkjmail2
Associate II
Posted on June 21, 2010 at 17:30

W5100 Ethernet Chip SPI code

This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Andrew Neil
Super User
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.
tkjmail2
Associate II
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
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.