PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide © 2013-2014 Microchip Technology Inc.
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.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Table of Contents Preface ........................................................................................................................... 5 Chapter 1. Introduction 1.1 Kit Contents .................................................................................................. 11 1.2 Starter Kit Functionality and Features .......................................................... 12 Chapter 2. Hardware 2.1 Hardware Features .........
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide NOTES: DS70005147B-page 4 © 2013-2014 Microchip Technology Inc.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Preface 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.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Italic characters Initial caps Examples Referenced books MPLAB IDE User’s Guide Emphasized text ...is the only compiler...
Preface RECOMMENDED READING This user’s guide describes how to use the starter kit. The following Microchip documents are available and recommended as supplemental reference resources. PIC32MZ Embedded Connectivity (EC) Family Data Sheet (DS60001191) Refer to this document for detailed information on PIC32MZ EC family devices.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip’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.
Preface DOCUMENT REVISION HISTORY Revision A (November 2013) This is the initial release of this document. Revision B (February 2014) The following sections were updated to reflect the LAN8740 PHY Daughter Board, which is included in the starter kit: • • • • • 1.1 “Kit Contents” 1.2 “Starter Kit Functionality and Features” 2.1.9 “Ethernet PHY” Appendix A. “Schematics” Appendix B. “Bill of Materials” © 2013-2014 Microchip Technology Inc.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide NOTES: DS70005147B-page 10 © 2013-2014 Microchip Technology Inc.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Chapter 1. Introduction Thank you for purchasing a Microchip Technology PIC32MZ Embedded Connectivity (EC) Starter Kit. This starter kit provides a low-cost, modular development system for Microchip’s line of 32-bit microcontrollers.
Introduction 1.2 STARTER KIT FUNCTIONALITY AND FEATURES 1.2.1 Development Board Representations of the layout of the development board included in the PIC32MZ Embedded Connectivity (EC) Starter Kit 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. PIC32MZ2048ECH144-I/PH or PIC32MZ2048ECM144-I/PH (Crypto Engine) 32-bit microcontroller. 2. Green power indicator LED. 3.
Introduction The bottom assembly of the board includes these key features, as indicated in Figure 1-2: 1. PIC24FJ256GB106 USB microcontroller for on-board debugging. 2. Regulated +3.3V power supply for powering the starter kit through USB or expansion board. 3. Connector for various expansion boards. 4. USB Type micro-AB receptacle for OTG and USB device connectivity for PIC32 OTG/device-based applications. 5. 50 MHz Ethernet PHY oscillator. 6.
Introduction 1.2.2 LAN8740 PHY Daughter Board Representation of the layout of the daughter board included in the PIC32MZ Embedded Connectivity (EC) Starter Kit 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) © 2013-2014 Microchip Technology Inc.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Chapter 2. Hardware This chapter describes the hardware features of the PIC32MZ Embedded Connectivity (EC) Starter Kit. 2.1 HARDWARE FEATURES The following key features of the starter kit are presented in the order given in Section 1.2 “Starter Kit Functionality and Features”. Refer to Figure 1-1 for their locations on the development board. 2.1.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide • DEVICE Mode – Connect the debug mini-B USB cable to port J1 and then connect the starter kit to the host by using a cable with a Type-B micro-connector to the starter kit’s micro-A/B port J5, which is located on the bottom of the board. The other end of the cable must have a Type-A connector. Connect the Type-A connector to a USB host. Jumper JP1 should be removed.
Hardware 2.1.9 Ethernet PHY The Microchip LAN8740 PHY Daughter Board is populated with a low-power, smallfootprint, 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. To use a different Ethernet PHY other than what is offered, visit the microchipDIRECT website (www.microchipdirect.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide NOTES: DS70005147B-page 18 © 2013-2014 Microchip Technology Inc.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Appendix A. Schematics A.1 BLOCK DIAGRAM FIGURE A-1: HIGH-LEVEL BLOCK DIAGRAM OF THE PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT Power Circuit USB OTG VUSB3V3(1) or +5V_EXT Device/OTG (Type micro-A/B) +3.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide A.
Schematics FIGURE A-3: PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT (USB HOST AND OTG POWER SUPPLIES) PHY Daughter Board Connections J6 ETXEN ETXD0 ETXD1 R54 DNP P32_VDD CLK_IN P32_VDD C48 0.01uF C19 0.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT (DEBUGGER) +3.3V_PKOB +3.3V_PKOB SERIAL EEPROM (25LC256) C43 10ˇF TARGET_POWER_ENABLE +3.3V_PKOB C13 0.1uF R15 UTIL_CS 200K 10K SDO SDI GND 5 UTIL_SDO SCK 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 UTIL_CS 7 8 OSC2/CLKO/RC15 U2 OSC1/CLKIN/RC12 VDD D+/RG2 D-/RG3 Vusb PMA8/SCL2/RF5 PMA9/SDA2/RF4 PMA0/AN15/RB15 PMA1/AN14/RB14 PMA10/AN13/RB13 PMA11/AN12/RB12 VDD VSS PMA12/AN11/RB11 AN8/RB8 AVSS AVDD C11 0.
Schematics FIGURE A-5: PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT (APPLICATION BOARD CONNECTOR, SQI MEMORY AND POWER, LEDS, AND SWITCHES) J1 EBI ADDRESS EBIA1/PMA1 EBIA2/PMA2/RG9 EBIA3/PMA3 EBIA4/PMA4 EBIA5/PMA5/RA5 EBIA6/PMA6 P32_VDD EBIA7/PMA7 EBIA8/PMA8 EBIA9/PMA9 EBIA10/PMA10/RB8 EBI ADDRESS EBIA11/PMA11/RB12 EBIA12/PMA12/RC2 EBIA13/PMA13/RJ13 EBIA14/PMCS1/PMA14/RA4 EBIA15/PMCS2/RD9 EBIA16/RK0 EBIA17/RK3 EBIA18/RK4 EBIA19/RK5 EBI ADDRESS P32_VDD EBIA20/RK6 EBIA21/RK7 EBIA22/RJ3 EBI CONT EB
LAN8740 PHY DAUGHTER BOARD SCHEMATICS +3.3V VDDA FB1 C3 C4 1.0uF 0.1uF RMII EN GND C1 1.0uF MODE[2:0] = 111 8 Place close to U1 RXD1 RXD0 CRS_DV R13 R11 VDDA C9 470pF 9 10 33R ±1% 33R ±1% 33R ±1% 11 26 7 R14 13 RX_ER 33R ±1% R4 R6 R8 ±1% % ±1% ±1% 4.7K 4.7K 4.7K TX_EN TXD0 TXD1 GND G GN D PHYAD[2:0] = 000 Default 20 21 22 23 24 25 GND 15 14 19 nRST CLK_IN CLK_IN 5 49.9R 49.9R 49.9R 49.
PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT USER’S GUIDE Appendix B. Bill of Materials B.1 STARTER KIT BILL OF MATERIALS TABLE B-1: Reference PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT BILL OF MATERIALS Description C1, C2, C3, C4, CAP CER .10 µF 50V X7R 0603 C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19 C20, C21, C22, C23, C24, C25, C26, C27, C28, C29, C30, C48 C31, C32, C33 Manufacturer Part No.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide TABLE B-1: PIC32MZ EMBEDDED CONNECTIVITY (EC) STARTER KIT BILL OF MATERIALS (CONTINUED) Reference Description Manufacturer Part No. R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 RES 10K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT10K0 R24, R25, R26, R27 RES 100K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc. RMCF0603FT100K R28, R29 RES 200K OHM 1/10W 1% 0603 SMD Stackpole Electronics Inc.
Bill of Materials B.2 LAN8740 PHY DAUGHTER BOARD BILL OF MATERIALS TABLE B-2: Reference LAN8740 PHY DAUGHTER BOARD BILL OF MATERIALS Description Manufacturer Part No. C1, C3, C7, C8 Cap, Ceramic, 1 µF, 16V X5R TDK Corporation C1608X5R1C105K C2, C4, C5, C6 Cap, Ceramic, 0.
PIC32MZ Embedded Connectivity (EC) Starter Kit User’s Guide NOTES: DS70005147B-page 28 © 2013-2014 Microchip Technology Inc.
NOTES: © 2013-2014 Microchip Technology Inc.
Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.