Summary of Contents for Microchip Technology EVB-LAN9254-DIGIO
Page 1
EVB-LAN9254-DIGIO Evaluation Board User’s Guide 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B...
Page 2
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, Symmcom, and Trusted Time 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.
Development Systems Customer Change Notification Service • Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the EVB-LAN9254-DIGIO Evaluation Board as a ® development tool for the Microchip LAN9254 EtherCAT Slave Controller (ESC). The manual layout is as follows: •...
Choice of mutually exclusive errorlevel {0|1} character: { | } arguments; an OR selection Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 6...
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-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 7...
Section 1.2 “Features” DS50003032B Corrected a typo in the first bullet. (03-24-22) Appendix A. “Schematics” Updated the schematics diagrams. Table B-1 Appendix B. “Bill of Materi- Updated als” DS50003032A Initial release. (09-03-20) 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 8...
EVALUATION BOARD USER’S GUIDE Chapter 1. Overview INTRODUCTION The EVB-LAN9254-DIGIO Evaluation Board supports the evaluation of the LAN9254 ® 2/3-Port EtherCAT Slave Controller (ESC). The fully featured board has two 10/100 BASE-TX Full-Duplex and Auto MDIX-capable Ethernet ports with the capability to add a third Ethernet port using the MII interface.
Loss of Signal Signal Detect Small Form Factor (fiber module, not pluggable) Small Form Factor Pluggable (fiber module) Serial Protocol Interface Slave Stack Code TwinCAT EtherCAT Master/EtherCAT Runtime System Tool RJ45 Ethernet Port 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 11...
Page 12
EVB-LAN9254-DIGIO Evaluation Board User’s Guide NOTES: 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 12...
EVALUATION BOARD USER’S GUIDE Chapter 2. Getting Started INTRODUCTION This section describes the procedures for setting up and operating the EVB-LAN9254-DIGIO. The evaluation board requires the installation of TwinCAT, an ® ® EtherCAT Master from Beckhoff, on a Windows KIT CONTENTS The EVB-LAN9254-DIGIO Evaluation Board includes the equipment and cable neces- sary to set up the board.
2. Open TwinCAT XAE Shell from the Windows search bar with administrative rights as shown in Figure 2-1. Copy the Microchip EVB-LAN9254-DIGIO32_16In_16Out_InProgress.xml file in the C:\Twin- CAT\3.1\Config\Io\EtherCAT folder. FIGURE 2-1: TWINCAT XAE SHELL 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 14...
Page 15
(for demo use only),” then the network adapter is not fully supported by TwinCAT and some features such as real-time or cycle time measurements are not allowed. Please visit Beckhoff’s website to check the list of the sup- ported network adapters. 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 15...
Page 16
“Ethernet Settings” and open the Ethernet Settings window. See Figure 2-4. FIGURE 2-4: ETHERNET SETTINGS FROM SEARCH TOOLBAR 6. Select Change Adapter Options from the window. See Figure 2-5. FIGURE 2-5: ETHERNET PORT 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 16...
Page 17
2-6. FIGURE 2-6: ETHERNET PORT WITH TWINCAT-INTEL PCI ETHERNET ADAPTER 8. Right click on the Ethernet port interface and select Properties from the menu. Figure 2-7. FIGURE 2-7: ETHERNET PORT MENU 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 17...
Page 18
10. Go to TwinCAT XAE Shell and create a new project (go to File>New>Project). In the New Project window, select TwinCAT Projects and click OK. See Figure 2-9. FIGURE 2-9: TWINCAT XAE NEW PROJECT 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 18...
Page 19
2-10. FIGURE 2-10: TWINCAT – I/O SECTION 14. After scanning the device, the dialog box in Figure 2-11 may appear. Click OK in case it shows. FIGURE 2-11: SCANNING THE EVB 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 19...
Page 20
2-13. The Activate Free Run dialog box appears. FIGURE 2-13: SCAN FOR BOXES 17. Click Yes on the Activate Free Run dialog box. See Figure 2-14. FIGURE 2-14: ACTIVATE FREE RUN 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 20...
Page 21
Getting Started 18. In the Solution Explorer pane, find and click on “Device 2 (EtherCAT)”. The EVB-LAN9254-DIGIO tab will appear. Select and right click on Box1. Click on EEPROM Update and OK to load the new configuration into the EEPROM. See Figure 2-15.
Page 22
20. In the Solution Explorer pane, right click on Device 2 and select Remove. See Figure 2-17. FIGURE 2-17: REMOVE DEVICE 21. Scan the device. See Figure 2-18. FIGURE 2-18: SCAN THE DEVICE 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 22...
Page 23
23. On the right side of the screen, go to the Online tab and click the Write button. The Set Value dialog box appears. See Figure 2-20. FIGURE 2-20: WRITE OUTPUT 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 23...
Page 24
SW4 and move the upper five switches to PD position. You can observe that the Hex value is changed in the right window, Online tab. See Figure 2-22. FIGURE 2-22: INPUT 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 24...
The board uses a 25 MHz crystal for the LAN9254 device. 3.1.3 Ethernet Ports The EVB-LAN9254-DIGIO has two 100BASE-TX Ethernet ports for EtherCAT opera- tion (J20 = PORT0 IN and J21 = PORT1 OUT). 2020-2022 Microchip Technology Inc.and its subsidiaries...
EVB-LAN9254-DIGIO Evaluation Board User’s Guide 3.1.4 LED Indicators Table 3-1 describes the LED indicators on the EVB-LAN9254-DIGIO Evaluation Board. TABLE 3-1: EVB-LAN9254-DIGIO LED INDICATOR DESCRIPTIONS Ref Des. Label Description 3.3V supply voltage WD_STATE Watchdog state output for SyncManager RESET Resets the LAN9254 device D6 to D37 DIGIO0 –...
Page 27
EVB. A 25 MHz clock is output on this pin and is con- 25 MHz to OUTPUT nected to another EVB from this connector. 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 27...
Page 28
2-3, 5-6, 8-9, 11-12, Note 1 14-15, 17-18, 20-21, INOUT Sel DIGIO24-31 ( 23-24 Note 1: Selects input or output for the Digital I/O. Short the pins to select input. 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 28...
Hardware Configuration 3.1.7 Test Points Table 3-8 shows the test points available on the EVB-LAN9254-DIGIO Evaluation Board. TABLE 3-8: TEST POINTS Ref Des. Label Description TP1, TP2 Ground connections +3.3V supply to the board 5 to 12V +5V to +12V input supply to the board IRQ pin of the LAN9254 device ...
Page 30
EVB-LAN9254-DIGIO Evaluation Board User’s Guide NOTES: 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 30...
Page 34
FIGURE A-3: LAN9254 SCHEMATIC 1 VDD33TXRX1 Power VDDCR 220R Power Power Power 220R VDD12TX 0.1uF VDD33TXRX2 Power 220R 470pF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.1uF VDDCR Power 220R VDD33BIAS VDD12TX RESET 0.1uF VDD33TXRX2 0.1uF 0.1uF 0.1uF VDD33TXRX1 Power 2.2k...
Page 35
FIGURE A-4: LAN9254 SCHEMATIC 2 5-12V Ext PHY EVB Pwr Sel 2-3 = 5-12V 1-2 = 3.3V OE_EXT OE_EXT A1/ALELO/OE_EXT/MII_CLK25/EE_EMUL_SPI2 DIGIO10 PHY_PWR_OUT DIGIO10 A2/ALEHI/DIGIO10/GPI10/GPO10/LINKACTLED2/ EE_EMUL_ALELO_POL/MII_LINKPOL/LEDPOL2 DIGIO11 DIGIO11 A3/BE0/DIGIO11/GPI11/GPO11/MII_RXDV DIGIO12 DIGIO9 PORT2 MAC MII I/F These series resistors can be placed close to U4 DIGIO12 A4/BE1/DIGIO12/GPI12/GPO12/MII_RXD0 A0/D15/AD15/DIGIO9/GPI9/GPO9/MII_RXER...
Page 36
FIGURE A-5: EVB-LAN9254-DIGIO COPPER PORTS Port0 (IN) NOTE: Place 0Ohm and 49.9 ohm resistors near ASIC. VDD33TXRX1 10PF caps close to RJ45 Conn R105 R106 R107 R108 R109 49.9R 49.9R 49.9R 49.9R 0603 0603 0603 0603 0603 TXA_P TXA_P PORT0...
Page 37
FIGURE A-6: EVB-LAN9254-DIGIO DIGITAL IO Digital INPUTS Digital OUTPUTS R118 "DIGIO0" OUT_DIGIO0 SW4 - SW7 are in OFF for Pull-up DIGIO input Shunt 2.54mm 1x2 Handle Shunt 2.54mm 1x2 Handle 1-2 side short of J22-J25 = Input Mode (Default) R119 "DIGIO1"...
Page 38
FIGURE A-7: EVB-LAN9254-DIGIO LEDS AND STRAPPING STATUS "Red: Error" "Green: Run" 330R GREEN RED, GREEN EE_EMUL[2,1,0] ( J1[7 8 9, 4 5 6, 1 2 3]), 1-2 side close=1, 2-3 side close =0 000: SPI Indirect Mode 001: HBI Demultiplexed 16-bit EtherCAT Direct Mapped.
EVB-LAN9254-DIGIO EVALUATION BOARD USER’S GUIDE Appendix B. Bill of Materials INTRODUCTION This appendix shows the EVB-LAN9254-DIGIO Evaluation Board Bill of Materials. 2020-2022 Microchip Technology Inc.and its subsidiaries DS50003032B-page 39...
Page 40
TABLE B-1: EVB-LAN9254-DIGIO EVALUATION BOARD BILL OF MATERIALS Item Reference Description Populated Manufacturer Manufacturer Part Number C1, C5, C6, C7, C8, C24, C27, C28, CAP CER 0.1uF 16V 10% X7R SMD 0402 Murata GRM155R71C104KA88D C50, C52 C2, C3, C4 CAP CER 10uF 25V 10% X5R SMD 0805...
Page 41
TABLE B-1: EVB-LAN9254-DIGIO EVALUATION BOARD BILL OF MATERIALS (CONTINUED) Item Reference Description Populated Manufacturer Manufacturer Part Number J20, J21 CON MODULAR JACK RJ45 100 2xLEDS SHIELD TH R/A Pulse Electronics Network J0011D01BNL J22, J23, J24, J25 CON HDR 2.54 Male 3X8 Au 5.84MH TH VERT Samtec Inc.
Page 42
TABLE B-1: EVB-LAN9254-DIGIO EVALUATION BOARD BILL OF MATERIALS (CONTINUED) Item Reference Description Populated Manufacturer Manufacturer Part Number R51, R53, R54, R55, R57, R58, R59, R60, R61, R62, R63, R65, R66, R67, RES TKF 0R 1/16W SMD 0402 Yageo RC0402JR-070RL R68, R70, R71...
Page 43
NOTES: 2020-2022 Microchip Technology Inc. DS50003032B-page 43...
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 2020-2022 Microchip Technology Inc. and its subsidiaries DS50003032B-page 44 09/14/21...
Need help?
Do you have a question about the EVB-LAN9254-DIGIO and is the answer not in the manual?
Questions and answers