Overview
- Object ID : 4267 (2024-02-26 16:21:51)
- Author : ManAtWork
- Content : Code
- Microcontroller : Propeller 2
- Languages : PASM2, SPIN2
- Category : Protocol
- Licence : MIT
- Tags : Ethernet, MAC, PHY, RMII
Content
This is the driver for the Ethernet accessory board with LAN8720 PHY chip. It can send and receive raw Ethernet packets with 100Mbit/s full duplex without any bottlenecks. To achieve this it basically bit-bangs the RMII protocol (Reduced Media Independant Interface) directly to the PHY chip. The accessory board (see forum thread) also has a 24AA025E48 ROM for the MAC address and a 25MHz crystal on board.
Update 26-Feb-2024: timestamps added, SMI polled only if idle (fixes lost packets)