Is W5100 Listen Mode Persist?
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: Is W5100 Listen Mode Persist?
by Eugeny ·
I did not see anything about this state timing out in the datasheet, thus it must be persistent. And it is generally logical - no one knows when request to connect arrives, thus if socket is in LISTEN state it must be there until socket is reconfigured, or connection using this socket is requested.
RE: Is W5100 Listen Mode Persist?
by FPGA Friend ·
I set the socket 0 OPEN and the set it to LISTEN mode. Then in an infinite test loop i read the S0_SR(0x0403). In Most times, it is SOCK_LISTEN. But some time it becomes 0x08 or 0x02(temporary) and these are out of Sn_SR table!!
I have problem with data received length(Sn_RX_RSR ). Some times it becomes false.(0xFF64 instead of 0x0064)
May be these problems connected to each other? what can i do with them?
RE: RE: Is W5100 Listen Mode Persist?
by Eugeny ·
Parallel or SPI mode? I suspect you use parallel mode. What is timing? Please draw the timing diagram.
RE: Is W5100 Listen Mode Persist?
by FPGA Friend ·
SPI using Spartan-3
I am using 500 Khz SCK. Timing diagram is hard to discover! I done it according to P.67 of w5100 datasheet.
Is there any other feedback from W5100 to check my code?
RE: Is W5100 Listen Mode Persist?
by Eugeny ·
Sure. 6.3.3 shows that W5100 will respond with 0, 1 and 2 during read cycle.
Decimal 100 in hexadecimal ix 0x64.
No, it gives you amount of data arrived. If two packets will arrive between updating pointers, it will show data length for two packets.