background image

PIC32-EMZ64

GENERAL-PURPOSE DEVELOPMENT BOARD

USER’S MANUAL

Document revision B, March 2017

Designed by OLIMEX Ltd, 2016

All boards produced by Olimex LTD are ROHS compliant

Summary of Contents for PIC32-EMZ64

Page 1: ...PIC32 EMZ64 GENERAL PURPOSE DEVELOPMENT BOARD USER S MANUAL Document revision B March 2017 Designed by OLIMEX Ltd 2016 All boards produced by Olimex LTD are ROHS compliant ...

Page 2: ...LIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information...

Page 3: ...R BLOCK DIAGRAM 14 4 3 MICROCONTROLLER MEMORY MAP 15 CHAPTER 5 CONTROL CIRCUITRY 16 5 1 POWER SUPPLY CIRCUIT 16 5 2 RESET CIRCUIT 17 5 3 CLOCK CIRCUIT 17 CHAPTER 6 JUMPERS CONNECTORS AND INTERFACES 18 6 1 JUMPER DESCRIPTION 18 6 1 1 USB connector jumpers 18 6 1 2 CAN_T jumper 18 6 1 3 5V 3 3V jumper 18 6 2 HARDWARE INPUT OUTPUT 19 6 3 EXTERNAL CONNECTOR DESCRIPTION 19 6 3 1 ICSP CONNECTOR 19 6 3 2...

Page 4: ...Z2048EFH064 processor It a very capable PIC32 processor with a lot of interfaces available 6 x UARTs 4 x SPIs 4 x I2Cs 46 x IO pins 24 channel ADC two analog comparators Ethernet USB OTG JTAG TRACE CAN 2 0B DMA etc The board has several ready to use peripherals interfaces exposed and available on connectors an OLED display a MIC intput audio jack connector a microSD card connector micro USB connec...

Page 5: ...d requires power supply Typically for research and development purposes your programmer tool can power the board via the ICSP connector If your debugger programmer is not capable of powering the board then you would need either USB cable 1 or 5V external power supply 2 1 The board has both micro USB connector and USB type A connectors Your cable should be able to fit the board s female connectors ...

Page 6: ...covers a separate topic organized as follows Chapter 1 is an overview of the board usage and features Chapter 2 contains the general board diagram and layout Chapter 3 provides the schematics and the dimensions of the board Chapter 4 provides a guide for quickly setting up the board and software notes Chapter 5 describes the component that is the heart of the board the Microchip s PIC32MZ2048EF pr...

Page 7: ...w changes to the layout 1 The top left mounting hole was removed The bottom left mounting hole was pushed left next to the microSD card connector 2 The RST button is now located rightmost of the group of four buttons instead of leftmost 3 The ground pad VSS pad is now located rightmost at the bottom of the board instead of leftmost 4 The microSD card connector was pushed down as much as possible T...

Page 8: ...lly and physically PIC32 EMZ64 3 1 SCHEMATIC The schematic of hardware revision B of PIC32 EMZ64 is available for reference on the next page The design files are available at the product s web page If you are looking for a schematic of an older revision of the board and it isn t available at our web site you may request it by the support e mail Page 8 of 28 ...

Page 9: ...RD0 46 AERXERR ETXCLK RPD3 SCL3 RD3 51 AN2 C2INB RPB2 RB2 14 AN3 C2INA RPB3 RB3 13 AN4 C1INB RB4 12 AN9 RPB14 SCK3 PMA1 RB14 29 AN10 EMDC AEMDC RPB15 OCFB PMA0 RB15 30 AN11 C2INC RPG9 PMA2 RG9 10 AN12 C2IND RPG8 SCL4 PMA3 RG8 6 AN13 C1INC RPG7 SDA4 PMA4 RG7 5 AN14 C1IND RPG6 SCK2 PMA5 RG6 4 AN15 ETXD1 PMD7 RE7 3 AN16 ETXD0 PMD6 RE6 2 AN17 ETXEN RPE5 PMD5 RE5 1 AN18 ERXERR PMD4 RE4 64 AN45 C1INA RP...

Page 10: ...4 is an open hardware board and the hardware source files are available to you You can download and open the hardware sources with the latest Eagle CAD software the freeware version license is enough and take any measure with the Draw a dimension tool The measurements should be done in the brd file of the board design a good idea would be to disable some of the layers for better visibility of the ...

Page 11: ...eprogrammable pins 34 ADC channels 24 Floating Point Unit Yes Ethernet interface Yes CAN interface Yes UART interfaces 6 I2C interfaces 4 SPI I2S interfaces 4 Processor operating temperature 40ºC to 85ºC The PIC32M2048EF processor that we used packs the following set of features Operating Conditions of the industrial version of the chip 2 1V to 3 6V 40ºC to 85ºC DC to 200 MHz Core 200 MHz up to 33...

Page 12: ...ss DMA Eight channels with automatic data size detection Programmable Cyclic Redundancy Check CRC Advanced Analog Features 12 bit ADC module 18 Msps with up to six Sample and Hold S H circuits five dedicated and one shared 24 analog inputs Can operate during Sleep and Idle modes Multiple trigger sources Six Digital Comparators and six Digital Filters Two comparators with 32 programmable voltage re...

Page 13: ...unction remap Debugger Development Support In circuit and in application programming 4 wire MIPS Enhanced JTAG interface Unlimited software and 12 complex breakpoints IEEE 1149 2 compatible JTAG boundary scan Non intrusive hardware based instruction trace Software and Tools Support C C compiler with native DSP fractional and FPU support MPLAB Harmony Integrated Software Framework TCP IP USB Graphi...

Page 14: ...OLIMEX 2017 PIC32 EMZ64 user s manual 4 2 MICROCONTROLLER BLOCK DIAGRAM A block diagram with main functional parts of the microcontroller as seen in the official Microchip documentation Page 14 of 28 ...

Page 15: ...OLIMEX 2017 PIC32 EMZ64 user s manual 4 3 MICROCONTROLLER MEMORY MAP The microcontroller s memory regions as seen in the official Microchip documentation Page 15 of 28 ...

Page 16: ...e provided pads PWR The board can be powered by external power supply adapter capable of providing 5V of voltage You should connect the 5V wire to the pad with the sign of the PWR connector You also need to connect the ground wire to pad of the same PWR connector The signs of the pins are printed on the board for customer s convenience Different methods of powering would lead to different maximum ...

Page 17: ...tor R57 330Ω is used to prevent fast C61 charge and discharge when PIC32MZ2048 is being programmed Manual reset is possible via the RESET button 5 3 CLOCK CIRCUIT The board uses crystal oscillators to ensure the proper board clocks Oscillator CD1 handles the clock required for the Ethernet This 50MHz oscillator is connected to pin 5 of the Ethernet transceiver LAN8710A Oscillator CD2 provides 24MH...

Page 18: ...ble USB type A connector USB_HOST all jumpers to left position to enable micro USB connector USB_DEV or all jumper removed to disable both USB connectors By default the jumpers are set to right positions the USB type A connector is enabled 6 1 2 CAN_T jumper CAN_T jumper is an SMT jumper located at the bottom of the board It configures whether to have a 120 Ohm termination resistor connected betwe...

Page 19: ...Cannot be programmed 6 3 EXTERNAL CONNECTOR DESCRIPTION In this sub chapter you would find the pinout of peripherals and the connectors on the board It is also a good idea to refer to the latest schematic 6 3 1 ICSP CONNECTOR The ICSP connector is used for serial programming It is the place where most common PIC32 compatible programmers and debuggers are connected The pins have 0 1 step If your pr...

Page 20: ...etween CANL and CANH is disconnected 6 3 3 USB The board has two USB connectors USB_HOST is a type A female connector and USB_DEV is a micro USB connector However only one of them can be connected to the processor at a time By default the USB_HOST connector is active You can disable USB_HOST and enable USB_DEV connector by modifying the position of the three nearby PTH jumpers By default the jumpe...

Page 21: ...a single connector UART I2C and SPI You can use the UEXT connector to access this interfaces easier via jumper wires for example You can also connect expansion modules to the UEXT connectors More on UEXT might be found here https www olimex com Products Modules UEXT Note that you should not provide power to the UEXT connector Pin 1 of the UEXT 3 3V is output Pin Wire name Function 1 3 3V Power out...

Page 22: ...10BASE T 100BASE TX transceiver LAN8710A The board is equipped with standard RJ45 connector The RJ45 connector has two LEDs The green indicates whether a proper 100Mb Ethernet connection is established and the yellow LED indicates whether there is activity on the port LED Color Usage Right Green Link status Left Yellow Activity status The Ethernet chip uses a number of processor pins To avoid conf...

Page 23: ...play The board has a 128x64 pixels OLED display which uses SSD1306 driver The I2C slave address of the display is 0111100b The SSD1306 embeds with contrast control display RAM and oscillator which reduces the number of external components and power consumption It has 256 step brightness control Data Commands are sent from general MCU through the hardware selectable 6800 8000 series compatible Para...

Page 24: ...to the README txt file inside for more details on how to proceed and use the project either re compiling it or using the pre built files Each of the three examples provided has a README txt file inside the archive that contains expected behavior of the code and specific instructions Make sure to first check the README txt file before attempt to use or re compile the examples Build info tested with...

Page 25: ...web site to find it easily PIC KIT3 PIC32 EMZ64 compatible debugger works fine with MPLAB X MPLAB IPE Fits the 6 pin on board connector BATTERY LIPO1400 a standard Li Po battery equipped with a connector that fits the one located on PIC32 HMZ144 Olimex sells a range of such batteries with different capacity JW 200x10 jumper wires with male male connectors and 240mm of length perfect for breadboard...

Page 26: ... mounted R49 and R50 moved from bottom to top 3 Improvements to the position of several components the top left mounting hole removed The bottom left mounting hole pushed to the left the RST button moved rightmost of the group of four buttons instead of leftmost the ground pad VSS pad is now located rightmost at the bottom of the board instead of leftmost the microSD card connector was pushed down...

Page 27: ...e product PIC32 EMZ64 official product page https www olimex com Products PIC Development PIC32 EMZ64 MPLAB Harmony framework flexible abstracted fully integrated firmware development platform for PIC32 microcontrollers MPLAB Harmony page Official Olimex forums https www olimex com forum index php board 21 0 Page 27 of 28 ...

Page 28: ...correct ordered items are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmware changed Because of the nature of the products we deal with prototyping electronic tools we cannot allow returns of items that have been programmed powered up or otherwise changed post ship...

Reviews: