Hello Raspberry Pi community,
I'm working on integrating a W5500 Ethernet module with my Raspberry Pi 4 for a networking project. Initially, I encountered a chip select conflict (spi-bcm2835 fe204000.spi: chipselect 0 already in use) when attempting to register the W5500 module on spi0-0. After switching the configuration to spi1-1 in my /boot/config.txt, the conflict message is gone, but I'm still not able to get the module working correctly.
Here's my current /boot/config.txt configuration:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# # NEW
# # HDMI Settings
# #hdmi_safe=1
# #overscan_left=16
# #overscan_right=16
# #overscan_top=16
# #overscan_bottom=16
# #framebuffer_width=1280
# #framebuffer_height=720
# #hdmi_force_hotplug=1
# #hdmi_group=1
# #hdmi_mode=1
# #hdmi_drive=2
# #config_hdmi_boost=4
# I/O Configuration
#dtparam=i2c_arm=off
dtparam=i2c_arm=on
#dtparam=spi=off
dtparam=spi=on
# # Audio & Display
# #dtparam=audio=on
# #camera_auto_detect=1
# #display_auto_detect=1
# #dtoverlay=vc4-kms-v3d
# #max_framebuffers=2
# #disable_overscan=1
# #dtoverlay=gpio-ir,gpio_pin=17
# #dtoverlay=gpio-ir-tx,gpio_pin=18
# Processor & System Settings
arm_64bit=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all]
#dtoverlay=disable-bt
#dtoverlay=uart4,ctsrts
#dtoverlay=disable-wifi
#enable_uart=1
dtparam=watchdog=on
#dtoverlay=w5500,int_pin=22,cs=0,speed=15000000
dtoverlay=anyspi,spi1-1,dev="w5500",speed=30000000
dtoverlay=w5500
I've successfully removed the chip select conflict by changing the configuration, but I'm still unable to get the W5500 module to operate as expected. I'm looking for advice or guidance on how to properly set up this module on the Raspberry Pi via SPI, especially concerning the correct use of dtoverlay and SPI ports.
Has anyone successfully set up a W5500 Ethernet module on their Raspberry Pi and can share insights or the correct configuration steps? Any suggestions on troubleshooting steps or essential configurations I might be missing would be greatly appreciated.
Thank you for your help!
I'm working on integrating a W5500 Ethernet module with my Raspberry Pi 4 for a networking project. Initially, I encountered a chip select conflict (spi-bcm2835 fe204000.spi: chipselect 0 already in use) when attempting to register the W5500 module on spi0-0. After switching the configuration to spi1-1 in my /boot/config.txt, the conflict message is gone, but I'm still not able to get the module working correctly.
Here's my current /boot/config.txt configuration:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# # NEW
# # HDMI Settings
# #hdmi_safe=1
# #overscan_left=16
# #overscan_right=16
# #overscan_top=16
# #overscan_bottom=16
# #framebuffer_width=1280
# #framebuffer_height=720
# #hdmi_force_hotplug=1
# #hdmi_group=1
# #hdmi_mode=1
# #hdmi_drive=2
# #config_hdmi_boost=4
# I/O Configuration
#dtparam=i2c_arm=off
dtparam=i2c_arm=on
#dtparam=spi=off
dtparam=spi=on
# # Audio & Display
# #dtparam=audio=on
# #camera_auto_detect=1
# #display_auto_detect=1
# #dtoverlay=vc4-kms-v3d
# #max_framebuffers=2
# #disable_overscan=1
# #dtoverlay=gpio-ir,gpio_pin=17
# #dtoverlay=gpio-ir-tx,gpio_pin=18
# Processor & System Settings
arm_64bit=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[all]
[pi4]
# Run as fast as firmware / board allows
arm_boost=1
[all]
#dtoverlay=disable-bt
#dtoverlay=uart4,ctsrts
#dtoverlay=disable-wifi
#enable_uart=1
dtparam=watchdog=on
#dtoverlay=w5500,int_pin=22,cs=0,speed=15000000
dtoverlay=anyspi,spi1-1,dev="w5500",speed=30000000
dtoverlay=w5500
I've successfully removed the chip select conflict by changing the configuration, but I'm still unable to get the W5500 module to operate as expected. I'm looking for advice or guidance on how to properly set up this module on the Raspberry Pi via SPI, especially concerning the correct use of dtoverlay and SPI ports.
Has anyone successfully set up a W5500 Ethernet module on their Raspberry Pi and can share insights or the correct configuration steps? Any suggestions on troubleshooting steps or essential configurations I might be missing would be greatly appreciated.
Thank you for your help!
Statistics: Posted by Nathol — Thu Mar 07, 2024 2:19 pm — Replies 0 — Views 5