Wiznet makers

mason

Published May 26, 2025 ©

83 UCC

19 WCC

28 VAR

0 Contests

0 Followers

0 Following

Original Link

SPI to Ethernet Communication on Forlinx OK-MX9352-C Board: W5500 Driver Setup & Debug Guide

SPI to Ethernet Communication on Forlinx OK-MX9352-C Board: W5500 Driver Setup & Debug Guide

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

This article explains how to implement Ethernet communication using the W5500 SPI-to-Ethernet module on the Forlinx OK-MX9352-C development board. The W5500 is an SPI-based Ethernet controller that supports 100Mbps Ethernet and up to 80Mbps SPI data rates.

The content includes:

Hardware Connection: Pin mapping between W5500 and OK-MX9352-C (LPSPI3 and GPIO).

Kernel Configuration: Enabling WIZnet SPI Ethernet drivers in the kernel menuconfig.

Device Tree Settings: Adding W5500 configuration under the SPI3 node, including GPIO for chip-select, interrupt, and reset.

Driver Build and Deployment: Compiling w5100.ko and w5100-spi.ko, updating the device tree, and copying files to the board.

Driver Loading: Inserting modules and checking for a new network interface (eth2).

Network Test: Assigning IP address and verifying Ethernet communication with ping.

The article provides the necessary steps to enable and verify SPI-based Ethernet using the W5500 on this board.

Documents
Comments Write