Page 2
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
Page 3
Object of Declaration: EVB-LAN9252-HBI+ 2015-2016 Microchip Technology Inc. DS50002333C-page 3...
Page 6
Appendix A. Evaluation Board Photo A.1 Introduction ....................37 Appendix B. Evaluation Board Schematics B.1 Introduction ....................38 Appendix C. Bill of Materials (BOM) C.1 Introduction ....................49 Worldwide Sales and Service ..................54 2015-2016 Microchip Technology Inc. DS50002333C-page 6...
– This appendix shows the EVB-LAN9252-HBI+. • Appendix B. “Evaluation Board Schematics” – This appendix shows the EVB-LAN9252-HBI+ schematics. • Appendix C. “Bill of Materials (BOM)” – This appendix includes the EVB-LAN9252-HBI+ Bill of Materials (BOM). 2015-2016 Microchip Technology Inc. DS50002333C-page 7...
Curly brackets and pipe 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 { ... 2015-2016 Microchip Technology Inc. DS50002333C-page 8...
PICSTART Plus and PIC-kit 2 and 3. CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • Distributor or Representative • Local Sales Office • Field Application Engineer (FAE) • Technical Support 2015-2016 Microchip Technology Inc. DS50002333C-page 9...
Section 2.4.4 “DIGIO/HBI/ Added additional information on DIGIO mode. SPI+GPIO Selection” Table 2-13, Table 2-14, Simplified table and added note under each table for clarity. and Table 2-15 DS50002333A (02-27-15) Initial Release of Document 2015-2016 Microchip Technology Inc. DS50002333C-page 10...
HBI/SPI+GPIO Interface and corresponding jumper configurations. The LAN9252 is connected to an RJ45 Ethernet jack with integrated magnetics for 100BASE-TX connectivity. A simplified block diagram of the EVB-LAN9252-HBI+ is shown in Figure 1-1. 2015-2016 Microchip Technology Inc. DS50002333C-page 11...
Page 12
AARDVARK Selection HBI or SPI+GPIO Selection EEPROM Microchip LAN9252 Straps Crystal Port 0 Port 1 100BASE-TX 100BASE-TX Fiber- Fiber- Ethernet Ethernet Magnetics & Magnetics & Port 0 Port 1 RJ45 RJ45 Ethernet Ethernet 2015-2016 Microchip Technology Inc. DS50002333C-page 12...
GPIO pin [95(RG14)]. The SW10 switch is used for this selection, as shown in Table 2-1. TABLE 2-1: RESET CONFIGURATION SWITCH Switch Short Pins Knob Position Function SW10 System Reset (SYS_RESETN) (Default) SW10 GPIO Reset (RST_GPIO) 2015-2016 Microchip Technology Inc. DS50002333C-page 14...
The following sub-sections describe the various board features and configuration set- tings. A top view of the EVB-LAN9252-HBI+ is shown in Figure 2-1. Figure 2-2 details new features. FIGURE 2-1: EVB-LAN9252-HBI+ TOP VIEW WITH CALLOUTS 2015-2016 Microchip Technology Inc. DS50002333C-page 15...
The LAN9252 supports 100BASE-TX (Copper) and 100BASE-FX (Fiber) modes. In 100BASE-FX operation, the presence of the receive signal is indicated by the external transceiver as either an open-drain, CMOS level, Loss of Signal (SFP) or a LVPECL Signal Detect (SFF). 2015-2016 Microchip Technology Inc. DS50002333C-page 16...
Page 17
Additionally, the signal routing resistors detailed in Table 2-7 must be assembled for Fiber Mode operation. TABLE 2-7: FIBER MODE SIGNAL ROUTING RESISTORS Resistors Description R16, R18, R20, R22 Port 0 Fiber Mode enabled R30, R32, R34, R36 Port 1 Fiber mode enabled 2015-2016 Microchip Technology Inc. DS50002333C-page 17...
Flickering (on 50ms, off 50ms) The device is booting and has not yet entered the INITIALIZATION state, or the device is in the BOOTSTRAP state and firmware download is in progress. (Optional. Off when not implemented.) 2015-2016 Microchip Technology Inc. DS50002333C-page 18...
An appropriate PDI configuration must be set in the ESC configuration area of the EEPROM. TABLE 2-12: HBI/SPI+GPIO SWITCH CONFIGURATIONS Switch Description Settings SW11 to SW21 DIGIO/HBI Mode (Default) SW11 to SW21 Down SPI+GPIO Mode 2015-2016 Microchip Technology Inc. DS50002333C-page 19...
Page 20
Table 2-13 details the switch selection for Multiplexed Mode. TABLE 2-13: MULTIPLEXED HBI MODE SELECTION Switch Switch Knob Position Start Destination Down A0_AD15 A0_CONFIG3 RD_RDWR GPMC_DIR Down ALELO_A1 A1_CONFIG3 Down WR_ENB GPMC_DE0N_CLE Down ALEHI_A2 A2_CONFIG3 SW24 A0_CONFIG3 GPMC_A0_ALE SW25 A1_CONFIG3 GPMC_A1_ALEHI 2015-2016 Microchip Technology Inc. DS50002333C-page 20...
Page 21
When the switch knob is in the up position, pins 1-3 are shorted and no dot can be seen. 16-Bit Indexed Mode Figure 2-7 details the switch selection for 16-Bit Indexed Mode. FIGURE 2-7: 16-BIT INDEXED HBI MODE SELECTION 2015-2016 Microchip Technology Inc. DS50002333C-page 21...
Page 22
J11 and J12 are used as Aardvark/SPI/SQI headers. The respective pin details are shown in Table 2-17. TABLE 2-17: J11 & J12 HEADER PINOUT Signal Pin Number J11.1 J11.3 J11.7 SCS# J11.9 SI(SIO0) J11.8 SO(SIO1) J11.5 SIO2 J12.3 SIO3 J12.4 2015-2016 Microchip Technology Inc. DS50002333C-page 22...
Whenever an add-on board/SoC is used, the switch knob must be in the up position. TABLE 2-19: SOC SELECTION Switch Position Settings SW26 Down On-board PIC enabled SW26 Add-on board/SoC enabled 2015-2016 Microchip Technology Inc. DS50002333C-page 23...
Page 24
ID Selection PIC Pin 10k to Pull Pins to Short Signal Name Signal Number High for Pull Low ID0_SELECT_RB0 R123 32:31 ID_SELECT_RB1 R124 30:29 ID_SELECT_RB2 R125 28:27 ID_SELECT_RB3 R126 26:25 ID_SELECT_RB4 R127 24:23 2015-2016 Microchip Technology Inc. DS50002333C-page 24...
The EVB-LAN9252-HBI+ has the following limitations: 1. While the LAN9252 supports both SFP and SFF Fiber Modes, the EVB-LAN9252-HBI+ supports only the SFP Fiber Mode. 2. SQI is not supported when using the on-board PIC32MX. 2015-2016 Microchip Technology Inc. DS50002333C-page 27...
This software project has been tested with the EVB-LAN9252-HBI+ 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-2016 Microchip Technology Inc. DS50002333C-page 29...
This code block contains the low level layer that provides software hooks/APIs to the application module and slave stack, allowing communication between these modules and the hardware resources. For additional information, refer to the ReadMe.txt file located in the project source folder. 2015-2016 Microchip Technology Inc. DS50002333C-page 30...
2. Open the MPLAB IDE and import the SSC project into the IDE. FIGURE 3-2: MPLAB IDE OPEN PROJECT FIGURE 3-3: MPLAB IDE PROJECT DIRECTORY The target directory contains two project folders: • PIC32-HBI Project Folder • PIC32 Project Folder 2015-2016 Microchip Technology Inc. DS50002333C-page 31...
Page 32
SoC. • Refer to the LAN9252 data sheet for more details on these HBI interface and its modes. • Refer to Section 2.4.4 “DIGIO/HBI/SPI+GPIO Selection” for SPI jumper configura- tions. 2015-2016 Microchip Technology Inc. DS50002333C-page 32...
EVB’s JTAG pins. (This demo project is debugged with the PICkit-3 In-Circuit debugger/programmer). 4. To program the PIC32 SoC, click the “Make and Program Device Main Project” button. FIGURE 3-7: MPLAB IDE PROGRAM DEVICE 2015-2016 Microchip Technology Inc. DS50002333C-page 33...
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 “TwinCAT XAE (VS 2013)”, as shown in Figure 3-9. FIGURE 3-9: TWINCAT SYSTEM MANAGER 2015-2016 Microchip Technology Inc. DS50002333C-page 34...
Page 35
4. Scan for EtherCAT® slave devices by expanding “I/O” and right clicking “Devices” and then selecting “Scan”, as shown in Figure 3-11. FIGURE 3-11: TWINCAT SCAN DEVICES 5. After scanning is complete, a window showing devices found will appear similar to Figure 3-12. 2015-2016 Microchip Technology Inc. DS50002333C-page 35...
Page 36
LAN9252 listing and select “EEPROM Update” from the contextual menu. FIGURE 3-13: TWINCAT EEPROM UPDATE 8. Upon selecting “EEPROM Update”, the Write EEPROM window will open. Click the “OK” button to initiate EEPROM programming (Figure 3-14). FIGURE 3-14: TWINCAT WRITE EEPROM 2015-2016 Microchip Technology Inc. DS50002333C-page 36...
EVB-LAN9252-HBI+ ETHERCAT® EVALUATION BOARD USER’S GUIDE Appendix C. Bill of Materials (BOM) INTRODUCTION This appendix includes the EVB-LAN9252-HBI+ Evaluation Board Bill of Materials (BOM). 2015-2016 Microchip Technology Inc. DS50002333C-page 49...
Need help?
Do you have a question about the EVB-LAN9252-HBI+ and is the answer not in the manual?
Questions and answers