English
Language : 

EVB-LAN9252 Datasheet, PDF (28/55 Pages) Microchip Technology – EVB-LAN9252-HBI-SPI-SQI-GPIO EtherCAT® HBI/SPI+GPIO
EVB-LAN9252-HBI-SPI-SQI-GPIO
ETHERCAT® HBI/SPI+GPIO
USER’S GUIDE
Chapter 3. Software Development Kit
This chapter explains the architecture of the LAN9252 EtherCAT® slave stack firmware
sample and introduces the SDK framework for use with PIC32MX microcontroller for
EVB-LAN9252-HBI-SPI-SQI-GPIO development.
This chapter includes the following sub-sections:
• Prerequisites
• ESC SDK Sample Overview
• Using the Sample Project
• Programming the LAN9252 EEPROM
3.1 PREREQUISITES
3.1.1 Hardware Requirements
• EVB-LAN9252-HBI-SPI-SQI-GPIO
• Windows Host Machine with minimum 2GB RAM
• Programmers – Aardvark I2C/SPI Host Adapter, Pickit3 Programmer
3.1.2 Software Requirements
• MPLAB IDE v2.20 or higher
• MPLAB XC Compiler v1.33 or higher
• Total Phase Flash Centre V1.31 or higher
3.2 ESC SDK SAMPLE OVERVIEW
The LAN9252 ESC supports interfacing to an external SoC using an SPI or HBI inter-
face. This PIC32 based SDK sample contains separate projects for HBI and SPI inter-
faces.
This software SDK is developed as a bare-metal firmware implementation (not specific
to any OS) designed to access the LAN9252 ESC features via an HBI or SPI interface.
The EtherCAT® slave stack portion of the source is obtained from EtherCAT Technol-
ogy Group.
This software project has been tested with the EVB-LAN9252-HBI-SPI-SQI-GPIO
using the PIC32MX SoC.
Figure 3-1 provides an architectural block diagram of the SDK’s various source mod-
ules. The subsequent sections detail these blocks.
 2015 Microchip Technology Inc.
DS50002333A-page 28