Numato PIC32 MX User manual

www.numato.com Rev 9
PIC32 MX Microcontroller Development Board
User Guide

Get in touc wit us!
Please feel free to send a mail to one of t e mail IDs below or use t e Contact Us page at
http://www.numato.com to drop us a quick message.
Tec nical Help
Got tec nical questions? Please write to help@numato.com
Sales Team
Questions about making payments, volume discounts, academic/open source discounts, purc ase
orders and quotes? Please write to [email protected]
Webmaster
Questions/Suggestions about our website? Please write to webmaster@numato.com
Like us on Facebook! ttps://www.facebook.com/numato
Visit our blog http://www.numato.cc for news, updates and specials.
Mailing Address
Numato Systems Pvt Ltd
1st Floor, #56C Wipro Avenue
P ase 1 - Electronic City
Bangalore, KA-560100, India
* Mail orders, p one orders and direct pick up are not available at t is time. Please visit our online store to place your order. Estimated s ipping time to
your address will be displayed in t e s opping cart before c eckout.
You may use, modify or s are t is publication or part of t ereof ad ering to Creative
Commons Attribution-S areAlike 3.0 Unported (CC BY-SA 3.0) License.
See complete license text at ttp://creativecommons.org/licenses/by-sa/3.0/
All trademarks are property of t eir respective owners.

1 PIC32 MX Microcontroller Development Board – User Guide
Introduction
Numato Lab's PIC32 MX Development board wit Microc ip HID boot loader preprogrammed is a
versatile product for controlling electrical and electronic devices remotely from a PC over USB link.
T is board can be conveniently powered by USB or by an external power supply for standalone
applications. Preprogrammed boot loader elps you to start testing your programs wit out even
buying a programmer. Ease of use and wider operating system compatibility are t e primary goals
be ind t is product's design. Built in USB to serial conversion allows t e module to be used wit out
any USB specific knowledge.
Features
•PIC32MX795F512H 64 pin 32 bit MIPS based microcontroller.
•512K Program memory and 128K data RAM.
•Up to 80MHZ system clock.
•Hig speed GPIOs (Can toggle at 80MHZ speed).
•1.6mm FR4 board wit top and bottom W ite silk screen.
•USB Mini connector.
•Powered from USB or external 5V supply.
•Large board Ample prototyping area.
•Board size 3.9×3.15”(100×80mm).
•ICSP/ICD eader compatible wit pic kit and ot er popular programmers.
•On board 3.3V precision voltage regulator.
•8MHZ crystal.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

2 PIC32 MX Microcontroller Development Board – User Guide
How to use the module
T e following section describes ow to use t is module.
Components/Tools required
Along wit t e module, you may need t e items in t e list below for easy and fast installation.
1. USB A to Mini B cable.
2. Medium size P ilips screw driver.
Connection Details
IMPO TANT Please exercise utmost caution while working with electrical mains or other
high voltages. Failure to comply with safety regulations may result in injury and or death.
Connection Diagram
Above image s ows basic connection diagram t at can be used in most of t e situations. Use a USB A
to Mini B cable for connection to PC. T e following sections identify individual connections in detail.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

3 PIC32 MX Microcontroller Development Board – User Guide
USB Interface
T e on board full speed USB controller elps a PC/Linux computer to communicate and
control t is module seamlessly. Use a USB A to Mini B cable to connect wit a PC. By
default, t e logic section of t e module is powered from USB so make sure not to
overcrowd unpowered USB ubs(t e picture on t e rig t s ows USB Mini B connector).
Visit ttp://numato.com/cables-accessories to buy cables and accessories for t is product.
DC Power Supply
T is module uses 3.3V precision voltage regulator. By default the board is configured to
use +5V supply from USB. So an external +5V power is not required unless USB port is
unable to supply enough current. In most cases USB ports are capable of providing
enough current for the module. If for any reason, an external power supply needs to be
used for t e logic section of t e module, t e power select jumper K1 s ould be configured
properly before connecting t e power supply. Make sure to connect t e power supply in correct
polarity. Connect t e positive terminal of t e power supply to t e +5V terminal on t e module.
Using a product similar to Numato's DC Barrel Jack Adapter is recommended if
t e power supply as a Barrel Jack connector (See t e image on rig t).
Connecting power supply incorrectly can cause damage to t e module and/or ot er devices.
JTAG Connector
JTAG connector provides access to Microcontroller's JTAG pins. A XILINX platform cable can be used to
for JTAG programming.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

4 PIC32 MX Microcontroller Development Board – User Guide
GPIOs
T is board is equipped wit 47 GPIO pins t at can be used for various custom applications. T e
module as GPIO pins available on separate square pads for easy prototyping. Some of t ese pins can
be used as Analog to Digital Converter inputs as well. In output mode, eac digital IOs can source up
to 25mA. So no additional circuitry is needed to drive regular LED's. A 470 O ms series resistor is
recommended for current limiting w en connecting LED to an IO.
In contrast to GPIOs Analog inputs can read voltages at any level between 0 to 3.3V volts. It is
recommended to use a series resistor to protect t e input from stray voltages and spikes. T e internal
Analog to Digital converter supports 10 bits resolution w ic is adequate for most applications. T e
table below summarizes t e GPIOs input positions on t e terminals. Pin assignments on t e
connectors are available in t e tables below.
HEADER P1
Header pin no Pin Details
1 RG9
2 RB5
3 RB4
4 RB3
5 RB2
6 RB1
7 RB0
8 PGC/RB6
9 PGD/RB7
HEADER P2
Header pin no Pin Details
1 TDO/RB11
2 TCK/RB12
3 TDI/RB13
4 RB14
5 RB15
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

5 PIC32 MX Microcontroller Development Board – User Guide
6 RF4
7 RF5
8 RD7
9 RF3
HEADER P5
Header pin no Pin Details
1 RG8
2 RG7
3 RG6
4 RE7
5 RE6
6 RE5
7 RE4
8 RE3
9 RE2
10 RE1
11 RE0
12 RF1
13 RF0
HEADER P5
Header pin no Pin Details
1 RD8
2 RD9
3 RD10
4 RD11
5 RD0
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

6 PIC32 MX Microcontroller Development Board – User Guide
6 RC13
7 RC14
8 RD5
9 RD4
10 RD3
11 RD1
12 RD2
13 RD6
HEADER K2
Header pin no Pin Details
1 TMS/RB10
2 RB9
3 RB8
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

7 PIC32 MX Microcontroller Development Board – User Guide
How to upload firmware
Most of Numato Lab's USB based products are s ipped wit pre-programmed bootloader to elp wit
field firmware updates. Please follow t e steps below to update t e firmware on your product.
1. Identify if your device supports field firmware upgrade
Only USB based devices support field firmware update at t is time. If t e device does not ave
a USB connector, c ances are t at t e device does not support field firmware update. Not all
USB based devices guaranteed to ave field firmware update support eit er. If t e device
support field firmware update, t ere s ould be a two pin eader or pus button switc on
board wit name similar to “FWUP” or “FWUPDATE”. T oroug ly inspect t e board and c eck
if suc a eader is present. If t ere is no suc jumper is present, c ances are t at t e device
does not support field firmware update. See examples of firmware update eader below.
2.
2.
2.
2.
2.
Install prerequisites
T e firmware upgrade application currently supported on Windows only. It is important to
make sure t at all prerequisites are installed before running t e application. Following needs
to be installed before continuing wit firmware upgrade.
•MS VC++ 2008 redistributable package
•MS .Net Framework 2.0
Skip t is step if t ese packages are already installed on your mac ine. Installers for t ese two
packages are available under “prerequisites” folder in t e zip package t at is provided wit t is
document. Run t e appropriate installers and follow on screen instructions to complete
installation.
3. Connecting your hardware to the PC
To activate t e bootloader present on t e device, press t e firmware update pus button
switc . Once it is s ort circuited, connect t e device to t e PC using an appropriate USB cable.
Please note t at w en bootloader is activated, normal features and functions will not be
accessible.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

8 PIC32 MX Microcontroller Development Board – User Guide
4. Downloading the firmware
Run downloader.exe found under bin folder. If everyt ing is setup correct, you s ould be
presented wit t e following screen.
If you are unable to run t e application, please make sure t at all prerequisites are installed. If
t e “Open Hex File” button is grayed out, it means t at t e bootloader on t e device is not
activated. Please make sure t at t e device support field firmware update and revisit step 4 to
properly connect t e device to PC.
To download t e firmware, click on t e “Open Hex File” button, browse and select t e ex file
for t e product. W en t e ex file is selected, t e “Program/Verify” button s ould activate.
Click t e “Program/Verify” button to complete firmware download.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

9 PIC32 MX Microcontroller Development Board – User Guide
Tec nical Specifications
Parameter * Value Unit
Basic Specifications
Number of Digital IOs 47
Number of analog inputs 16
Digital circuit power supply voltage (External) 5 V
Digital circuit power supply voltage (USB) 5 V
Maximum current drawn by digital circuitry 250 mA
IO Specifications
Maximum IO source current 25 mA
Maximum IO sink current 25 mA
Digital IO input low voltage 0.8 V
Digital IO input ig voltage 3.3 V
Digital IO output low voltage 0 V
Digital IO output ig voltage 3.3 V
ADC Specifications
Resolution 10 bits
Full scale range 0 – VDD V
Reference voltage VDD V
Recommended Impedance of Analog Voltage Source 2.5 KΩ
* All parameters considered nominal. Numato Systems Pvt Ltd reserve t e rig t to modify products wit out notice.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

10 PIC32 MX Microcontroller Development Board – User Guide
FAQ
Q. W at is t e connector marked as ICSP on t is module?
A. T is connector is used to program t e on-board microcontroller. T is connector is primarily intended for factory use.
Q. I need a customized version of t is product, can Numato do t e customization for me?
A. Yes, we can definitely do customization but t ere may be minimum order requirements depending on t e level of
customization required. Please write to [email protected]om for a quote.
Q. W ere can I buy t is product?
A. All Numato products can be ordered directly from our web store ttp://www.numato.com. We accept major credit
cards and Paypal and s ip to almost all countries wit a few exceptions. We do ave distributors in many countries w ere
you can place your order. Please find t e current list of distributors at ttp://numato.com/distrib.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

11 PIC32 MX Microcontroller Development Board – User Guide
P ysical Dimensions
Schematics
See next page.
©2015 NUMATO SYSTEMS PVT LTD
www.numato.com

1
1
2
2
3
3
4
4
5
5
A A
B B
C C
Date: 19 jun 2015
KiCad E.D.A. Rev:Size: A4 Id: 1/1
Title: PIC32MXDevelopmentBoard
File: PIC32MXDevelopmentBoard.sch
Sheet: /
Numato Lab
http://www.numato.com
License : CC BY-SA
RD7
C10
100uF
VDD
SW1
SW_PUSH
SW2
SW_PUSH
R8
1k
VDD
D2
DIODESCH
VDD
1
2
P3
V-EXTERNAL
C12
C
RESET
VBUS
5V
1
2
3
K1
TMS/RB10
RB9
RB8
1
2
3
K2
RD8
RF5
RF4
RF3
RB15
RB14
TDI/RB13
TCK/RB12
TD0/RB11
PGD/RB7
PGC/RB6
RG9
RB5
RB4
RB3
RB2
RB1
RB0
1
2
3
4
5
6
7
8
9
P2
1
2
3
4
5
6
7
8
9
P1
RG8
RG7
RG6
RF1
RF0
RE7
RE6
RE5
RE4
RE3
RE2
RE1
RE0
1
2
3
4
5
6
7
8
9
10
11
12
13
P5
RD7 RD6
RD5
RD4
RD3
RD2
RD1
RD0
RC14
RC13
RD11
RD10
RD9
1
2
3
4
5
6
7
8
9
10
11
12
13
P6
RG6
RG7
RG8
RG9
RF5
RF4
RF3
RF1
RF0
RE7
RE6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CN6/RB4
12
AN9/C2OUT/PMA7/RB9
22
AC1RX/SCL3A/SDO3A/U3AT/PMA8/CN18/RF5 32
RTCC/IC1/INT1/RD8 42
OC5/IC5/PMWR/CN13/RD4 52
PMD2/RE2 62
AN3/C2IN+/CN5/RB3
13
TSM/AN10/CVrefout/PMA13/RB10
23
USBID/RF3 33
SS1A/U1BRX/U1ACTS/SDA1/IC2/INT2/RD9 43
PMRD/CN14/RD5 53
PMD3/RE3 63
AN2/C2IN-/CN4/RB2
14
TDO/AN11/PMA12/RB11
24
VBUS
34
SCL1/IC3/PMCS2/PMA15/INT3/RD10 44
CN15/RD6 54
PMD4/RE4 64
PGEC1/AN1/Vref-/CVref-/CN3/RB1
15
VSS
25
VUSB
35
IC4/PMCS1/PMA14/INT4/RD11 45
CN16/RD7 55
PGED1/AN0/Vref+/CVref+/PMA6/CN2/RB0
16
VDD 26
D-/RG3 36
OC1/INT0/RD0 46
VCAP/VDDCORE
56
PGEC2/AN6/OCFA/RB6
17
TCK/AN12/PMA11/RB12
27
D+/RG2 37
SOSCI/CN1/RC13
47
VDD 57
PGED2/AN7/RB7
18
TDI/AN13/PMA10/RB13
28
VDD 38
SOSCO/T1CK/CN0/RC14
48
C1RX/RF0 58
AVDD 19
AN14/SCK3A/U3BTX/U3ARTS/PMALH/PMA1/RB14
29
OSC1/CLKI/RC12
39
SCK1A/U1BTX/U1ARTS/OC2/RD1 49
C1TX/RF1 59
U2
PIC32MX795F512H-TQFP64
VSELECT
FWUP
Table of contents