English
Language : 

EVB-LAN9252 Datasheet, PDF (34/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
5. To debug the PIC32 SoC, click “Debug Main Project” button.
FIGURE 3-8:
MPLAB IDE DEBUG DEVICE
3.4 PROGRAMMING THE LAN9252 EEPROM
The LAN9252 configures itself to the desired mode (SPI, 6 HBI modes) by reading the
strap settings located in EEPROM. The LAN9252 EEPROM is programmed and vali-
dated via the TwinCAT master tool. The EEPROM can also be programmed using an
external IIC Master, like AARDVARK.
3.4.1
Programming LAN9252 EEPROM using the TwinCAT Master
Tool
The programming procedure using the TwinCAT master tool is as follows:
Note 1: This example utilizes the TwinCAT tool. Procedures may differ when using
other EtherCAT® master tools.
2: Ensure the system network properties are configured properly for the Eth-
erCAT® frames, Ethernet cable linking your system, and EtherCAT® slave
board.
1. Load the corresponding ESI file in the directory path "C:\TwinCAT\Io\EtherCAT".
For this demo, the ESI file for the 16-Bit Multiplexed Single-Phase Mode is used.
2. If TwinCAT installed successfully, a TwinCAT icon will be shown in the bot-
tom-right corner of the desktop. After clicking the icon, a pop-up list will display.
Select “System Manager”, as shown in Figure 3-9.
FIGURE 3-9:
TWINCAT SYSTEM MANAGER
DS50002333A-page 34
 2015 Microchip Technology Inc.