STM32 - WIZnet W5500: Difference between revisions

From Embedded Workshop
Jump to navigation Jump to search
(Created page with "The WIZnet W5500 Ethernet chip provides an easy Ethernet network solution for many microprocessors/microcontrollers. Using a SPI interface and sample library code, most any p...")
 
No edit summary
Line 21: Line 21:
  White        5.0V (NC)      J1-9            NC
  White        5.0V (NC)      J1-9            NC
  Black        3.3V          J1-10            3.3V +3V3, CN7-16
  Black        3.3V          J1-10            3.3V +3V3, CN7-16
Information in the comment field describes what pin/function I connected to on my NUCLEO-F103RB board.

Revision as of 12:54, 21 January 2023

The WIZnet W5500 Ethernet chip provides an easy Ethernet network solution for many microprocessors/microcontrollers. Using a SPI interface and sample library code, most any processor can use this device to get connected to a network.

Hardware Interface

In my case, I purchased a small development module from Amazon.com.
This same module is readily available on Ebay.com and Aliexpress.com
Examples:
  https://www.amazon.com/AITRIP-Ethernet-Hardware-Microcontroller-Interface/dp/B09FG5VZFS/ref=sr_1_10   
  https://www.aliexpress.us/item/3256801465688850.html

A 10 conductor, 2x5 pin header, provides the electrical connection between the host and this module
I wired mine using a female-female ribbon cable as follows:
Wire Color   Signal	 W5500 Module Pin  NUCLEO-F103RB Pin	Comment
Brown        Not Connected  J1,1             NC		
Red          SPI-SCLK       J1-2             SCLK	SPI2_SCK, PB13, CN10-30	
Orange       INTn           J1-3             INT	PB11, CN10-18	Active low
Yellow       SPI-CSn        J1-4             SCS	SPI2_NCS, PB12, CN10-16	Active Low Chip Select
Green        RSTn           J1-5             nRST	PB10, CN10-25	Active Low, 500us min
Blue         MOSI           J1-6             MOSI	SPI2_MOSI, PB15, CN10-26	
Violet       GND            J1-7             GND	GND, CN10-20	
Grey         MISO           J1-8             MISO	SPI2_MISO, PB14, CN10-28	
White        5.0V (NC)      J1-9             NC		
Black        3.3V           J1-10            3.3V	+3V3, CN7-16

Information in the comment field describes what pin/function I connected to on my NUCLEO-F103RB board.