Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Wiznet W5500
Goto page 1, 2  Next
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP
View previous topic :: View next topic  
Author Message
josipratkaj

Bascom Member



Joined: 06 Nov 2010
Posts: 5

PostPosted: Sat Dec 14, 2013 2:21 pm    Post subject: Wiznet W5500 Reply with quote

Hi!

I'm wondering, is BASCOM going to support the new W5500 chip? Has anybody used it and can share code? It seems like a nice SPI "TCP coprocessor", easier to place on PCB (smaller) and a tiny bit cheaper than W5200.


Thanks,
Josip
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Sat Dec 14, 2013 2:27 pm    Post subject: Reply with quote

if you send me the hardware i can add a lib for it. it is probably derived from w5200 so it should not be too much work.
i did not checked the datasheets. do you have a link to the PDF ?

_________________
Mark
Back to top
View user's profile Visit poster's website
josipratkaj

Bascom Member



Joined: 06 Nov 2010
Posts: 5

PostPosted: Sat Dec 14, 2013 4:35 pm    Post subject: Reply with quote

you are probably right, the w5500 has to be similar to w5200.

the datasheet for the w5500 can be found at wiznet pages. links are below my post.

i would very much like to send you the hardware! is the WIZ550io module good enough for the job? can you give me a contact email address so we can arrange it?


links:
W550 datasheet: http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v102e_131114.pdf
WIZ550io module: http://wizwiki.net/wiki/doku.php?id=products:wiz550io:allpages


br,
josip
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Wed Dec 18, 2013 11:08 am    Post subject: Reply with quote

I had a look. this is not really the same as w5200 and i do not see a real advantage of using this chip. the only advantage (IMO) is the SPI can transmit larger chucks. But it no problem to support it. Just bit more work.
I will send you an off line email for my address.

_________________
Mark
Back to top
View user's profile Visit poster's website
nicofer

Bascom Member



Joined: 01 May 2013
Posts: 90
Location: GRJ

southafrica.gif
PostPosted: Wed Mar 12, 2014 9:23 pm    Post subject: Wiz550io Reply with quote

Hi
Any news on the support for this module / chip -

Lots of modules will be used in the WIZnet Connect the Magic 2014 Design Challenge

Best Regards

Nico
Back to top
View user's profile
georgestheking

Bascom Member



Joined: 06 May 2005
Posts: 134

PostPosted: Mon Mar 17, 2014 10:38 pm    Post subject: W5500 contest Reply with quote

Hi,

It will be nice to participate of the contest using Bascom AVR.

Best regards

Georges
Back to top
View user's profile
josipratkaj

Bascom Member



Joined: 06 Nov 2010
Posts: 5

PostPosted: Fri Feb 13, 2015 11:17 am    Post subject: Reply with quote

bump!

any news on the topic?


regards,
josip
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Wed Feb 18, 2015 2:21 pm    Post subject: Reply with quote

sorry, i had it scheduled but i ran out of time. After that it was out of sight. But after reading this, i quickly collected the board and documents and i used yesterday to read the datasheet again and make a plan.
This is a great chip and has some simplifications. because you can use VDM you can get higher speed too. But while i originally thought it were some relatively simple modifications, it is a bit harder.
in all libs the socket is passed in the address. But that is not possible now because a kind of 24 bit is used instead of 16 and i had no free register.
I do not know if users want the 5500 just for higher speed or for other reasons.
A quick solution would make no advantage of VDM and would store the socket in SRAM. Maybe that is best to get started. A more optimized rewritten version could be added later.
I keep you updated.

_________________
Mark
Back to top
View user's profile Visit poster's website
josipratkaj

Bascom Member



Joined: 06 Nov 2010
Posts: 5

PostPosted: Wed Feb 18, 2015 6:21 pm    Post subject: Reply with quote

Hi!

thanks for the reply. personally, I find the chip easier from the HW perspective. SPI is the interface I prefer, the chip is smaller and easier to implement on the board etc. those are the main (probably the only) reasons I'm asking.


regards,
josip
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Thu Feb 19, 2015 9:44 pm    Post subject: Reply with quote

i was fighting with this module. have connected it to the stk600.
but for some reason one gnd and vcc wire was not enough. just after i had checked wires for the third time, i decided to add another vcc and gnd, and then i could read the registers.
but writing registers does not work proper yet. So i might better add external power.
Too bad they included this eeprom and pic on the module that loads default values. i would have liked some jumper to turn that off.
ok, back to the wiring...

_________________
Mark
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Thu Feb 19, 2015 10:08 pm    Post subject: Reply with quote

ahem, just one wire connector did not made good contact. now i can write and ping. Next time i begin to check all connector pins.
_________________
Mark
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Sat Feb 21, 2015 1:51 pm    Post subject: Reply with quote

ok, now the tcpsend and all simpler routines work. What remains is the receiving code. I expect it to be ready for test end of this weekend.
Josip : when you send an email to support i will give you access to a test version when i am done.

_________________
Mark
Back to top
View user's profile Visit poster's website
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Mon Feb 23, 2015 2:16 pm    Post subject: Reply with quote

and finally reading is working as well.
_________________
Mark
Back to top
View user's profile Visit poster's website
josipratkaj

Bascom Member



Joined: 06 Nov 2010
Posts: 5

PostPosted: Wed Mar 04, 2015 12:40 pm    Post subject: Reply with quote

you've been busy as a bee Smile

i'm happy that you got things running. usually when i have such an error (poor contact - sometimes works, sometimes doesn't), firstly i make changes to the code for a few days Smile then i check the board.. i'll never learn Smile


keep up the good work!


br,
josip
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Thu Mar 05, 2015 4:46 pm    Post subject: Reply with quote

yes, i am busy. but as had planned to support this module it was about time i finished it. too bad wiznet altered the protocol, i should have rewritten the complete lib. And when there is enough interest for this module, maybe i will.
_________________
Mark
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> EASY TCP/IP All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum