Summary of Contents for Microchip Technology EVB-LAN9253-ADD-ON
Page 1
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 2020 Microchip Technology Inc. DS50003052A...
Page 2
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before using the EVB-LAN9253-ADD-ON for Beckhoff EL9800. Items discussed in this chapter include: • Document Layout •...
Page 6
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Arial font: ® Italic characters Referenced books MPLAB IDE User’s Guide Emphasized text ...is the only compiler...
Page 7
MPLAB REAL ICE in-circuit emulator, MPLAB ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included ® are non-production development programmers such as PICSTART Plus and PICkit 2 and 3. 2020 Microchip Technology Inc. DS50003052A-page 7...
Page 8
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • Distributor or Representative • Local Sales Office • Field Application Engineer (FAE) • Technical Support Customers should contact their distributor, representative or field application engineer (FAE) for support.
RAM (DPRAM), four SyncManagers, three Fieldbus Memory Man- agement Units (FMMUs), and a 64-bit distributed clock. This document details the various sections of the EVB-LAN9253-ADD-ON, which is designed to be used as an add-on board (ESC board) with the Beckhoff EL9800 Eth- erCAT Evaluation Board.
EVB-LAN9253-ADD-ON FOR BECKHOFF EL9800 USER’S GUIDE Chapter 2. Board Details INTRODUCTION This chapter discusses the board details of the Microchip EVB-LAN9253-ADD-ON for Beckhoff EL9800. EVB-LAN9253-ADD-ON BOARD DETAILS Figure 2-1 shows view EVB-LAN9253-ADD-ON. ® EVB-LAN9253-ADD-ON connects to the Beckhoff EL9800 EtherCAT...
2.2.2 Power Power is supplied as +5V to the EVB-LAN9253-ADD-ON via the board-to-board con- nector. +3.3V is generated internally via an LDO. Assertion of the D2 green LED indi- cates +3.3V o/p. The LAN9253 includes an internal +1.2V regulator which supplies power to the internal core logic.
Pins 53-56 are NC. 2.2.4 Clock The EVB-LAN9253-ADD-ON for Beckhoff EL9800 requires a fixed-frequency 25 MHz clock source for the internal clock oscillator and PLL. This is typically provided by attaching a 25 MHz crystal to the OSCI and OSCO pins.
2. DIGIO (default configuration) The succeeding sections detail the hardware and software configurations required for the EVB-LAN9253-ADD-ON and the Beckhoff EL9800 for both PDI configuration options. Note: Pins 1 and 2 of J1201 must be shorted on the Beckhoff EL9800 board (under the PDI selection area).
2.2.11.1.1 SPI Mode The SPI Client module provides a low pin count synchronous client interface that facil- itates communication between the EVB-LAN9253-ADD-ON for Beckhoff EL9800 and a host system. The SPI/client allows access to the System CSRs, internal FIFOs, and registers.
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide TABLE 2-9: DIGIO MODE SWITCH CONFIGURATION Switch Short Pins Slide Position 3-3, 5-6 Down 2.2.11.2 EVB-LAN9253-ADD-ON SOFTWARE CONFIGURATION To configure the LAN9253 in SPI mode, the appropriate binary files (ESI files) must be programmed into the EVB-LAN9253-ADD-ON configuration EEPROM.
Page 19
Board Details FIGURE 2-3: PDI SELECTOR HEX SWITCH ON THE BECKHOFF EL9800 2020 Microchip Technology Inc. DS50003052A-page 19...
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide MECHANICALS FIGURE 2-4: EVB-LAN9253-ADD-ON MECHANICAL DIMENSIONS QUICK START Perform the following steps to quickly start using the board: 1. Connect the LAN9253 ADD-ON board to the Beckhoff EL9800 board using the Process Data Interface.
USER’S GUIDE Chapter 3. Getting Started with LAN9253-ADD-ON SDK INTRODUCTION This chapter details the software configuration for the EVB-LAN9253-ADD-ON. EVB-LAN9253-ADD-ON SOFTWARE CONFIGURATION To configure the LAN9253 in SPI mode, the appropriate binary files (ESI files) must be programmed into the EVB-LAN9253-ADD-ON configuration EEPROM.
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 3. Set PIC24-SPI as the main project by right clicking on the PIC24-SPI and select- ing Set as Main Project. See Figure 3-2. FIGURE 3-2: SETTING THE PIC24-SPI AS THE MAIN PROJECT 4. Click on the run icon from the toolbar to program the board. See Figure 3-3.
Page 23
3. In the New Project dialog box, select “Custom.” Click on Import to import the SSC Tool configuration file, Microchip-LAN9252_Add_On_EL9800Base- Board.xml, from directory path SDK_INSTALL_- PATH>LAN9253Add-On-PIC24_SDK_V0.1. See Figure 3-6. FIGURE 3-6: CUSTOM CONFIGURATION 2020 Microchip Technology Inc. DS50003052A-page 23...
Page 24
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 4. After importing the file into the SSC Tool, Microchip – SPI-GPIO | EL9800-Base-Board <Microchip> will appear in the “Custom” field. Click on OK. Figure 3-7. FIGURE 3-7: CUSTOM CONFIGURATION IMPORTED INTO SSC 5. All the listed slave settings can be customized based on requirement as shown Figure 3-8.
Page 25
7. In the Create New Slave Files dialog box, click on the Start button to create a new project file, Src folder, and ESI file (Slave Information file) in the desired directory path. See Figure 3-10. FIGURE 3-10: CREATE NEW SLAVE FILES DIALOG BOX 2020 Microchip Technology Inc. DS50003052A-page 25...
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 8. A dialog box with a prompt confirming that the files have been successfully cre- ated appears. Click on OK to continue. 9. Along with the newly generated files, an ESI file (SAM EtherCAT Slave.xml) will be generated.
Page 27
5. A dialog box for TwinCAT RT-Adapter installation appears on the screen. Select the network adapter from the list, and then click on the Install button to install the TwinCAT driver. See Figure 3-13. FIGURE 3-13: TWINCAT ADAPTER INSTALLATION 2020 Microchip Technology Inc. DS50003052A-page 27...
Page 28
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 6. Verify if the TwinCAT adapter was installed successfully by checking if it appears under Installed and ready-to-use devices within the dialog box. See Figure 3-14. FIGURE 3-14: READY TO USE DEVICES 7. Set up the selected Ethernet interface by opening Windows Settings from the Windows search bar.
Page 29
8. In Windows Settings, click on Network & Internet. See Figure 3-16. FIGURE 3-16: NETWORK & INTERNET SETTINGS 9. In Network & Internet, click on Network and Sharing Center under Status. See Figure 3-17. FIGURE 3-17: NETWORK AND SHARING CENTER 2020 Microchip Technology Inc. DS50003052A-page 29...
Page 30
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 10. In the Network and Sharing Center, click on Change adapter settings on the left side of the screen to open the Network Connections window. See Figure 3-18. FIGURE 3-18: ADAPTER SETTINGS 11. In the Network Connections window, right click on the Ethernet adapter. Select and click on Properties to open the Ethernet Properties dialog box.
Page 31
Getting Started with LAN9253-ADD-ON SDK 12. In the Ethernet Properties dialog box, enable the TwinCAT Ethernet Protocol and click on OK. Now the network adapter is ready for EtherCAT communication. See Figure 3-20. FIGURE 3-20: ETHERNET PROPERTIES 2020 Microchip Technology Inc. DS50003052A-page 31...
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 3.2.1.3 SCANNING ETHERCAT DEVICES To scan EtherCAT devices, perform the following steps: 1. Connect the Port 0 of the device to the host using a RJ45 Ethernet cable, and power up the board. The Link/Act LED should be switched on at Port 0 when the cable is present.
Page 33
7. Click on Yes on the Scan for devices prompt, and click on Yes to Activate Free Run. 8. After a successful scan, there will be activity on Link/Act LED at Port 0. 2020 Microchip Technology Inc. DS50003052A-page 33...
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 3.2.2 EEPROM Programming Perform the following steps for EEPROM programming: 1. After the previous scan, click on the “Device 2 (EtherCAT)” drop-down bar on the left panel of the TwinCAT tool. Next, click on the Online tab on the right-side panel of the TwinCAT tool.
Page 35
ONLINE WRITE 4. The Set Value dialog box appears. Write 1 to turn on the LEDs and 0 to turn off. Click on OK. See Figure 3-27. FIGURE 3-27: SET VALUE DIALOG BOX 2020 Microchip Technology Inc. DS50003052A-page 35...
Page 36
EVB-LAN9253-ADD-ON for Beckhoff EL9800 User’s Guide 5. The TwinCAT Manager shows 1 written from LED 1 to LED 4. The corresponding LEDs should be on the Beckhoff EL9800 base board. See Figure 3-28. FIGURE 3-28: SWITCH OUTPUT DS50003052A-page 36 2020 Microchip Technology Inc.
EVB-LAN9253-ADD-ON FOR BECKHOFF EL9800 USER’S GUIDE Appendix A. Schematics INTRODUCTION This appendix shows the EVB-LAN9253-ADD-ON for Beckhoff EL9800 schematic. 2020 Microchip Technology Inc. DS50003052A-page 37...
EVB-LAN9253-ADD-ON FOR BECKHOFF EL9800 USER’S GUIDE Appendix B. Bill of Materials INTRODUCTION This appendix contains the EVB-LAN9253-ADD-ON for Beckhoff EL9800 Bill of Materials (BOM). 2020 Microchip Technology Inc. DS50003052A-page 41...
Page 42
TABLE B-1: EVB-LAN9253-ADD-ON FOR BECKHOFF EL9800 BILL OF MATERIALS Item Quantity Designator Description Populated Manufacturer Manufacturer Part Number C2, C4, C5, C7, C8, C9, C10, C11, C12, C15, C16, CAP CER 0.1 µF 50V 10% X7R SMD 0402 Taiyo Yuden...
Page 43
TABLE B-1: EVB-LAN9253-ADD-ON FOR BECKHOFF EL9800 BILL OF MATERIALS (CONTINUED) Item Quantity Designator Description Populated Manufacturer Manufacturer Part Number C23, C24, C25, C26, C28, CAP CER 10 pF 50V 5% NP0 SMD 0402 AVX Corporation 04025A100JAT2A C29, C30, C31 CAP CER 0.1 µF 50V 10% X7R SMD 0402...
Page 44
New York, NY Tel: 46-31-704-60-40 Tel: 631-435-6000 Sweden - Stockholm San Jose, CA Tel: 46-8-5090-4654 Tel: 408-735-9110 UK - Wokingham Tel: 408-436-4270 Tel: 44-118-921-5800 Canada - Toronto Fax: 44-118-921-5820 Tel: 905-695-1980 Fax: 905-695-2078 DS50003052A-page 44 2020 Microchip Technology Inc. 02/28/20...
Need help?
Do you have a question about the EVB-LAN9253-ADD-ON and is the answer not in the manual?
Questions and answers