In network driver ETH_KSZ8851SNL.c
Waiting for SPI completion is missing in function MAC_ReadFrame(), resulting in the driver cannot work. Obviously, there is a fatal bug.
Code snippet from line 640:
/* Read received frame */ ptrSPI->Receive (frame, len); while (ptrSPI->GetStatus().busy); /* Read dummy bytes for alignment */ if (len & 3) { ptrSPI->Receive (buf, 4 - (len & 3)); while (ptrSPI->GetStatus().busy); }
The bold parts are fix patch. Please patch it when next release. Thanx!
Thanks for reporting this! The fix will be included in the MW 6.5 release.