pic32 ethernet starter kit ii user’s guidepic32 ethernet starter kit ii user’s guide © 2014...

30
© 2014 Microchip Technology Inc. DS70005169A PIC32 Ethernet Starter Kit II User’s Guide

Upload: others

Post on 18-Jun-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

© 2014 Microchip Technology Inc. DS70005169A

PIC32 Ethernet Starter Kit IIUser’s Guide

Page 2: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

DS70005169A-page 2 © 2014 Microchip Technology Inc.

Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights.

Note the following details of the code protection feature on Microchip devices:• Microchip products meet the specification contained in their particular Microchip Data Sheet.

• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.

• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

• Microchip is willing to work with the customer who is concerned about the integrity of their code.

• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.

QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV

== ISO/TS 16949 ==

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.

Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.

Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-Scale are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.

All other trademarks mentioned herein are property of their respective companies.

© 2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Printed on recycled paper.

ISBN: 978-1-62077-899-9

Page 3: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTERKIT II USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 5Chapter 1. Introduction

1.1 Kit Contents .................................................................................................. 111.2 PIC32 Ethernet Starter Kit II Functionality and Features ............................. 12

Chapter 2. Hardware2.1 Hardware Features ....................................................................................... 15

Appendix A. SchematicsA.1 PIC32 Ethernet Starter Kit II Block Diagram ................................................ 17A.2 PIC32 Ethernet Starter Kit II Board Schematics .......................................... 18

Appendix B. Bill of Materials (BOM)B.1 PIC32 Ethernet Starter Kit II Bill of Materials ............................................... 25B.2 LAN8740 PHY Daughter Board Bill of Materials .......................................... 27

Worldwide Sales and Service .................................................................................... 30

© 2014 Microchip Technology Inc. DS70005169A-page 3

Page 4: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

NOTES:

DS70005169A-page 4 © 2014 Microchip Technology Inc.

Page 5: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTER

KIT II USER’S GUIDE

Preface

INTRODUCTIONThis chapter contains general information that will be useful to know before using the PIC32 Ethernet Starter Kit II. Items discussed in this chapter include:• Document Layout• Conventions Used in this Guide• Recommended Reading• The Microchip Web Site• Development Systems Customer Change Notification Service• Customer Support• Document Revision History

DOCUMENT LAYOUTThis document describes how to use the PIC32 Ethernet Starter Kit II (all also referred to as “starter kit”) as a development tool to emulate and debug firmware on a target board. This user’s guide is composed of the following chapters:• Chapter 1. “Introduction” provides a brief overview of the starter kit, highlighting

its features and uses.• Chapter 2. “Hardware” provides the hardware descriptions of the starter kit.• Appendix A. “Schematics” provides a block diagram and detailed schematics of

the starter kit.• Appendix B. “Bill of Materials (BOM)” provides the bill of materials for the

starter kit

NOTICE TO CUSTOMERS

All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available.

Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level of the document.

For the most up-to-date information on development tools, see the MPLAB® X IDE online help. Select the Help menu, and then Topics to open a list of available online help files.

© 2014 Microchip Technology Inc. DS70005169A-page 5

Page 6: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

CONVENTIONS USED IN THIS GUIDEThis manual uses the following documentation conventions:

DOCUMENTATION CONVENTIONSDescription Represents Examples

Italic characters Referenced books MPLAB IDE User’s Guide

Emphasized text ...is the only compiler...

Initial caps A window the Output window

A dialog the Settings dialog

A menu selection select Enable Programmer

Quotes A field name in a window or dialog

“Save project before build”

Underlined, italic text with right angle bracket

A menu path File > Save

Bold characters A dialog button Click OKA tab Click the Power tab

Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>

Plain Courier New Sample source code #define START

Filenames autoexec.bat

File paths c:\mcc18\h

Keywords _asm, _endasm, static

Command-line options -Opa+, -Opa-

Bit values 0, 1

Constants 0xFF, ‘A’

Italic Courier New A variable argument file.o, where file can be any valid filename

Square brackets [ ] Optional arguments mcc18 [options] file [options]

Curly brackets and pipe character: { | }

Choice of mutually exclusive arguments; an OR selection

errorlevel {0|1}

Ellipses... Replaces repeated text var_name [, var_name...]

Represents code supplied by user

void main (void){ ...}

Notes A Note presents information that we want to re-emphasize, either to help you avoid a common pitfall or to make you aware of operating differences between some device family members. A Note can be in a box, or when used in a table or figure, it is located at the bottom of the table or figure. Note 1: This is a note used in a

table.

Note: This is a standard note box.

CAUTION

This is a caution note.

DS70005169A-page 6 © 2014 Microchip Technology Inc.

Page 7: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Preface

RECOMMENDED READINGThis user’s guide describes how to use the starter kit. The following Microchip documents are available and recommended as supplemental reference resources.

PIC32MX5XX/6XX/7XX Family Data Sheet (DS60001156)Refer to this document for detailed information on PIC32 devices. Reference information found in this data sheet includes:• Device memory maps• Device pinout and packaging details• Device electrical specifications• List of peripherals included on the devices

MPLAB® X IDE User’s Guide (DS50002027)Refer to this document for more information pertaining to the installation and implementation of the MPLAB X IDE software, as well as the MPLAB SIM Simulator software that is included with it.

Universal Serial Bus Specification and Associated DocumentsThe Universal Serial Bus is defined by the USB 2.0 specification and its associated supplements and class-specific documents. These documents are available from the USB Implementers Forum. See their web site at: http://www.usb.org

THE MICROCHIP WEB SITEMicrochip provides online support via our web site at: http://www.microchip.com. This web site makes files and information easily available to customers. Accessible by most Internet browsers, the web site contains the following information:• Product Support – Data sheets and errata, application notes and sample

programs, design resources, user’s guides and hardware support documents, latest software releases and archived software

• General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listings

• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listings of seminars and events; and listings of Microchip sales offices, distributors and factory representatives

© 2014 Microchip Technology Inc. DS70005169A-page 7

Page 8: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICEMicrochip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions.The Development Systems product group categories are:• Compilers – The latest information on Microchip C compilers and other language

tools• Emulators – The latest information on the Microchip in-circuit emulator, MPLAB

REAL ICE™• In-Circuit Debuggers – The latest information on the Microchip in-circuit

debugger, MPLAB ICD 3• MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the

Windows® Integrated Development Environment for development systems tools• Programmers – The latest information on Microchip programmers including the

PICkit™ 3 development programmer

CUSTOMER SUPPORTUsers of Microchip products can receive assistance through several channels:• Distributor or Representative• Local Sales Office• Field Application Engineer (FAE)• Technical SupportCustomers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document.Technical support is available through the web site at: http://support.microchip.com

DS70005169A-page 8 © 2014 Microchip Technology Inc.

Page 9: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Preface

DOCUMENT REVISION HISTORY

Revision A (February 2014)This is the initial release of this document.

© 2014 Microchip Technology Inc. DS70005169A-page 9

Page 10: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

NOTES:

DS70005169A-page 10 © 2014 Microchip Technology Inc.

Page 11: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTER

KIT II USER’S GUIDE

Chapter 1. Introduction

Thank you for purchasing a Microchip Technology PIC32 Ethernet Starter Kit II. This board provides a low-cost, modular development system for Microchip’s line of 32-bit microcontrollers. The starter kit comes preloaded with demonstration software for the user to explore the new features of the PIC32. It is also expandable through a modular expansion inter-face, which allows the user to extend its functionality. The starter kit also supplies on-board circuitry for full debug and programming capabilities.This chapter covers the following topics:• Kit Contents• PIC32 Ethernet Starter Kit II Functionality and FeaturesThe preprogrammed example code on the PIC32 MCU is available via download from the Microchip web site at http://www.microchip.com. All project files have been included so that the code may be used directly to restore the PIC32 MCU on the starter kit to its original state (i.e., if the sample device has been reprogrammed with another program) or so you can use the tutorial code as a platform for further experimentation.

1.1 KIT CONTENTSThe PIC32 Ethernet Starter Kit II contains the following items:• PIC32 Ethernet Starter Kit II Development Board• LAN8740 PHY Daughter Board• USB mini-B to full-sized A cable – USB debug cable to debug and power the

board• USB micro-B to full-sized A cable – PIC32 USB cable to communicate with the

PIC32 USB port• RJ-45 CAT5 Ethernet patch cable – Ethernet CAT5 cable to communicate with the

PIC32 Ethernet port

Note: If you are missing any part of a kit, contact a Microchip sales office for assistance. A list of Microchip offices for sales and service is provided on the back page of this document.

© 2014 Microchip Technology Inc. DS70005169A-page 11

Page 12: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

1.2 PIC32 ETHERNET STARTER KIT II FUNCTIONALITY AND FEATURES

1.2.1 Development BoardRepresentations of the layout of the development board in the PIC32 Ethernet Starter Kit II are shown in Figure 1-1 and Figure 1-2. The top assembly of the board includes these key features, as indicated in Figure 1-1: 1. PIC32MX795F512L 32-bit microcontroller (U2).2. Green power indicator LED (D4).3. On-board crystal for precision microcontroller clocking (8 MHz) (Y1).4. USB connectivity for on-board debugger communications (J7).5. Debug indicator LED (D7).6. Three push button switches for user-defined inputs (SW1, SW2, SW3).7. Three user-defined indicator LEDs (D1, D2, D3).8. USB Type A receptacle connectivity for PIC32 host-based applications (J4).9. HOST mode power jumper (J5).10. LAN8740 PHY Daughter Board headers (J2)11. 50 MHz Ethernet PHY oscillator (Y3).12. 32 kHz oscillator (optional) (Y2).13. USB Host and OTG power supply for powering PIC32 USB applications (U4).

For details on these features, refer to Chapter 2. “Hardware”.

FIGURE 1-1: PIC32 ETHERNET STARTER KIT II LAYOUT (TOP VIEW)

Note: When running self-powered USB device applications, open the jumper JP2 to prevent possibly back-feeding voltage onto the VBUS from one port on the host to another (or from one host to another).

4

5

9

7

7

7

13

10

2

8

6

6

611

12

10

13

DS70005169A-page 12 © 2014 Microchip Technology Inc.

Page 13: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Introduction

The bottom assembly of the board includes these key features, as indicated in Figure 1-2: 1. Regulated +3.3V power supply for powering the starter kit via USB or expansion

board (u8).2. Connector for various expansion boards (J1).3. USB Type micro-AB receptacle for OTG and USB device connectivity for PIC32

OTG/device-based applications (j3).4. PIC24FJ256GB106 USB microcontroller for on-board debugging (U6).

FIGURE 1-2: PIC32 ETHERNET STARTER KIT II LAYOUT (BOTTOM VIEW)

3

1

4

2

© 2014 Microchip Technology Inc. DS70005169A-page 13

Page 14: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

1.2.2 LAN8740 PHY Daughter BoardRepresentation of the layout of the daughter board in the PIC32 Ethernet Starter Kit II is shown in Figure 1-3 and Figure 1-4.

FIGURE 1-3: DAUGHTER BOARD LAYOUT (TOP VIEW)

FIGURE 1-4: DAUGHTER BOARD LAYOUT (BOTTOM VIEW)

DS70005169A-page 14 © 2014 Microchip Technology Inc.

Page 15: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTER

KIT II USER’S GUIDE

Chapter 2. Hardware

This chapter describes the hardware features of the PIC32 Ethernet Starter Kit II.

2.1 HARDWARE FEATURESThe key features of the PIC32 Ethernet Starter Kit II are provided in the following sec-tions. They are presented in the order given in Section 1.2 “PIC32 Ethernet Starter Kit II Functionality and Features”. You can refer to Figure 1-1 and Figure 1-2 for their locations on the board.

2.1.1 Processor SupportThe PIC32 Ethernet Starter Kit II is designed with a permanently mounted (i.e., soldered) PIC32MX795F512L processor.

2.1.2 Power SupplyThere are two ways to supply power to the PIC32 Ethernet Starter Kit II:

• USB bus power connected to USB debug connector, J7.• An external application board with a regulated DC power supply that provides +5V

can be connected to the J1 application board connector that is provided on the bottom side of the board.

One green LED (D4) is provided to show that the PIC32 microcontroller is powered up.

2.1.3 Debug USB ConnectivityThe PIC32 Ethernet Starter Kit II includes a PIC24FJ256GB106 USB microcontroller that provides debugger connectivity over USB. This device is hard-wired to the PIC32 device to provide protocol translation through the I/O pins of the PIC24FJ256GB106 to the ICSP™ pins of the PIC32 device.

2.1.4 PIC32 USB ConnectivityThere are three possible ways to connect to the PIC32 USB microcontroller:• HOST Mode – Connect the device to the Type A connector J4, located on the top

side of the starter kit. If using the Debug USB port to power the Host port, install jumper J5 to short the back-power prevention diode. Note that a maximum of ~400 mA can be supplied from the Debug USB port to the Host port using this method. If the full 500 mA supply is needed, an external supply must be connected to the application board and jumper J5 must be removed to prevent back-powering the Debug USB port.

© 2014 Microchip Technology Inc. DS70005169A-page 15

Page 16: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

• DEVICE Mode – Connect the debug mini-B USB cable to port J7 and then con-nect the starter kit to the host using a cable with a Type-B micro-plug to the starter kit’s micro-A/B port J3, located on the bottom side of the starter kit. The other end of the cable must have a Type-A plug. Connect it to a USB host. Jumper J5 should be removed.

• OTG Mode – Connect the starter kit to the OTG device using an OTG micro-A/B cable to the micro-A/B port J3, located on the bottom side of the starter kit. The starter kit provides an on-board power supply capable of providing 120 mA Max. This supply is controlled by the PIC32MX795F512L microcontroller. Jumper J5 should be removed.

2.1.5 SwitchesPush button switches provide the following functionality:• SW1: Active-low switch connected to RD6• SW2: Active-low switch connected to RD7• SW3: Active-low switch connected to RD13The switches do not have any debounce circuitry and require the use of internal pull-up resistors; this allows you to investigate software debounce techniques. When Idle, the switches are pulled high (+3.3V). When pressed, they are grounded.

2.1.6 LEDsThe RD0 through RD2 LEDs are connected to PORTD of the processor. The PORTD pins are set high to light the LEDs.

2.1.7 Oscillator OptionsThe installed microcontroller has an oscillator circuit connected to it. The main oscillator uses an 8 MHz crystal (Y1) and functions as the controller’s primary oscillator. Use of an external crystal is required to develop USB applications. The USB specification dictates a frequency tolerance of ±0.25% for full speed. Non-USB applications can use the internal oscillators. The starter kit also has provisions for an external secondary 32 kHz oscillator (Y2); however, this is not populated. A suitable oscillator, ECS-3X8, can be obtained from Digi-Key: Part no. X801-ND CMR200TB32.768KDZFTR.

2.1.8 120-Pin Modular Expansion ConnectorThe PIC32 Ethernet Starter Kit II has been designed with a 120-pin modular expansion interface, which allows the board to provide basic generic functionality now, and easy extendability to new technologies as they become available.

2.1.9 Ethernet PHYThe Microchip LAN8740 PHY Daughter Board is populated with a low-power, small-footprint, 10/100 Fast Ethernet LAN8740 PHY, which features Energy Efficient Ethernet (IEEE 802.3az) and Wake-on-LAN functionality. This daughter board is designed for easy development of RMII Ethernet control applications when it is connected into a compatible PIC32 starter kit.

TABLE 2-1: STARTER KIT CONNECTOR PART NUMBERSConnector HIROSE Electric PN

Starter Kit Connector FX10A-120P/12-SV1(71)Application Board Connector FX10A-120S/12-SV(71)

DS70005169A-page 16 © 2014 Microchip Technology Inc.

Page 17: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTER

KIT II USER’S GUIDE

Appendix A. Schematics

A.1 PIC32 ETHERNET STARTER KIT II BLOCK DIAGRAM

FIGURE A-1: HIGH-LEVEL BLOCK DIAGRAM OF THE PIC32 ETHERNET STARTER KIT II

PIC32MX795F512L

(PIC24FJ256GB106)

ICSP™JTAG

VUSB(1) or+5V_EXT

Debug USB

App

licat

ion

Boa

rd C

onne

ctor

Switches

LEDs

+5V EXT

USB OTG

USB Host

Device/OTG(Type micro-A/B)

Host(Type A)

Note 1: From Debugger USB Port.

+3.3VPowerSupply

EthernetPHY

10/100 Jack

Debugger Circuit

Power Circuit

DaughterBoard

© 2014 Microchip Technology Inc. DS70005169A-page 17

Page 18: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

A.2 PIC32 ETHERNET STARTER KIT II BOARD SCHEMATICSFIGURE A-2: PIC32MX795F512L CONFIGURATION

GND

P32_VDD

P32_VDD

ICSP_MCLR_VPP_TARGET

PIC32MX795F512L-80I/PT

VDD46

PMPA1/RB1443

RF1240

VDD37

AVSS31

VREF-/PMA7/RA928

PGEC1/RB124

RE818

VSS15

RC49

RC16

RF2 52

VUSB 55

SCL2/RA2 58

TDO/RA5 61

OSCO/RC15 64

RA15 67

RD2 77

PMD13/RD13 80

PMD14/RD6 83

VDD 86

PMD9/RG1 89

RA7 92

RG14 95

RD1548

VSS45

PMPA0/RB1544

PMPA10/RB1342

VSS36

TCK/RA138

RF1339

AVDD30

RB832

RB933

PGED1/RB025

PGEC2/RB626

PGED2/RB727

RB322

RE919

RB223

VDD16

MCLR13

TMS/RA017

RC27

RC38

RG151

VDD2

USBID/RF3 51

RF8 53

D+/RG2 57

D-/RG3 56

SDA2/RA3 59

OSCIN/RC12 63

VDD 62

VSS 65

RD9 69

RTCC/RD8 68

PMA14/RD11 71

VSS 75

RD1 76

PMRD/RD5 82

RD4 81

RD3 78

PMD12/RD12 79

PMD10/RF1 88

PMD11/RF0 87

PMD15/RD7 84

VCAP 85

PMD8/RG0 90

RA6 91

RG12 96

RG13 97

RD1447

PMPA12/RB1135

PMPA11//RB1241

VREF+/PMA6/RA1029

VBUS 54

TDI/RA4 60

RA14 66

INT0/RD0 72

RD10 70

SOSCI/RC13 73

PMD2/RE2 98

SOSCO/RC14 74

PMD1/RE1 94

PMD0/RE0 93

PMD4/RE4 100

PMD3/RE3 99

PMPA9/RF449

CVREF/PMPA13/RB1034

RB421

PMPA3/RG812

PMD5/RE53

PMPA8/RF550

RB520

PMPA2/RG914

PMA5/RG610

PMPA4/RG711

PMPD6/RE64

PMPD7/RE75

U2

ERXERR

ECRS_DV

EREF_CLK

PMPA4/SCM2A/CN9/RG7

PMPA5/SCM2C/CN8/RG6

PMPD5/RE5

PMPD6/RE6

PMPD7/RE7

SDI1/T5CLK/RC4

T2CLK/RC1

T3CLK/RC2

T4CLK/RC3

C2IN-/AN2/CN4/RB2

C2IN+/AN3/CN5/RB3

ERXD0

ERXD1

PGC1/AN1/CN3/RB1

PGD1/AN0/CN2/RB0

TMS/RA0

USBOEN/C1IN-/AN4/CN6/RB4

VBUSON/C1IN+/AN5/CN7/RB5

PGC2

PGD2

PMPA6/VREF+/RA10

PMPA7/VREF-/RA9

C1OUT/AN8/RB8

C2OUT/AN9/RB9

PMPA12/AN11/RB11

PMPA13/CVREF/AN10

PMPA0/AN15/OCFB/CN12

PMPA1/AN14/RB14

PMPA10/AN13/RB13

PMPA11/AN12/RB12

SCM3C/RF12

SCM3D/BCLK2/RF13

TCK/RA1

ETXD1

ETXD0

PMPA8/SCM3B/CN18/RF5

PMPA9/SCM3A/CN17/RF4

SCL2/RA2

SCM1A/RF2

SCM1B/RF8

SDA2/RA3

TDI/RA4

TDO/RA5

USBID/RF3

EMDC

EMDIO

ETXEN

INT3/SCL1/RA14

SCK1/IC3/PMPCS2/RD10

SDO1/INT0/OC1/RD0

SOSC1/CN1/RC13

SOSCO/T1CK/CN0/RC14

SS1/IC2/RD9

CN19/PMPD13/RD13

IC5/PMPD12/RD12

OC2/RD1

OC3/RD2

OC4/RD3

PMPD14/CN15/RD6

PMPD15/CN16/RD7

PMPRD/CN14/RD5

PMPWR/OC5/C13/RD4

PMPD0/RE0

PMPD1/RE1

PMPD10/RF1

PMPD11/RF0

PMPD2/RE2

PMPD3/RE3

PMPD4/RE4

PMPD8/RG0

PMPD9/RG1

TRCLK/RA6

TRD0/RG13

TRD1/RG12

TRD2/RG14

TRD3/RA7

0.1uFC1

4.7KR1

GND

P32_VDD

0.1uF

C2

GND

P32_VDD

0.1uFC5

GND

P32_VDD

0.1uF

C7

GND

P32_VDD

0.1uF

C10

P32_VDD

GND

0.1uFC9

18pFC6

18pF

C8 GND

GND

GND

16V10uF

C4

P32_VDD

GND

0.1uFC3

VBUS

D+

D-

32.768kHzY2 DNP

12pF

C44

12pF

C43GND

13

2

4

8MHz

Y1

ABM3B

32.768kHzY2 DNP

12pF

C44

12pF

C43GND

DNP

D_N

D_P

33R ±1%

R5

33R ±1%

R6

33R ±1%

R7

DS70005169A-page 18 © 2014 Microchip Technology Inc.

Page 19: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Schematics

FIGURE A-3: SWITCHES AND LEDS

GNDUSER LED'S

USER'S SWITCH

330R

R20

330R

R21

330R

R24

Red

D1

Yellow

D2

Green

D3

330RR19

GreenD4

GND

P32_VDD

S1

S2

S3CN19/PMPD13/RD13

OC2/RD1

OC3/RD2

PMPD14/CN15/RD6

PMPD15/CN16/RD7

SDO1/INT0/OC1/RD0

PWR LED

USER'S SWITCH

S1

S2

S3CN19/PMPD13/RD13

PMPD14/CN15/RD6

PMPD15/CN16/RD7

GNDUSER LED'S

330R

R20

330R

R21

330R

R24

Red

D1

Yellow

D2

Green

D3OC2/RD1

OC3/RD2

SDO1/INT0/OC1/RD0

330RR19

GreenD4

GND

P32_VDD_

PWR LED

GND

© 2014 Microchip Technology Inc. DS70005169A-page 19

Page 20: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

FIGURE A-4: EXPANSION BOARD CONNECTOR

+5V_EXT

+5V_EXT

+5V_EXT

P32_VDD

P32_VDD

PMP DATA [7:0]

PMP CONTROL

(5) TIMERS

COMP 2

SPI1

PMP ADDRESS

COMP 1

SPI2

UART2

A/D REF

JTAG/GPIO

ICSP

I2C2

(5CH) A/D

(5) OC/PWM

TRACE/GPIO

DEBUG SMBUS

COMPARARTOR REF

SECONDARY OSC

PMP DATA [15:8]

C2IN-/AN2/CN4/RB2

C2IN+/AN3/CN5/RB3

CN19/PMPD13/RD13

IC5/PMPD12/RD12

IC5/PMPD12/RD12

OC2/RD1

OC3/RD2

OC4/RD3

PGC1/AN1/CN3/RB1

PGD1/AN0/CN2/RB0

PGC2

PGD2

PMPA0/AN15/OCFB/CN12

PMPA13/CVREF/AN10

PMPA6/VREF+/RA10

PMPA7/VREF-/RA9

PMPA8/SCM3B/CN18/RF5

PMPA9/SCM3A/CN17/RF4

PMPD10/RF1

PMPD11/RF0

PMPD14/CN15/RD6

PMPD15/CN16/RD7

PMPD8/RG0

PMPD9/RG1

PMPWR/OC5/C13/RD4

PMPWR/OC5/C13/RD4

SCK1/IC3/PMPCS2/RD10

SCL2/RA2

SCM1A/RF2

SCM1B/RF8

SCM3C/RF12

SCM3D/BCLK2/RF13

SDA2/RA3

SDO1/INT0/OC1/RD0

SOSC1/CN1/RC13

SOSCO/T1CK/CN0/RC14

SS1/IC2/RD9

TCK/RA1

TDI/RA4

TDO/RA5

TMS/RA0

TRCLK/RA6

TRD0/RG13

TRD3/RA7

USBOEN/C1IN-/AN4/CN6/RB4

VBUSON/C1IN+/AN5/CN7/RB5

C1OUT/AN8/RB8

C2IN-/AN2/CN4/RB2

C2IN-/AN2/CN4/RB2

C2IN+/AN3/CN5/RB3

C2OUT/AN9/RB9

PMPA0/AN15/OCFB/CN12

PMPA1/AN14/RB14

PMPA10/AN13/RB13

PMPA11/AN12/RB12

PMPA12/AN11/RB11

PMPA13/CVREF/AN10

PMPA4/SCM2A/CN9/RG7

PMPA4/SCM2A/CN9/RG7

PMPA5/SCM2C/CN8/RG6

PMPA5/SCM2C/CN8/RG6

PMPA6/VREF+/RA10

PMPA7/VREF-/RA9

PMPA8/SCM3B/CN18/RF5

PMPA9/SCM3A/CN17/RF4

PMPD0/RE0

PMPD1/RE1

PMPD2/RE2

PMPD3/RE3

PMPD4/RE4

PMPD5/RE5

PMPD6/RE6

PMPD7/RE7

PMPRD/CN14/RD5

SCK1/IC3/PMPCS2/RD10

SCK1/IC3/PMPCS2/RD10

SDI1/T5CLK/RC4

SDI1/T5CLK/RC4

SDO1/INT0/OC1/RD0

SDO1/INT0/OC1/RD0

SOSCO/T1CK/CN0/RC14

T2CLK/RC1

T3CLK/RC2

T4CLK/RC3

TRD1/RG12

TRD2/RG14

USBOEN/C1IN-/AN4/CN6/RB4

VBUSON/C1IN+/AN5/CN7/RB5

GNDGND

FX10B-120P/12-SV1(71)

127

119

113

107

101

93

87

81

73

67

61

53

47

41

35

27

21

15

7

1

78

12

128

120

114

108

102

94

88

82

74

68

62

54

48

42

36

28

22

16

8

2

129

131

125

123

115

117

111

109

103

105

97

95

89

91

85

83

75

79

71

69

63

65

59

57

49

51

45

43

37

39

31

29

23

25

19

17

9

13

5

3

100

122

56

34

130

132

126

124

116

118

112

110

104

106

98

96

90

92

86

84

76

80

72

70

64

66

60

58

50

52

46

44

38

40

32

30

24

26

20

18

10

14

6

4

GND77

GND11

GND99

GND121

GND55

P3333

J1

P32_VDD

PGC__PKOB

PGD_PKOB

ICSP_MCLR_VPP_TARGET

INT3/SCL1/RA14

DS70005169A-page 20 © 2014 Microchip Technology Inc.

Page 21: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Schematics

FIGURE A-5: POWER, USB CONNECTOR, AND PHY DAUGHTER BOARD CONNECTOR

EGND

* Install Jumper if poweringfrom Debugger Power Supply

USB HOST Power Supply

USB OTG/Device Power Supply (120mA MAX)+5V_EXTDEVICE/OTG PORT

HOST TYPE - TYPE A

FPF2104

Vin1

GND

2

ON3 FLAGB 4

Vout 5

U3

GND

TARGET_POWER_ENABLE

100KR25

4.7uFC22

+3.3V_PKOB

GND

100KR22

VBUS_DEVICE_SWITCHED_SENSE

P32_VDD

R23

DNP

MBR0520LT1G

D5

6

2

5

3

1

4

J4 USB-AD+

D-

100uFC26

GND

0R

R30

EN 4

IN 5

GND2

OC3

OUT1U5

TPS2051

+5V_EXT

1 2

J5

+5V_DUSB

PGOOD1

Vout2

Vin3

GND4 C- 5

C+ 6

SHDN 7

SELECT 8U4

MCP1253-33

SHIELD

6

D- 2

5

D+ 3

VBUS 1

4

J3

USB MICRO A/B

D+

D-

EGND

0R

R29

GND

100KR27

16V10uF

C25

P32_VDD

R26DNP

P32_VDD

GND

1.0uFC24

4.7KR28

GND

C2IN+/AN3/CN5/RB3

C2IN+/AN3/CN5/RB3

VBUSON/C1IN+/AN5/CN7/RB5

VBUSON/C1IN+/AN5/CN7/RB5

USBID/RF3

VBUS

VBUS

EGND

* Install Jumper if powf eringfromff Debugger Power Supply

USB HOST Power Supply

USB OTG/Device Power Supply (120mA MAX)+5V_EXT_DEVICE/OTG PORT

HOST TYPE - TYPE A

MBR0520LT1G

D5

6

2

5

3

1

4

J4 USB-AD+

D-

100uFC26

GND

0R

R30

EN 4

INII 5

GND2

OC3

OUT1U5

TPS2051

+5V_EXT_

1 2

J5

+5V_DUSB

PGOOD1

Vout2

Vin3

GND4 C- 5

C+ 6

SHDN 7

SELECT 8U4

MCP1253-33

SHIELD

6

D- 2

5

D+ 3

VBUS 1

4

J3

USB MICRO A/B

D+

D-

EGND

0R

R29

GND

100KR27

16V10uF

C25

P32_VDD_

R26DNP

P32_VDD_

GND

1.0uFC24

4.7KR28

GND

C2IN+/AN3/CN5/RB3

C2IN+/AN3/CN5/RB3

VBUSON/C1IN+/AN5/CN7/RB5

VBUSON/C1IN+/AN5/CN7/RB5

USBID/RF3

VBUS

VBUS

6.8uFC23

100KR17

ERXD1

ERXD0

ERXERR

EMDIO

EMDC

ETXEN

ETXD0

ETXD1

ECRS_DV

XTAL1

0.1uF

C12

GND

EN1

GND2 OUT 3

VDD 4Y3

50MHz

P32_VDD

GND

EREF_CLKGND ICSP_MCLR_VPP_TARGET

P32_VDD INT3/SCL1/RA14

ERXD1

ERXD0

ERXERR

EMDIO

EMDC

ETXEN

ETXD0

ETXD1

ECRS_DV

XTAL1

0.1uF

C12

GND

EN1

GND2 OUT 3

VDD 4Y3

50MHz

P32_VDD_

GND

GND ICSP_MCLR_VPP_TARGET

P32_VDD_ INT3/SCLII 1/RA14

PHY DB CONN

USB CONN

0.01uFC11

EREF_CLK

Impedance MatchingResistor

33R ±1%

R2

33R ±1%R3CLK_IN

R4DNP

GND

LPPB121NFFN-RC + LPPB031NFFN-RC

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25 25

J2

2 HDR/MB

GND GND

+3.3V_PKOB to P32_VDD Switcher

FPF2104

1

2

3 4

5Vin

GNDON FLAGB

Vout

U3

GND

TARGET_POWER_ENABLE

100KR25

4.7uFC22

+3.3V_PKOB_

GND

100KR22

VBUS_DEVICE_SWITCHED_SENSE

P32_VDD_

R23

DNP

+3.3V_PKOB to P32_VDD Switcher

© 2014 Microchip Technology Inc. DS70005169A-page 21

Page 22: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter K

it II User’s G

uide

DS

70005169A-page 22

© 2014 M

icrochip Technology Inc.

Ethernet Starter Kit II - PKOB DebugTitle

Size: ME i

(Local Vdd/Vss bypass/decoupling.)

+3.3V_PKOB

GND

GND

TARGET ICSP SIGNALS

PGC2

PGD2

SCK

SDI

SDO

GND

GND

ICSP_MCLR_VPP_TARGET

GND

GND

10KR49

10KR55

0K

59

K

7

R37

0R

R31

0R

4.7KR34

4.7KR39

330R

R32

330R

R35

330R

R38

2.21KR52

0.1uFC30

0.1uFC31

0.1uFC32

0.1uFC33

R54 0R

100KR48

R60DNP

R58DNP

R56

100R1206 1/4W

+3.3V_PKOB

MMBT3904-TPQ2

MMBT3904-TPQ3

MMBT3906-TPQ1

0.1uFC29

FIGURE A-6: DEBUGGER SCHEMATICS

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

SERIAL EEPROM (25LC256)

ASSEMBLY_ID_0

ASSEMBLY_ID_1

ICSP_MCLR_VPP_PICKIT3

ICSP_MCLR_VPP_PICKIT3

POWER_GOOD_PICKIT3

SCK

SDI

SDO

UTIL_CS

UTIL_CS

UTIL_WP

UTIL_WP

USB_D-

USB_D+

UTIL_SCK

UTIL_SCK

UTIL_SDI

UTIL_SDIUTIL_SDO

UTIL_SDO

VBUS_DEVICE

VDD_SENSE

VPP_GND

VPP_ON

VPP_SENSE

VREF_2.5V

GND

+3.3V_PKOB

GND

GND

GND

GND

GNDGND

GND

GND

GND

PGC__PKOB

PGD_PKOB

PGC__PKOB

PGD_PKOB

VDD_SENSE

VPP_GND

VPP_ON

VPP_SENSE

USB_D-

USB_D+

GND

GND

+3.3V_PKOB

POWER_GOOD_PICKIT3

GND

VBUS_DEVICE

POWER DISTRIBUTION/SWITCHING

USB INTERFACE(BUS POWERED)

10KR33

10K

R46

10KR50

1

R

10

R5

10K

R41

R64

0R

330R

R42

330RR63

2.21KR53 2.21K

R51

2.2uFC40

2.2uFC39

0.1uFC35

0.1uFC37

0.01uFC42

1uFC38

0.1uFC41

C34

8pF

C28

8pF

10uFC27

200K

R36

200KR61

100R

R44

1uFC36

R473.92K

R453.16K

R62DNP2.2K

1KR43

4

13 2Y4

12.0MHz

D7

GRN

SCK6

SI5

CS1

WP3

VSS

4

SO 2VCC

8

HOLD7

SCK

SI

CS

WP

VSS

SOVCC

HOLD

U725LC256-I/ST

D6

MBR0520LT1G

D+ 3

D- 2

GND 5

ID 4

6789

VUSB 1

, , ,

D+

D-

GND

ID

VUSB

J7

UX60-MB-5ST

1

2

3

4

5

6

J6

AN6/RB6

17PMPD4/RE4

64

AVSS

20PMPD1/RE1

61

PMA13

/AN10

/RB1

023

RF0

58

VDD

26RD7

55

PMA1/AN14

/RB1

429

PMWR/RD452

PMA8/SCL2

/RF5

32VCPCON/RD1

49

AN0/RB016

AN3/RB313

VDD10

MCLR7

PMA5/RG64

PMD5/RE51

USBID/RF3 33

D-/RG3 36

OSC1/CLKIN/RC12 39

RTCC/RD8 42

PMCS1/RD11 45

SOSCO/RC14 48

AN2/RB214

AN1/RB115

PMA2/RG98

VSS9

AN5/RB511

PMD6/SCL3/RE62

PMD7/SDA3/RE73

PMA4/RG75

AN7/RB7

18

AVDD

19

AN8/RB8

21

PMPD3/RE3

63

PMPD2/RE2

62

PMPD0/RE0

60

PMA12

/AN11

/RB1

124

VSS

25

PMA11

/AN12

/RB1

227

ENVREG

57

Vca

p/VDDCORE

56

RD6

54

PMA0/AN15

/RB1

530

PMA9/SDA2/RF4

31

PMBE/RD3

51

DHP/RD2

50

Vusb 35

Vbus 34

VSS 41

OSC2/CLKO/RC15 40

VDD 38

SOSCI/RC13 47

INT0/RD0 46

SCL1/PMCS2/RD10 44

USBOENAN4/RB412

PMA3/RG86

D+/RG2 37

SDA1/RD9 43

PMA7/AN9/RB9

22RF1

59

PMA10

/AN13

/RB1

328

PMRD/RD5

53

AN6/RB6

PMPD4/RE4

AVSS

PMPD1/RE1

PMA13

/A//N10

/RB1

0RF0

VDD

RD7

PMA1/A//N14

/RB1

4PM

WR/RD4

PMA8/SCL2

/RF5

VCPCON/RD1

AN0/RB0

AN3/RB3

VDD

MCLR

PMA5/RG6

PMD5/RE5

USBID/RF3

D-/RG3

OSC1/CLKIN/RC12

RTCC/RD8

PMCS1/RD11

SOSCO/RVV C14

AN2/RB2

AN1/RB1

PMA2/RG9

VSS

AN5/RB5

PMD6/SCL3/RE6

PMD7/SDA3/RE7

PMA4/RG7

AN7/RB7

AVDD

AN8/RB8

PMPD3/RE3

PMPD2/RE2

PMPD0/RE0

PMA12

/A//N11

/RB1

1

VSS

PMA11

/A//N12

/RB1

2

ENVREG

Vca

p/VDDCORE

RD6

PMA0/A//N15

/RB1

5

PMA9/SDA2/RF4

PMBE/RD3

DHP/RD2

Vusb

Vbus

VSS

OSC2/CLKO/RC15

VDD

SOSCI/RC13

INT0/RD0

SCL1/PMCS2/RD10

USBOENAN4/RB4

PMA3/RG8

D+/RG2

SDA1/RD9

PMA7/A//N9/RB9

RF1

PMA10

/A//N13

/RB1

3PMRD/RD5

U6

PIC24FJ256GB106

GND_E

P9

GND4

VIN1

PWRGD 5

VOUT 8

VIN2

SHDN3

SENSE 7

CDELAY 6

GND_E

P

GND

VIN

PWRGD

VOUT

VIN

SHDN

SENSE

CDELAYAA

U8

MCP1727-3302E/MF

10K

R40

+5V_DUSB

VBUS_DEVICE_SWITCHED_SENSE

TARGET_POWER_ENABLE

EGND

USB_N

USB_P

Page 23: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Schematics

© 2014 M

icrochip Technology Inc.D

S70005169A-page 23

F

GND

LED_ACT

LED_LINK

249R±1%

R21

249R±1%

R22

0R

R23

EGND

EGND

GND EGND

EGNGG D

EGNGG D

Create EGND copper pour

around RJ-45 Conn

VDDA

J3011G21DNL

2

12

8

4

11

1

7

6

NC9

10

3

5

SHIELD 14

SHIELD 13

J7

J6

J4

J3

J1

J5

J8

J2

4 X 75ê

Yel

Grn

1000pF 2KV

J2

GNGG D

LED__LIN_ K

249R±1%

R22OFF=0

ator ON)

IGURE A-7: LAN8740 PHY DAUGHTER BOARD SCHEMATICS

RXD1

RXD0

RX_ER

MDIO

MDC

TX_EN

TXD0

TXD1

CRS_DV

nRST

+3.3V

CLK_IN

0.1uF

C6nINT

GND

VDD2A

1LED2/nINT/nPME/nINTSEL 2

LED1/nINT/nPME/REGOFF 3

XTAL24

XTAL1/CLKIN5

VDDCR

6

RXCLK/PHYAD17

RXD3/PHYAD28

RXD2/nPME/RMIISEL9

RXD1/MODE110

RXD0/MODE011

VDDIO

12

RXER/RXD4/PHYAD013

CRS14

COL/CRS_DV/MODE215

MDIO16

MDC17

nINT/TXER/TXD4 18

nRST19

TXCLK20

TXEN21

TXD022

TXD123

TXD224

TXD325

RXDV26

VDD1A

27

TXN 28

TXP 29

RXN 30

RXP 31

RBIAS 32

PAD

33VDD2A

LED2/nINT/nPME/nINTSEL

LED1/nINT/nPME/REGOFF

XTAL2

XTAL1/CLKIN

VDDCR

RXCLK/KK PHYAD1

RXD3/PHYAD2

RXD2/nPME/RMIISEL

RXD1/MODE1

RXD0/MODE0

VDDIO

RXER/RXD4/PHYAD0

CRS

COL/CRS_DV/MODE2

MDIO

MDC

nINT/TXER/TXD4

nRST

TXCLK

TXEN

TXD0

TXD1

TXD2

TXD3

RXDV

VDD1A

TXNXX

TXP

RXNXX

RXP

RBIAS

PAD

U1

*SMSC LAN8740

RXD1

RXD0

RX_ER

MDIO

MDC

TX_EN

TXD0

TXD1

CRS_DV

nRST

CLK_IN nINT

GND

TXP

TXN

RXP

RXN

49.9R

R17

49.9R

R18

49.9R

R19

49.9R

R20

12pFC10

GND

12pFC1000

GNGG D

12pFC11

12pFC12

12pFC13

For EMI Purposes(DNP)

VDDA

0.022uFC14

TXN

TXP

RXP

RXN

TX_P

TX_N

RX_N

RX_P

LED_ACT

LED_LINK

12.1k±1%

R15

GND

GND

GND GND

1.0uFC3

1.0uFC7

0.1uFC4

0.1uFC5

FB1

VDDA+3.3V

1.0uFC1

GND

0.1uFC2

+3.3V

10KR5

10KR16

+3.3V

1.5KR7

±1%4.7K

R1±1%4.7K

R2±1%4.7K

R3±1%4.7K

R1±1%4.7K

R2±1%4.7K

R3MODE[2:0] = 111

Default

+3.3V +3.3V

10KR5

RMIIEN

±1%4.7K

R6±1%4.7K

R4±1%4.7K

R8

GND

±1%4.7K

R6±1%%4.7K

R4±1%4.7K

R8

GNGG DPHYAD[2:0] = 000

Default

REG

(Regul

GND

1.0uFC8

470pFC9

GND

CLK_IN

33R±1%

R12

33R±1%

R13

33R±1%

R14

33R±1%

R11

33R±1%

R12

33R±1%

R13

33R±1%

R11

Place close to U1

1

2

3

4

5

6

7

8

9

10

11

12

13

15

16

17

18

19

20

21

22

23

24

14

S9014E-12-ND

EGND

25

EGND

25

J1

2 HDR/DB

EGND

Page 24: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

NOTES:

DS70005169A-page 24 © 2014 Microchip Technology Inc.

Page 25: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 ETHERNET STARTER

KIT II USER’S GUIDE

Appendix B. Bill of Materials (BOM)

B.1 PIC32 ETHERNET STARTER KIT II BILL OF MATERIALS

TABLE B-1: PIC32 ETHERNET STARTER KIT II BOMReference Description Manufacturer Part No.

C1, C2, C3, C5, C7, C9, C10,

C12, C29, C30, C31, C32, C33, C35, C37, C41

Cap, Ceramic, 0.1 µF, 50V X7R TDK Corporation C1608X7R1H104M

C4, C25 Cap, Ceramic, 10 µF, 16V X5R Taiyo Yuden EMK212BJ106MG-T

C6, C8 Cap, Ceramic, 18 pF 50V 5% C0G 0603 Murata Electronics North America GRM1885C1H180JA01D

C11 Cap, Ceramic, 0.01 µF, 50V X7R TDK Corporation C1608X7R1H103M

C22 Cap, Ceramic, 4.7 µF 25V X5R 10% 1206 TDK Corporation C3216X5R1E475K

C23 Cap, Ceramic, 6.8 µF 16V 10% X5R 0805 TDK Corporation C2012X5R1C685K

C24 Cap, Ceramic, 1 µF, 16V X5R TDK Corporation C1608X5R1C105K

C26 Cap, Ceramic, 100 µF 10V 20% X5R 1206 TDK Corporation C3216X5R1A107M

C27 Cap, Ceramic, 10 µF 16V Y5V 0805 Murata Electronics North America GRM21BF51C106ZE15L

C28, C34 Cap, Ceramic, 8 pF 50V NP0 0603 Murata Electronics North America GRM1885C1H8R0DZ01D

C36, C38 Cap, Ceramic, 1.0 µF 16V X5R 10% 0603 TDK Corporation C1608X5R1C105K

C39, C40 Cap, Ceramic, 2.2 µF 16V X5R 0603 TDK Corporation C1608X5R1C225K

C42 Cap, Ceramic, 10000 pF 50V X7R 0603 TDK Corporation C1608X7R1H103M

C43, C44 Cap, Ceramic, 12 pF 50V 5% NPO 0603 Yageo CC0603JRNPO9BN120

D1 LED, SMD, RED, 0603 Package Kingbright Corp. APT1608EC

D2 LED, SMD, YEL, 0603 Package Kingbright Corp. APT1608YC

D3, D4 LED, SMD, GRN, 0603 Package Kingbright Corp. APT1608SGC

D5, D6 DIODE SCHOTTKY 20V 0.5A SOD123 ON Semiconductor MBR0520LT1G

D7 LED GREEN CLEAR THIN 0603 SMD Lite-On Inc LTST-C191GKT

J1 CONN HEADER 120 POS W/O POST SMD Hirose Electric Co. Ltd. FX10B-120P/12-SV1(71)

J2 TWO CONN HEADER .050" 12POS PCB Sullins Connector Solutions LPPB121NFFN-RC

@J2 TWO CONN HEADER .050" 03POS PCB Sullins Connector Solutions LPPB031NFFN-RC

J3 CONN RCPT MICRO USB AB SMD R/A Hirose Electric Co Ltd. ZX62-AB-5PA(11)

J4 CONN USB TYPE A R/A BLACK On Shore Technology Inc. USB-A1HSB6

J5 Terminal Strip,1X2, 0.100 sp, 0.025 SQ Post Samtec Inc. HTSW-102-07-F-S

J6 CONN HEADER .050" 6 POS PCB GOLD Sullins Connector Solutions GRPB061VWVN-RC

J7 CONN RECEPT MINI USB2.0 5 POS Hirose Electric Co. Ltd. UX60-MB-5ST

Q1 TRANS SS PNP 40V 300 MW SOT23 Micro Commercial Co. MMBT3906-TP

Q2, Q3 TRANSISTOR NPN GP 40V SOT23 Micro Commercial Co. MMBT3904-TP

R1, R28 RES 4.70K OHM 1/10W 1% 0603 SMD Panasonic - ECG ERJ-3EKF4701V

R2, R3, R5, R6, R7

RES 33 OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT33R0

R4, R23, R26, R58, R60, R62

DNP N/A N/A

© 2014 Microchip Technology Inc. DS70005169A-page 25

Page 26: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

R17, R22, R25, R27

Res, 100K, 1/10W 1% Stackpole Electronics Inc. RMCF0603FT100K

R19, R20, R21, R24

Res, 330 OHM, 1/10W 1% Stackpole Electronics Inc. RMCF0603FT330R

R29, R30, R31, R37, R54, R64

RES 0.0 OHM 1/10W 0603 SMD Panasonic - ECG, Rohm Semiconductor

ERJ-3GEY0R00V

R32, R35, R38, R42, R63

RES 330 OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT330R

R33, R40, R41, R46, R49, R50, R55, R57, R59

RES 10K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT10K0

R34, R39 RES 4.7K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT4K70

R36, R61 RES 200K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT200K

R43 RES 1K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT1K00

R44 RES 100 OHM 1/10W 5% 0603 SMD Yageo RC0603JR-07100RL

R45 RES 3.16K OHM 1/10W 1% 0603 SMD Yageo RC0603FR-073K16L

R47 RES 3.92K OHM 1/10W 1% 0603 SMD Yageo RC0603FR-073K92L

R48 RES 100K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT100K

R51, R52, R53 RES 2.21K OHM 1/10W 1% 0603 SMD Panasonic - ECG ERJ-3EKF2211V

R56 RES 100 OHM 1/4W 1% 1206 SMD Yageo RC1206FR-07100RL

S1, S2, S3 SWITCH TACTILE SPST-NO 0.05A 12V C&K Components PTS635SK25SMTR LFS

U2 IC MCU 32BIT 512KB FLASH 100TQFP Microchip Technology Inc. PIC32MX795F512L-80I/PT

U3 IC SWITCH LOAD FULL FUNC SOT23-5 Fairchild Semiconductor FPF2104

U4 IC MULT CONFIG 3.3/5V .12A 8MSOP Microchip Technology Inc. MCP1253-33X50I/MS

U5 IC PWR DIST SWITCH SNGL SOT23-5 Texas Instruments TPS2051BDBVR

U6 IC PIC MCU FLASH 256K 64-TQFP Microchip Technology Inc. PIC24FJ256GB106-I/PT

U7 IC EEPROM 256KBIT 10MHZ 8TSSOP Microchip Technology Inc. 25LC256-I/ST

U8 IC REG LDO 1.5A 3.3V 8DFN Microchip Technology Inc. MCP1727-3302E/MF

Y1 CRYSTAL 8.000 MHz, 18 pF, SMD Abracon Corporation ABM3B-8.000MHZ-B2-T

Y2 CRYSTAL 32.768 kHz 12.5 pF CYL Abracon Corporation AB26T-32.768KHZ

Y3 OSC MEMS 50.000 MHz 3.3V Abracon Corporation ASEMB-50.000MHZ-LC-T

Y4 CRYSTAL 12.000000 MHZ 8 pF SMD NDK NX3225SA-12.000000MHZ

TABLE B-1: PIC32 ETHERNET STARTER KIT II BOMReference Description Manufacturer Part No.

DS70005169A-page 26 © 2014 Microchip Technology Inc.

Page 27: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

Bill of Materials (BOM)

B.2 LAN8740 PHY DAUGHTER BOARD BILL OF MATERIALS

TABLE B-2: LAN8740 PHY DAUGHTER BOARD BOMReference Description Manufacturer Part No.

C1, C3, C7, C8 Cap, Ceramic, 1 µF, 16V X5R TDK Corporation C1608X5R1C105K

C2, C4, C5, C6 Cap, Ceramic, 0.1 µF, 50V X7R TDK Corporation C1608X7R1H104M

C9 CAP 470PF 50V CERAMIC X7R 0603 Yageo CC0603KRX7R9BB471

C10, C11, C12, C13

CAP CER 12 pF 50V 5% NPO 0603 Yageo CC0603JRNPO9BN120

C14 CAP CER 0.022 µF 50V 20% X7R 0603 Murata Electronics North America GRM188R71H223MA01D

FB1 FERRITE CHIP 600 OHM 500MA 0805 TDK Corporation MMZ2012Y601B

J1 TWO CONN HEADER .050" 12 POS PCB GOLD Sullins Connector Solutions GRPB121VWVN-RC

@J1 TWO CONN HEADER .050" 3 POS PCB GOLD Sullins Connector Solutions GRPB031VWVN-RC

J2 CONN MAGJACK 1PORT 100 BASE-TX Pulse Electronics Corporation J3011G21DNL

R1, R2, R3, R4, R6, R8

RES 4.70K OHM 1/10W 1% 0603 SMD Panasonic - ECG ERJ-3EKF4701V

R5, R16 RES 10K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc RMCF0603FT10K0

R7 RES 1.50K OHM 1/10W 1% 0603 SMD Vishay Dale CRCW06031K50FKEA

R11, R12, R13, R14

RES 33 OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc RMCF0603FT33R0

R15 RES 12.1K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc RMCF0603FT12K1

R17, R18, R19, R20

RES TF 1/10W 49.9 OHM 1% 0603 Stackpole Electronics Inc RMCF0603FG49R9

R21, R22 RES TF 1/10W 249 OHM 1% 0603 Stackpole Electronics Inc RMCF0603FG249R

R23 RES 0.0 OHM 1/4W 0805 SMD Yageo RC0805JR-070RL

U1 TXRX Ethernet 32QFN Microchip Technology Inc. LAN8740-EN

© 2014 Microchip Technology Inc. DS70005169A-page 27

Page 28: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

PIC32 Ethernet Starter Kit II User’s Guide

NOTES:

DS70005169A-page 28 © 2014 Microchip Technology Inc.

Page 29: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

© 2014 Microchip Technology Inc. DS70005169A-page 29

NOTES:

Page 30: PIC32 Ethernet Starter Kit II User’s GuidePIC32 ETHERNET STARTER KIT II USER’S GUIDE © 2014 Microchip Technology Inc. DS70005169A-page 3 Table of Contents Preface .....5 Chapter

DS70005169A-page 30 © 2014 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455Austin, TXTel: 512-257-3370 BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075ClevelandIndependence, OH Tel: 216-447-0464 Fax: 216-447-0643DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitNovi, MI Tel: 248-848-4000Houston, TX Tel: 281-894-5983IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608New York, NY Tel: 631-435-6000San Jose, CA Tel: 408-735-9110Canada - TorontoTel: 905-673-0699 Fax: 905-673-6509

ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHarbour City, KowloonHong KongTel: 852-2401-1200Fax: 852-2401-3431Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755China - BeijingTel: 86-10-8569-7000 Fax: 86-10-8528-2104China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889China - ChongqingTel: 86-23-8980-9588Fax: 86-23-8980-9500China - HangzhouTel: 86-571-2819-3187 Fax: 86-571-2819-3189China - Hong Kong SARTel: 852-2943-5100 Fax: 852-2401-3431China - NanjingTel: 86-25-8473-2460Fax: 86-25-8473-2470China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393China - ShenzhenTel: 86-755-8864-2200 Fax: 86-755-8203-1760China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118China - XianTel: 86-29-8833-7252Fax: 86-29-8833-7256China - XiamenTel: 86-592-2388138 Fax: 86-592-2388130China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049

ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 Fax: 91-80-3090-4123India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632India - PuneTel: 91-20-3019-1500Japan - OsakaTel: 81-6-6152-7160 Fax: 81-6-6152-9310Japan - TokyoTel: 81-3-6880- 3770 Fax: 81-3-6880-3771Korea - DaeguTel: 82-53-744-4301Fax: 82-53-744-4302Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934Malaysia - Kuala LumpurTel: 60-3-6201-9857Fax: 60-3-6201-9859Malaysia - PenangTel: 60-4-227-8870Fax: 60-4-227-4068Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069SingaporeTel: 65-6334-8870Fax: 65-6334-8850Taiwan - Hsin ChuTel: 886-3-5778-366Fax: 886-3-5770-955Taiwan - KaohsiungTel: 886-7-213-7830Taiwan - TaipeiTel: 886-2-2508-8600 Fax: 886-2-2508-0102Thailand - BangkokTel: 66-2-694-1351Fax: 66-2-694-1350

EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79Germany - DusseldorfTel: 49-2129-3766400Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Germany - PforzheimTel: 49-7231-424750Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Italy - VeniceTel: 39-049-7625286 Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Poland - WarsawTel: 48-22-3325737 Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91Sweden - StockholmTel: 46-8-5090-4654UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820

Worldwide Sales and Service

10/28/13