Hello,
I am working on developing an inverter. For it, I am using the F28379D daughter card as the real-time MCU. To monitor and control the inverter, I want to use ethernet as the communication protocol. Since the F28379D board does not have an on-board ethernet port, I am using Wiznet's 5100s (Wiz810sio specifically) SPI to ethernet module as the interface. However, I am unable to set it up with the Delfino board. It's not getting initialized properly and the ping test fails. The W5100s chip has a chip version register. Reading it didn't return the correct data either. Suspecting a faulty ethernet chip, I tested it on an Arduino Uno. The module worked perfectly fine when connected to the Arduino Uno. I was able to read the chip version correctly and the ping test worked too. After that I performed the following tests:
1) Loopback test on the F28379D board with the SPI data width set as 8-bit in one case and 16-bit in another. For both cases, the loopback test results were correct.
                                         
8-bit loopback test results
                                         
16-bit loopback test results
2) Once the loopback test results were verified, I ran the simple test to read the chip version register value of the W5100s module and recorded the results using Saleae's logic analyzer. Again I tried reading the register value by setting the SPI data width as 8-bit in one case and 16-bit in another case. I also tested at various bit rates and selected the STE line manually in a case. In all cases, the results were exactly the same. The chip register value should have been read as 0x51 but it was being read as 0x00.
                            
                            
                            
                            
Logic Analyzer Result
3) Tried different W5100s modules and F28379D boards but got the same results as above.
4) Suspecting the I/O voltage at 3.3V to be insufficient, I tested the W5100s on the ESP32 board which has a 3.3V I/O output as well. The W5100s chip worked perfectly on it and gave the correct results.
5) Used W5100 module (WIZ812MJ) the old generation of the Wiznet chip. Surprisingly, this chip got initialized properly and the ping test worked with the F28379D board. However, for the project, I need to use the newer generation of the Wiznet module, i.e, the W5100s.
At this point, I am unable to identify the error and resolve the issue. Any help would be appreciated.
Links: Datasheet W5100s: https://docs.wiznet.io/img/products/w5100s/w5100s_ds_v127e.pdf
Technical Document Wiz810sio: https://www.wiznet.io/wp-content/uploads/2019/01/WIZ810Sio-User-Manual-V1.0-002.pdf
Test code and logic analyzer complete results: https://drive.google.com/drive/folders/1nJsVZrn1WkpddDWpQZ-RhBXa-MySZ90u?usp=sharing
Hope to hear from you soon.
Best,
Avyay Sah.
 
				 
		 
					 
                           
				