2023 Microchip Technology Inc. and its subsidiaries DS00004964A-page 1
1.0 INTRODUCTION
The LAN865x is a high-performance 10BASE-T1S MAC-PHY Ethernet Controller with SPI that is targeted for
10 Mbit/s half-duplex networking over a single pair of conductors.
This document guides you in creating a sample TCP/IP Client node (bare-metal or FreeRTOS™ based), using the
LAN865x MAC-PHY. It describes how to configure the MAC-PHY in either Physical Layer Collision Avoidance (PLCA)
or Carrier-Sense Multiple Access/Collision Detection (CSMA/CD) mode.
The description in this document is based on an ATSAME54P20A running on a SAM E54 Curiosity Ultra Development
Board [4]. However, it can also be applied to other infrastructures; for example, to an ATSAME70Q21B running on a
SAM E70 Xplained Ultra Evaluation Kit [5].
1.1 Audience
This document is written for developers who want to create a sample TCP/IP Client node, using the LAN865x
MAC-PHY. Developers should be familiar with the infrastructure of MPLAB
® X IDE and its plug-ins [1].
1.2 Prerequisites
The following software components are required for getting started and to configure the example described in this doc-
ument:
• MPLAB X IDE
https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide
• MPLAB XC32
https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers
• MPLAB Code Configurator (MCC)
https://www.microchip.com/en-us/tools-resources/configure/mplab-code-configurator
1.3 References
The following sources should be referenced when using this application note.
[1] MPLAB Code Configurator
https://www.microchip.com/en-us/tools-resources/configure/mplab-code-configurator
[2] MPLAB Code Configurator Getting Started
https://microchipdeveloper.com/mcc:start
[3] MPLAB XC Compiler Documentation
https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/downloads-documentation#XC32
[4] SAM E54 Curiosity Ultra Development Board
https://www.microchip.com/Developmenttools/ProductDetails/DM320210
[5] SAM E70 Xplained Ultra Evaluation Kit
https://www.microchip.com/Developmenttools/ProductDetails/DM320113
AN4964
MPLAB® Harmony v3 LAN865x Driver Example