About half of the time, things work great. The ItsyBitsy and Ethernet FeatherWing successfully connect to the local network at the reserved IP address that I configured on my router. When it all works, I have the ItsyBitsy display the IP address on the OLED. I can communicate from my laptop with the ItsyBitsy successfully across the network. It is great.
The other half of the time, the ItsyBitsy gets stuck during setup trying to connect to the local network through the Ethernet FeatherWing. I display status updates on the OLED and it seems that connecting to the local network is getting stuck on the following line. It just never finishes executing.
Code: Select all
Ethernet.init(10);
What could cause this occasional connection issue? I dug in the source code of the Ethernet library (version 2.0.1) and it looks like the init function is quite short but I can't figure out what it is doing.
Is there an inherent issue that I don't know about when using an ItsyBitsy M4 Express with an Ethernet FeatherWing? Do I need to switch to the Feather M4 Express?
Any help or clues appreciated.
Thanks!