Open GoogleCodeExporter opened 9 years ago
Yes, you're right.
When W5100 sends data while it is receiving data, there is timing issue.
If you got debug data like you wrote, I suppose like below.
1. W5100 sent all data successfull and changed its register, SnIR, to SEND_OK
2. but data reception happened right shortly afterward and SnIR was changed to RECV.
3. Your driver code came to while clause to check its value after SnIR was changed to RECV.
You'd better add additional code to check the value of TX_WR and TX_RD after
the block checking SnSR.
Then you may be able to solve this problem.
Original comment by java...@gmail.com
on 19 Feb 2015 at 9:36
Original issue reported on code.google.com by
townsh...@gmail.com
on 25 Sep 2012 at 2:13