EVB-LAN9252-SPI
2017 Microchip Technology Inc.
DS50002604A-page 15
2.2.2
Configure Slave Software
There are four ways to program the processor to act as an EtherCAT Slave Device. The
different methods have different degrees of development needed to get to a solution
ready for the next stage in the process.
• When using an existing EtherCAT Slave solution, refer to the LAN9252 Migration
guide for details on how to replace the existing ET1100 interface libraries with the
LAN9252 equivalent. All other code can remain the same.
• When using a processor with a LAN9252 SDK, the Slave Source Code (SSC) tool
from Beckhoff can be used to automatically generate EtherCAT Slave code. In the
SDK are template files that are used to speed the process along. Refer to the
LAN9252 product page for the latest SDKs in the software library section.
• The
EVB-LAN9252_HBIPLUS_SDK_V1.3
is an example of an SDK that has tem-
plate libraries to help with development.
• When using a processor that only has LAN9252 drivers, the Slave Source Code
tool can still be used. There will not be template files for faster development, and
the developer will need to manually add the LAN9252 driver files into the SSC and
develop the processor specific interface code to the necessary peripherals used.
- The
LAN9252_C2000_Drivers_V1.0
is an example of the drivers provided
for the LAN9252.
• When using a processor without any drivers, the developer will need to develop
both the LAN9252 SPI interface libraries as well as the processor specific inter-
face code to the peripherals used.
2.2.3
Configure System from EtherCAT Master
Once the Slave Source Code has been developed and programmed onto the proces-
sor, the LAN9252 can be connected to an EtherCAT Master. Use the ESI files and
EEPROM configuration settings to properly set up the LAN9252 for the desired digital
communication. Debug and test the Slave code in the full EtherCAT development envi-
ronment.
Summary of Contents for EVB-LAN9252-SPI
Page 1: ... 2017 Microchip Technology Inc DS50002604A EVB LAN9252 SPI Quick Start Guide ...
Page 4: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 4 2017 Microchip Technology Inc NOTES ...
Page 6: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 6 2017 Microchip Technology Inc NOTES ...
Page 12: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 12 2017 Microchip Technology Inc NOTES ...
Page 16: ...EVB LAN9252 SPI Quick Start Guide DS50002604A page 16 2017 Microchip Technology Inc NOTES ...
Page 21: ...EVB LAN9252 SPI Quick Start Guide 2017 Microchip Technology Inc DS50002604A page 21 NOTES ...