Strange behavior w5500 with xmega on SPI [SOLVED]
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Strange behavior w5500 with xmega on SPI [SOLVED]
by Eugeny ·
Totally bricked, or it recovers after reset/power cycle?
No idea, but sound wrong for SPI transfer. But not all zeros means there’s something at the other end
There could be numerous causes for such bad behavior - oscillator stops working, you get issue with SPI protocol, you start multibyte data transfer command and it does not finish properly etc.
You attached it in wrong way, not accessible. Try again.
RE: RE: Strange behavior w5500 with xmega on SPI [SOLVED]
by LVY ·
well, I tried two different modules with w5500, both of them have the same issue after w while. power cycle do not do a thing.
I checked on the scope, what is supply voltage on module and it never drops lower than 3,15V. the SPI signals seems normal.
exacly! if the chip keep sends only 0’s then I dont bother asking, but now i have not a clue whats going on.
i tried few different SCK speeds from 4Mhz to 100kHz, to rule out wire crosstalking, but with no effect.(maybe i should use even lower clock?)
according to datasheet, the multibyte commands is controlled by CS pin, i try to read it again.
fixed, also, it is worth mention that this is the first packet ever transmitted after power cycle.also there is what it looks like on the next packets.
RE: Strange behavior w5500 with xmega on SPI [SOLVED]
by Eugeny ·
Not sure I understood - sounds like your W5500 is totally dead? There could be cases when chip is locked, and usually this condition is cleared after power off and power on.
RE: Strange behavior w5500 with xmega on SPI [SOLVED]
by LVY ·
the oscillogram in the first post is taken right after the 8h unpowered chip. (the first packet after powering on). so it seems that chip is locked internally. (or maybe i start it up to fast or to slow?
first packet is send just about 1,5s after powering on, maybe there is issue?
RE: Strange behavior w5500 with xmega on SPI [SOLVED]
by LVY ·
ok, in desperation i hookup the module to arduino uno , and upload an serwer example, and after few restarts chip unlocks itself and working again
i think i can close the tread now.