

GitHub - maximeborges/pico-rmii-ethernet
source link: https://github.com/maximeborges/pico-rmii-ethernet
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

pico-rmii-ethernet
Enable 100Mbit/s Ethernet connectivity on your Raspberry Pi Pico with an RMII based Ethernet PHY module.
Leverages the Raspberry Pi RP2040 MCU's PIO, DMA, and dual core capabilities to create a Ethernet MAC stack in software!
Hardware
- Raspberry Pico
- Any RMII based Ethernet PHY module, such as the Waveshare LAN8720 ETH Board
Modification to do
We're generating the 50MHz RMII clock on the RP2040 instead of getting it from the LAN8720A crystal. For that, we remove the two R12 and R14 resistors, and connect one of them back on the two top pads instead to avoid connecting the onboard crystal to the clock, and instead connect the nINT/RETCLK pin from the connector to the XTAL1/CLKIN pin of the LAN8720A chip.
Wiring
RMII Module Raspberry Pi Pico Library Default
TX1 TX0 + 1 11
TX-EN TX0 + 2 12
TX0 any GPIO 10
RX0 any GPIO 6
RX1 RX0 + 1 7
nINT / RETCLK 21/23/24/25 21
CRS RX0 + 2 8
MDIO any GPIO 14
MDC MDIO + 1 15
VCC 3V3
GND GND
Examples
See examples folder. LWIP is included as the TCP/IP stack.
Current Limitations
- Built-in LWIP stack is compiled with
NO_SYS
so LWIP Netcon and Socket API's are not enabled - Auto-negotiation to 10BASE-T is not supported
- MDIO is bit-banged
Recommend
-
58
File:4 port netgear ethernet hub.jpg From Wikimedia Commons, the free media repository
-
53
当今许多工业自动化应用,都建立了严格的延迟要求,以确保实时数据传输能够满足应用需求。目前大部分自动化控制解决方案都是基于传统的以太网,然而为了实现实时通信,各大厂商还研发了一些附加的技术机制,使得很多协议都不兼...
-
41
Ethernet rules everything around us, a large proportion of our systems communicate to each other with ethernet somewhere in the line....
-
17
Sometimes one network interface isn’t enough. Network bonding allows multiple network connections to act together with a single logical interface. You might do this because you want more bandwidth than a single connection...
-
11
10GB Ethernet with Proxmox and Ryzentosh 3700X with macos Catalina Posted: 2020-11-18 - Last updated: 2020-11-20 Tagged...
-
42
How to add Ethernet to Raspberry Pi Pico Raspberry Pi Pico has a lot of interesting and unique features, but it doesn’t have networking. Of course this was only ever going to be a temporary inconvenience, and sure enoug...
-
9
以太网详解(一)-MAC/PHY/MII/RMII/GMII/RGMII基本介绍(转) ...
-
3
MII、GMII、RMII、RGMII、SGMII、XGMII
-
8
MAC/PHY(MII/RMII/GMII/RGMII)基本介绍 参考 1. 以太网详解(一)-MAC/PHY/MII/RMII/GMII/RGMII基本介绍...
-
5
SatCat5 Introduction SatCat5 is FPGA gateware that implements a low-power, mixed-media Ethernet switch. It also includes embedded software libraries to help microcontrollers interact with Ethernet networks. A SatCat5 switch is func...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK