Problem with w5100 module Drive using Spartan-6
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: Problem with w5100 module Drive using Spartan-6
by irina WIZnet ·
Hi,
First, I can’t show your pdf file. The file is corrupted and cannot be opened.
If you change ip addr from 192.168.1.100 to 192.168.1.113, you write the data('d113) in the register address(0x12) though MOSI.
I will be waiting to hear from you.
('d
Thanks,
Best regards,
irina
RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
You send 192 to register 0x0F here. Do you change other 4 registers as @irina_kim said?
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
the other 3 bytes are set just like the first.
1- I had connected the module directly to my laptop.
2- Changing IP and the Pinging is my first work with module. I hadn’t change any setting, registers,etc.
RE: RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
Please show real state of MISO when you write new IP address.
As you have W5100 configured the first place I guess it is a proof that SPI communication works properly and what you show in simulation reaches W5100 registers, right?
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
I am setting my FPGA’s output data on “MOSI” pin. Is it wrong?
RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
Why do you think so? I am asking for output of MISO pin of W5100. During write cycle is must output specific values to prove that your write is being accepted by the chip.
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
The MISO is Zero during write operation. is it True?
RE: RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
No, please read 6.3.3 of the datasheet, and look at the picture in there.
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
After some correction in board’s connections, the MISO feedback is not reasonable yet. Once it is True and Once Not. what is the probably cause?
In the Picture, from top to down are : SCK, MOSI, MISO, SS
True MISO:
*SCK Frequency: 500 Khz
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
False MISO:
RE: RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
The only possible cause comes to my mind is that one of previous SPI cycles did not finish with number of active clocks (when SS is low) in multiple of 8.
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
I check the active clk number in each period and it is exactly 32.
should i check the W5100 to be free (Not busy, For example because of Auto ARP, ICMP, etc)?
RE: RE: Problem with w5100 module Drive using Spartan-6
by Eugeny ·
Then suggestion: before driving SS low, perform 8 spare clock pulses with SS high.
In general you have something wrong with your SPI implementation, the question is what is wrong and how to fix it.
RE: Problem with w5100 module Drive using Spartan-6
by javadhabibi ·
Problem Solved. The SPI Mode 3 is deleted on Ver. 1.1.8
Mar. 4, 2009. I Used Ver. 1.1.6 and that’s caused the problem.
because in Low-period of SS, I have 32 Rising Edge of SCK, but Just 31 falling edge of it. Thanks Eugeny. It is Precisely what you said about active clocks.
Here the corrected wave form.
RE: RE: Problem with w5100 module Drive using Spartan-6
by irina WIZnet ·
I ’ m glad it all worked out for you ,
Feel free to ask any questions.