Shop OBEX P1 Docs P2 Docs Learn Events
Update to Spinneret Serial (SPI) driver to fix problem with truncated UDP packets — Parallax Forums

Update to Spinneret Serial (SPI) driver to fix problem with truncated UDP packets

jstjohnzjstjohnz Posts: 91
edited 2011-01-03 22:31 in Accessories
Attached is an updated version of Tim Swieter's SPI driver for the W5100 aka Spinneret. This is an update from ver 0.5 to 0.6, and it corrects a bug that would produce short transmitted UDP packets when the packet being sent wrapped around the end of the buffer.

I PM'ed Tim about this a while back but he may be unavailable, so at the suggestion of David Carrier I am posting the updated driver here to make it more visible to others that might be experiencing this issue.

Again, this only affects a problem with transmitted udp packets, when using the SPI interface.

It adds a single line of code in the TxUDP method:
payloadsize += rolloverpoint
Sign In or Register to comment.