Mikroe 597
Mikroe 597
for PIC32 ®
™
PIC32
TO OUR VALUED CUSTOMERS
I want to express my thanks to you for being interested in our products and for having
confidence in Mikroelektronika.
The primary aim of our company is to design and produce high quality electronic products
and to constantly improve the performance thereof in order to better suit your needs.
Nebojsa Matic
General Manager
The PIC32® and Windows® logos and product names are trademarks of Microchip Technology® and Microsoft® in the U.S.A. and other countries.
Table of Contents
Introduction to mikromedia for PIC32® 4 Programming with mikroProg™ programmer 16
Package Contains 5 mikroProg Suite™ for PIC® Software 17
Key Features 6 Programming with ICD2 or ICD3 programmer 18
® ®
Page 3
Introduction to mikromedia for PIC32®
The mikromedia for PIC32® is a compact
development system with lots of on-board
peripherals which allow development of devices
with multimedia contents. The central part of
the system is a 32-bit PIC32MX460F512L
microcontroller. The mikromedia for PIC32®
features integrated modules such as stereo MP3
codec, TFT 320x240 touch screen display,
accelerometer, USB connector, audio connector,
MMC/SD card slot, 8 Mbit flash memory, 2x26
connection pads and other. It comes pre-
programmed with USB HID bootloader, but can
also be programmed with external programmers,
such as mikroProg™ or ICD2/3. Mikromedia is
compact and slim, and perfectly fits in the palm
of the hand, which makes it convenient platform
for mobile devices.
Page 4
Package Contains
ILERS
• • • • • • • •
COMP
• MIK
ROC
• •
• , MI
KRO
• • BA
• • SIC
• • ,M
RE IK
WA RO
FT PA
L SO SC
AL
NA CO
IO
M
DI
PI
AD
PRODUCT DVD
LE
RS
•
•
•
•
•
•
•
•
• •
• •
• •
• •
• •
S
PLE
DRI
www.mikroe.com
EXAM
VER
www.libstock.com
S
• • • •
BOARDS • • • • • • • • •
PROGRAMM • • • • •
SSORY
ERS A
ACCE
ND D
•
EBU
• •
• •
GG
ER
• •
S
• •
• •
S
TIC
• •
•
MA
•
•
•
HE
•
Copyright ©2012 Mikroelektronika.
M
All rights reserved. MikroElektronika, MikroElektronika logo and other
IK
RO
SC MikroElektronika trademarks are the property of MikroElektronika.
M
ED
All other trademarks are the property of their respective owners.
• IA
•
• BO
Unauthorized copying, hiring, renting, public performance
•
•• AR
• • and broadcasting of this DVD
DS
S• • •
RD is strictly prohibited.A • •
••
MAN BO • •
NT •
UALS PME
• • •• • • • • • D
EVELO
Page 5
Key Features 09
01 Connection Pads
02 TFT 320x240 display
03 USB MINI-B connector
04 CHARGE indication LED
05 LI-Polymer battery connector 01
06 3.5mm headphone connector
07 Power supply regulator
08 Serial Flash memory
09 RESET button
10 VS1053 Stereo mp3 coder/decoder
11 PIC32MX460F512L microcontroller
12 Accelerometer 02
13 Crystal oscillator
14 Power indication LED
15 microSD Card Slot
16 ICD2/3 connector
17 mikroProg connector
Page 6
03 04 05
06 System Specification
07 power supply
Via USB cable (5V DC)
08
power consumption
10
58 mA with erased MCU
(when on-board modules are inactive)
11 board dimensions
12 81.2 x 60.5mm (3.19 x 2.38 inch)
weight
13
~50 g (0.11 lbs)
14
15
16 17
Page 7
1. Power supply
USB power supply
You can apply power supply to the board
using MINI-B USB cable provided with
the board. On-board voltage regulators
provide the appropriate voltage levels
to each component on the board. Power
LED (GREEN) will indicate the presence of
power supply.
Page 8
VCC-SYS VCC-USB
VCC-SYS
CN3
PMEG3010ER
D1
5 HDR1 HDR2
GND
4
ID 1 27
DATA BUS
DMP2160UW 3
FP2 D+ 2 28
M1 2
FERRITE D- 3 29
1
VBUS 4 30
5 31
VCC-BAT C28 6 32
R43 10nF USB MINIB
7 33
CN1 10K 8 34
BATT CONN 9 35
10 36
11 37
VCC-3.3 VCC-1.8 12 38
VCC-BAT 13 39
C29 E10 14 40
R6 15 41
4K7 VCC-1.8
VREF-1.8 VCC-1.8 16 42
2.2uF 10uF
R49 FP3 U3 17 43
4K7 1 5 R47 18 44
VSENSE FERRITE Vin Vout 220K
2 19 45
E11 GND
R34 3 4 20 46
10uF EN ADJ
4K7 21 47
MIC5205-ADJ R46 22 48
100K 23 49
R50 24 50
0R VCC-3.3 25 VCC-3.3 51
VCC-3.3
26 52
Figure 1-3: Power supply schematics M1X26 M1X26
R39
VCC-3.3 4K7 VCC-3.3
Page 9
2. PIC32MX460F512L microcontroller
MIPS M4K 32
The mikromedia for PIC32® development system comes with the
PIC32
-bit core
- 80MHz, 1.
5 DMIPS/MHz
PIC32MX460F512L microcontroller. This high-performance 32-bit - 5 Stage Pi
peline, 32-b
it ALU
microcontroller with its integrated modules and in combination with Trace 32-bit 32 Core
other on-board modules is ideal for multimedia applications. JTAG HW Registers
Mul/Div
Shadow Se DMA 2-wire
t 4Ch USB
Instruction Debug
Data OTG
Key microcontroller features
Bus Matrix
- 1.56 DMIPS/MHz, 32-bit MIPS M4K Core;
Prefetch
- 512K Flash (plus 12K boot Flash); Buffer Cach Flash SRAM
e Interrupt GPIO
- 32K RAM (can execute from RAM); Controller (85) VREG
Page 10
3. Programming the microcontroller
Figure 3-1:
PIC32MX460F512L
microcontroller
http://www.mikroe.com/downloads/get/1605/
mikrobootloader_pic32_v200.zip
01
After the mikroBootloader software is downloaded, unzip it to
desired location and start it.
01
01
02
01 Click the Browse for HEX button and from a 01 Select .HEX file using open dialog window.
pop-up window (Figure 3.4) choose the .HEX file
02 Click the Open button.
which will be uploaded to MCU memory.
Page 13
step 4 – Uploading .HEX file
01
01
Figure 3-5: Begin uploading Figure 3-6: Progress bar
01 To start .HEX file bootloading click the 01 Progress bar enables you to monitor .HEX file upload-
Begin uploading button. ing.
Page 14
step 5 – Finish upload
01
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job
Page 15
Programming with mikroProg™
programmer The microcontroller can be programmed with mikroProg™
programmer and mikroProg Suite™ for PIC® software. The
mikroProg™ programmer is connected to the development
system via the CN6 connector, Figure 3-9.
mikroProg™ is a
fast USB 2.0 programmer
with mikroICD™ hardware
In-Circuit Debugger. Smart engineering
allows mikroProg™ to support PIC10®,
PIC12®, PIC16®, PIC18®, dsPIC30/33®, PIC24® and
PIC32® devices in a single programmer. It supports over
570 microcontrollers from Microchip®. Outstanding performance,
Figure 3-9:
easy operation and elegant design are it’s key features.
Connecting mikroProg™ to mikromedia™
Page 16
mikroProg Suite™ for PIC® Software
PIC32
Page 17
Programming with
ICD2® or ICD3® programmer
The microcontroller can be also programmed with ICD2®
or ICD3® programmer. These programmers connects
with mikromedia board via ICD2 CONNECTOR BOARD.
Figure 3-12:
Connecting ICD2®
or ICD3® programmer
Page 18
Vcap
E9 10uF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
C7 C8 C25
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
100nF 100nF 100nF
U1
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
1 75
RG15 VSS
2 74 VCC-3.3 VCC-3.3 VCC-3.3
VDD RC14
3 73
RE5 RC13
4 72
RE6 RD0 E8 C5 C6
5 71
RE7 RD11
6 70 10uF 100nF 100nF
RC1 RD10
7 69
RC2 RD9
8 68
RC3 RD8
9 67
RC4 RA15
10 66
RG6/SCK2 RA14
11 65
RG7/SDI2 VSS
12 64
PIC32MX460F512L
RG8/SDO2 OSC2
MCLR# 13 63
MCLR OSC1 VCC-3.3
14 62
RG9 VDD CN5
15 61
VSS RA5 MCLR#
16 60 6
VDD RA4
17 59 5
RA0/TMS SDA2/RA3
18 58 4
ICD2/3
RE8/INT1 SCL2/RA2 PGD2
19 57 3
RE9/INT2 D+/RG2 PGC2
20 56 2
RB5 D-/RG3
21 55 1
RB4 VUSB R3 100
22 54 RB7
RB3 VBUS M1X6
23 53
RB2 U1TX/RF8 R15 100
RA10/VREF+
24 52 RB6
RB1 U1RX/RF2
25 51
RB0 RF3 VCC-3.3
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
CN6
1
PGC2
2
mikroProg
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PGD2
3
MCLR#
4
5
PGD2
PGC2
M1X5
Figure 4-1: Location of additional reset button Figure 4-2: Frontal reset button
Page 20
Vcap
E9 10uF
VCC-3.3
R8
10K
VCC-3.3
RST
T2 T1
C3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
C31 22pF
U1 100nF
BUTTON
BUTTON
32.768kHz
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
X3
1 75
RG15 VSS
2 74 SOSCO
VDD RC14
3 73 SOSCI C30 22pF
RE5 RC13
4 72
RE6 RD0
5 71
RE7 RD11
6 70 HDR2
RC1 RD10 RST
7 69 27
RC2 RD9
8 68 C2 22pF 28
RC3 RD8
9 67 29
RC4 RA15
10 66 30
8MHz
RG6/SCK2 RA14 X1
11 65 31
RG7/SDI2 VSS 32
12 64 CLKO
PIC32MX460F512L
R7 RG8/SDO2 OSC2 33
RST 13 63 CLKI C1 22pF
MCLR OSC1 34
14 62
100 RG9 VDD 35
15 61 36
VSS RA5
16 60 37
VDD RA4 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
17 59 38
RA0/TMS SDA2/RA3
18 58 39
RE8/INT1 SCL2/RA2
19 57 C7 C8 C25 E8 C5 C6 40
RE9/INT2 D+/RG2 41
20 56
RB5 D-/RG3 100nF 100nF 100nF 10uF 100nF 100nF 42
21 55
RB4 VUSB 43
22 54
RB3 VBUS 44
23 53
RB2 U1TX/RF8 45
RA10/VREF+
24 52 46
RB1 U1RX/RF2
25 51 47
RB0 RF3
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
48
RF13
RF12
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
49
50
VCC-3.3 51
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
52
M1X26
32.768kHz
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
X3 C7 C8 C25
1 75
RG15 VSS 100nF 100nF 100nF
2 74 SOSCO
VDD RC14
3 73 SOSCI C30 22pF
RE5 RC13
4 72
RE6 RD0
5 71
RE7 RD11
6 70
RC1 RD10 VCC-3.3 VCC-3.3 VCC-3.3
7 69
RC2 RD9
8
9
RC3
RC4
RD8
RA15
68
67
C2 22pF
E8 C5 C6 Figure 5-1:
10 66
8MHz
X1
External crystal
RG6/SCK2 RA14 10uF 100nF 100nF
11 65
RG7/SDI2 VSS
12 64 CLKO
PIC32MX460F512L
RG8/SDO2 OSC2
13 63 CLKI C1 22pF
14
15
MCLR
RG9
OSC1
VDD
62
61
oscillator (X1)
VSS RA5
16 60
VDD RA4
17 59
RA0/TMS SDA2/RA3
18 58
RE8/INT1 SCL2/RA2
19 57
RE9/INT2 D+/RG2
20
21
RB5
RB4
D-/RG3
VUSB
56
55 Figure 5-2:
22 54
Crystal oscillator schematic
RB3 VBUS
23 53
RB2 U1TX/RF8
RA10/VREF+
24 52
RB1 U1RX/RF2
25 51
RB0 RF3
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
NOTE : The use of crystal in all other schematics is implied even if it is purposely
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
VCC-3.3
Figure 6-1:
100
32.768kHz
C7 C8 C25
microSD card slot
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
X3
1 75 100nF 100nF 100nF
RG15 VSS
2 74 SOSCO
VDD RC14
3 73 SOSCI C30 22pF
RE5 RC13
4 72
RE6 RD0
5 71
RE7 RD11
6 70 VCC-3.3 VCC-3.3 VCC-3.3
RC1 RD10
7 69
RC2 RD9
8 68 C2 22pF E8 C5 C6
RC3 RD8
9 67
R5 27 RC4 RA15
8MHz
SCK2-RG6 10 66 10uF 100nF 100nF
RG6/SCK2 RA14 X1
MISO2-RG7 11 65
RG7/SDI2 VSS
MOSI2-RG8 12 RG8/SDO2 64 CLKO
PIC32MX460F512L
OSC2
R4 27 13 63 CLKI C1 22pF
MCLR OSC1
SD-CS# 14 62
RG9 VDD
15 61
VSS RA5
16 60
VDD RA4 VCC-MMC VCC-3.3
17 59
RA0/TMS SDA2/RA3 FP1
18 58
RE8/INT1 SCL2/RA2
19 57 FERRITE
RE9/INT2 D+/RG2
20 56 E6 10uF
RB5 D-/RG3
21 55
RB4 VUSB
22 54
RB3 VBUS
23 53 C38 100nF
RB2 U1TX/RF8
RA10/VREF+
24 52
RB1 U1RX/RF2
25 51 VCC-MMC
RB0 RF3
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
SD-CS# 1
CS
MOSI2-RG8 2
Din
4
SD-CD#
+3.3V
SCK2-RG6 5
SCK
6
Figure 6-3:
R16 GND
MISO2-RG7 7
Dout
27
SD-CD#
Figure 6-2:
microSD Card Slot module connection schematic
Page 23
7. Touch Screen The development system features a TFT 320x240 display covered with a resistive
touch panel. Together they form a functional unit called a touch screen. It enables data
to be entered and displayed at the same time. The TFT display is capable of showing
graphics in 262.144 different colors.
Figure 7-1:
Touch Screen
Page 24
Vcap
E9 10uF
VCC-SYS VCC-3.3
PMRD
PMD10
PMD11
PMD15
PMD14
PMD13
PMD12
PMD4
PMD3
PMD2
PMD1
PMD0
PMD8
PMD9
PMWR
TFT1
VCC-3.3 1
LED-K
2
Q1 LED-A1
3
R23 BC846 LED-A2
100
4
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-SYS LED-A3
5
U1 1K LED-A4
6
IM0
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
LCD-BLED D2 7
R40 IM1
1 75 8
RG15 VSS Q2 12 IM2
2 74 BAT43 9
VDD RC14 BC846 IM3
PMD5 3 73 LCD-RST 10
RE5 RC13 RESET
PMD6 4 72 11
RE6 RD0 VSYNC
PMD7 5 71 12
RE7 RD11 HSYNC
LCD-RST 6 70 Q3 13
RC1 RD10 DOTCLK
7 69 BC846 14
RC2 RD9 ENABLE
8 68 PMD15 15
RC3 RD8 VCC-3.3 DB17
9 67 PMD14 16
RC4 RA15 DB16
10 66 VCC-3.3 VCC-3.3 VCC-3.3 PMD13 17
RG6/SCK2 RA14 E13 DB15
11 65 PMD12 18
RG7/SDI2 VSS DB14
12 64 C7 C8 C25 PMD11 19
PIC32MX460F512L
RG8/SDO2 OSC2 10uF DB13
13 63 PMD10 20
MCLR OSC1 100nF 100nF 100nF DB12
14 62 PMD9 21
RG9 VDD DB11
15 61 PMD8 22
VSS RA5 DB10
16 60 VCC-3.3 VCC-3.3 23
VDD RA4 DB9
17 59 PMD7 24
RA0/TMS SDA2/RA3 DB8
18 58 R25 PMD6 25
RE8/INT1 SCL2/RA2 VCC-3.3 VCC-3.3 VCC-3.3 R24 DB7
19 57 10K PMD5 26
RE9/INT2 D+/RG2 10K DB6
20 56 PMD4 27
RB5 D-/RG3 DB5
21 55 E8 C5 C6 LCD-RST PMD3 28
RB4 VUSB DB4
22 54 LCD-CS# PMD2 29
RB3 VBUS 10uF 100nF 100nF DB3
23 53 PMD1 30
RB2 U1TX/RF8 DB2
RA10/VREF+
24 52 PMD0 31
RB1 U1RX/RF2 DB1
25 51 32
RB0 RF3 DB0
33
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
SDO
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5 34
SDI
VCC-3.3 VCC-3.3 PMRD 35
RD
PMWR 36
WR/SCL
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
LCD-YU 41
LCD-CS#
VCC
LCD-YD
LCD-YU
LCD-XR
LCD-RS
LCD-XL
42
VCC-I
43
GND
LCD-XR 44
XR
LCD-YD 45
YD
LCD-XL 46
XL
LCD-YU 47
YU
MI0283QT2
Figure 8-1:
On-board VS1053
MP3 codec
Figure 8-2:
Inserting 3.5mm The mikromedia for PIC32® features stereo audio codec VS1053. This module
headphones jack enables audio reproduction by using stereo headphones connected to the
system via a 3.5mm connector CN2. All functions of this module are controlled
by the microcontroller over Serial Peripheral Interface (SPI).
Page 26
Vcap
E9 10uF
100 VCC-3.3
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
VCC-3.3
MP3-DREQ
MP3-RST#
U1
VCC-1.8 VCC-3.3 E2
R33
R
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
R19
10K
MP3-CS# 1 75 470
RG15 VSS 10uF R18
2 74 MP3-CS# C18
VDD RC14 100K
3 73 3.3nF
RE5 RC13 MP3-RST#
4 72
RE6 RD0
5 71
RE7 RD11 E1
6 70 R2 R32
RC1 RD10 L
12
11
10
9
8
7
6
5
4
3
2
1
7 69 MP3-RST# 10K
RC2 RD9 U2 470
8 68 MP3-DREQ 10uF R17
RC3 RD8 C17
9 67
GPIO7
GPIO6
GPIO3
GPIO2
DREQ
CVDD1
IOVDD0
CVDD0
DGND0
XRESET
MCN
MCP/LN1
R5 27 RC4 RA15 3.3nF 100K
SCK2-RG6 10 66
RG6/SCK2 RA14
MISO2-RG7 11 65 MP3-BSYNC 13 48
RG7/SDI2 VSS XDCS/BSYNC LN2
MOSI2-RG8 12 64 14 47 CN2
PIC32MX460F512L
RG8/SDO2 OSC2 IOVDD1 AGND3
13 63 R28 10
R4 27 MCLR OSC1 15 46 LEFT LEFT
14 62 VCO LEFT
RG9 VDD 16 45
15 61 DGND1 AVDD2
VSS RA5 17 44
16 60 XTALO RCAP R29 10
18
VS1053
VDD RA4 43 RIGHT
17 59 XTALI AVDD1
RA0/TMS SDA2/RA3 19 42 GBUF
VCC-3.3 VCC-3.3 VCC-3.3 18 58 IOVDD2 GBUF
RE8/INT1 SCL2/RA2 R1 1M 20 41
19 57 DGND2 AGND2
RE9/INT2 D+/RG2 21 40 PHONEJACK
C7 C8 C25 20 56 DGND3 AGND1
RB5 D-/RG3 22 39 RIGHT
21 55 DGND4 RIGHT
RB4 VUSB MP3-CS# 23 38
100nF 100nF 100nF 22 54 XCS AVDD0
RB3 VBUS 24 37 C13
23 53 CVDD2 AGND0 R30 R31 R27
RB2 U1TX/RF8
RA10/VREF+
X2 1uF 20 20 10
24 52
CVDD3
C19 C20
XTEST
GPIO5
GPIO0
GPIO1
GPIO4
RB1 U1RX/RF2 12.288MHz
SCLK
GND
25 51 C15 C16 C14
SO
RX
RB0 RF3
TX
SI
AVDD
RD14
RD15
22pF 22pF
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
VDD
VDD
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
25
26
27
28
29
30
31
32
33
34
35
36
E8 C5 C6
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
GPIO
VCC-1.8 VCC-1.8 VCC-1.8 VCC-1.8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
R20 R21
MP3-BSYNC
R22
MOSI2-RG8
MISO2-RG7
10K VCC-3.3 27 C4 C9 C10 C11 C12 C23 C24 C26 C27
SCK2-RG6
10K
100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF
Page 28
Vcap
E9 10uF
VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3
C7 C8 C25
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
C31 22pF 100nF 100nF 100nF
U1
32.768kHz
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
X3
1 75
RG15 VSS
2 74 SOSCO
VDD RC14 VCC-3.3 VCC-3.3 VCC-3.3
3 73 SOSCI C30 22pF
RE5 RC13
4 72
RE6 RD0 E8 C5 C6
5 71
RE7 RD11
6 70
RC1 RD10 10uF 100nF 100nF
7 69
RC2 RD9
8 68 C2 22pF
RC3 RD8
9 67
RC4 RA15
8MHz
10 66 X1
RG6/SCK2 RA14
11 65
RG7/SDI2 VSS
12 64 CLKO J3
RG8/SDO2 RF3 1
PIC32MX460F512L
OSC2
13 63 CLKI C1 22pF
MCLR OSC1
14 62
RG9 VDD USB-ID-RF3 2
15 61
VSS RA5
16 60 USB-ID 3
VDD RA4
17 59
RA0/TMS SDA2/RA3
18 58 SMD JUMPER
RE8/INT1 SCL2/RA2
19 57 USBDP
RE9/INT2 D+/RG2
20 56 USBDM
RB5 D-/RG3
21 55
RB4 VUSB
22 54 USB-DET
RB3 VBUS CN3
23 53 USB-DET
RB2 U1TX/RF8
RA10/VREF+
24 52 5
RB1 U1RX/RF2 GND
25 51 USB-ID-RF3 R14 USB-ID 4
RB0 RF3 ID
USBDP 3
AVDD
100
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
D+
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
USBDM 2
FP2 D-
1
VCC-USB VBUS
FERRITE
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
C28
10nF USB MINIB
VCC-3.3
C33 C32
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
100nF 100nF
U1 VCC-3.3 R13 R12
10K 10K
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
SCL2-RA2
1 75
RG15 VSS
14
2 74 U9
VDD RC14
3 73 1 13 SDA2-RA3
SCL
RE5 RC13 VCC SDA
4 72 2 12 ACC ADDRESS
RE6 RD0 GND ADD
5 71 3 11
RE7 RD11
6
7
RC1
RC2
RD10
RD9
70
69
4
5
Res
GND
Res
NC
10
9
VCC-3.3
Figure 10-1:
8 68 GND INT2
Accelerometer
RC3 RD8 6 8
9 67 VCC INT1
CS
RC4 RA15
3
10 66
RG6/SCK2 RA14 ADXL345
11 65
module
7
RG7/SDI2 VSS
12 64 J1
PIC32MX460F512L
RG8/SDO2 OSC2
13 63 SMD JUMPER
MCLR OSC1
14 62
RG9 VDD
15 61
VSS RA5
16 60
VDD RA4 VCC-3.3 VCC-3.3 VCC-3.3
17 59 SDA2-RA3
RA0/TMS SDA2/RA3
18 58 SCL2-RA2
RE8/INT1 SCL2/RA2 C7 C8 C25
19 57
20
21
RE9/INT2
RB5
D+/RG2
D-/RG3
56
55
100nF 100nF 100nF You can set the accelerometer
RB4 VUSB
24 52
25
RB1
RB0
U1RX/RF2
RF3
51
VCC-3.3 VCC-3.3 VCC-3.3 Figure 10-2: SMD jumper (zero-ohm resistor) to the
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
E8 C5 C6
Accelerometer appropriate position. Jumper is placed
10uF 100nF 100nF
connection
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Vcap
E9 10uF
VCC-3.3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
U1
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
1 75
RG15 VSS VCC-3.3 VCC-3.3 VCC-3.3
2 74
VDD RC14
3 73
RE5 RC13
4 72 C7 C8 C25
RE6 RD0
5 71
RE7 RD11 100nF 100nF 100nF
6 70
RC1 RD10
FLASH-CS# 7
8
RC2
RC3
RD9
RD8
69
68 Figure 11-1:
9 67
Flash memory module
R5 27 RC4 RA15
SCK2-RG6 10 66
RG6/SCK2 RA14 VCC-3.3 VCC-3.3 VCC-3.3
MISO2-RG7 11 65
RG7/SDI2 VSS
MOSI2-RG8 12 64
PIC32MX460F512L
RG8/SDO2 OSC2 E8 C5 C6
13 63
R4 27 MCLR OSC1
14 62
RG9 VDD 10uF 100nF 100nF
15 61
VSS RA5
16 60
17
18
VDD
RA0/TMS
RA4
SDA2/RA3
59
58
Since multimedia applications are
RE8/INT1 SCL2/RA2
getting increasingly demanding, it is
19 57
RE9/INT2 D+/RG2
20 56
RB5 D-/RG3
21 55 VCC-3.3
RB4 VUSB VCC-3.3 VCC-3.3
22
23
RB3
RB2
VBUS
U1TX/RF8
54
53
C37
necessary to provide additional memory
RA10/VREF+
24 52 R48
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
CS VCC
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
MISO2-RG7 2 7
3
4
SDO
WP
HOLD
SCK
6 SCK2-RG6
5 MOSI2-RG8
The flash memory module enables the
GND SDI
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Page 31
12. Pads Vcap
E9 10uF
RG13
RG12
RG14
RA7
RA6
RD3
RD2
RD1
VCC-3.3
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
U1 VCC-SYS
RE4
RE3
RE2
RG13
RG12
RG14
RE1
RE0
RA7
RA6
RG0
RG1
RF1
RF0
ENVREG
Vcap/VDDcore
RD7
RD6
RD5
RD4
RD13
RD12
RD3
RD2
RD1
HDR2 1 75 HDR1
RG15 VSS
RST 2 74
1 VDD RC14 27
3 73
2 RE5 RC13 28
L 4 72 RD0 RB0
3 RE6 RD0 29
R 5 71 RD11 RB1
4 RE7 RD11 30
RD0 6 70 RD10 RB2
5 RC1 RD10 31
RD1 7 69 RB3
6 RC2 RD9 32
RD2 8 68 RB4
7 RC3 RD8 33
RD3 RC4 9 67 RA15 RB5
8 R5 27 RC4 RA15 34
RA0 SCK2-RG6 10 66 RA14 RB14
9 RG6/SCK2 RA14 35
RA1 MISO2-RG7 11 65 RE8
10 RG7/SDI2 VSS 36
RA4 MOSI2-RG8 R4 27 12 64 RE9
PIC32MX460F512L
11 RG8/SDO2 OSC2 37
RA5 RST R7 100 13 63 RA14
12 MCLR OSC1 38
RA6 14 62 RA15
13 RG9 VDD 39
RA7 15 61 RA5 RA10
14 VSS RA5 40
RD10 16 60 RA4 RC4
15 VDD RA4 41
RD11 RA0 17 59 SDA2-RA3 RB6
16 RA0/TMS SDA2/RA3 42
RD14 RE8 18 58 SCL2-RA2 RB7
17 RE8/INT1 SCL2/RA2 43
RD15 RE9 19 57 RF3
18 RE9/INT2 D+/RG2 44
RF4 RB5 20 56 RG12
19 RB5 D-/RG3 45
RF5 RB4 21 55 RG13
20 RB4 VUSB 46
RX RX-RF2 RB3 22 54 RG14
21 RB3 VBUS 47
TX TX-RF8 RB2 23 53 TX-RF8 SCK2-RG6 SCK
22 RB2 U1TX/RF8 48
RA10/VREF+
SCL SCL2-RA2 RB1 24 52 RX-RF2 MISO2-RG7 SDI
23 RB1 U1RX/RF2 49
SDA SDA2-RA3 RB0 25 51 RF3 MOSI2-RG8 SDO
24 RB0 RF3 50
AVDD
RD14
RD15
AVSS
RB10
RB11
RB12
RB13
RB14
RB15
RF13
RF12
25 VCC-3.3 VCC-3.3 51
VDD
VDD
RA9
RA1
RB6
RB7
RB8
RB9
VSS
VSS
RF4
RF5
26 52
M1X26 M1X26
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Pads HDR2
RD14
RD15
RA10
RB14
Pads HDR1
RA1
RB6
RB7
RF4
RF5
Figure 12-1: Connection pads schematic
Most microcontroller pins are available for further connectivity via two 1x26 rows of connection
pads on both sides of the mikromedia board. They are designed to match additional shields,
such as Battery Boost shield, Gaming, PROTO shield and others.
Page 32
13. Pinout
5V power supply VSYS RST Reset pin
GND GND Reference Ground
RB0 L left ch.
RB1 R right ch. audio out
RB2 RD0
Analog Lines RB3 RD1
RB4 PWM lines
RD2
RB5 RD3
RB14 RA0
RE8 RA1
Interrupt Lines RE9 RA4
RA14 RA5
RA15 RA6
RA10 RA7
RC4 Digital I/O lines
RD10
RB6 RD11
Digital I/O lines RB7 RD14
RF3 RD15
RG12 RF4
RG13 RF5
RG14 RF2 RX
SCK2 RG6 RF8 TX UART
SPI2 SDI2 RG7 RA2 SCL2
SDA2 I C
2
SDO2 RG8 RA3
3.3V power supply 3.3V 3.3V 3.3V power supply
Reference Ground GND GND Reference Ground
Digital lines Analog Lines Interrupt Lines SPI Lines I2C Lines UART lines PWM lines
Page 33
14. Dimensions
81.15 mm
(3195 mils)
73.66 mm
(2900 mils)
63.5 mm
(2500 mils)
(350 mils)
8.89 mm
(1440 mils)
36.58 mm
(2380 mils)
(2200 mils)
60.45 mm
55.88 mm
(300 mils)
7.62 mm
2.03 mm
(80 mils)
2.54 mm 2.67 mm
(100 mils) (105 mils)
Page 34
15. mikromedia accessories
We have prepared a set of
extension boards pin-compatible
with your mikromedia, which
enable you to easily expand
your board basic functionality.
We call them mikromedia
shields. But we also offer other
accessories, such as Li-polymer
battery, stacking headers, wire
jumpers and more. 01 Connect shield 02 BatteryBoost shield 03 PROTO shield
Page 35
What’s next?
You have now completed the journey through each and every feature of mikromedia for PIC32® board. You got to know it’s modules and
organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We
invite you to join the users of mikromedia™ brand. You will find very useful projects and tutorials and can get help from a large ecosystem of
users. Welcome!
Compiler
You still don’t have an appropriate compiler? Locate PIC32® compiler that suits you best on
the Product DVD provided with the package:
DVD://download/eng/software/compilers/
Choose between mikroC™, mikroBasic™ and mikroPascal™ and download fully functional
demo version, so you can begin building your first applications.
Projects
Once you have chosen your compiler, and since you already got the board, you are ready to start writing your first
projects. Visual TFT software for rapid development of graphical user interfaces enables you to quickly create your
GUI. It will automatically create necessary code which is compatible with mikroElektronika compilers. Visual TFT is
rich with examples, which are an excellent starting point for your future projects. Just load the example, read well
commented code, and see how it works on hardware. Visual TFT is also available on the Product DVD.
Page 36
Notes:
Page 37
Notes:
Page 38
DISCLAIMER
All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any
other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or
transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use,
but not for distribution. Any modification of this manual is prohibited.
MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or
conditions of merchantability or fitness for a particular purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika,
its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business
profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has
been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior
notice, if necessary.
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-
ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic
control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or
environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High
Risk Activities.
TRADEMARKS
The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, EasyPIC™, mikroBUS™, Click Boards™ and
mikromedia™ are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies.
All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only
used for identification or explanation and to the owners’ benefit, with no intent to infringe.
If you want to learn more about our products, please visit our web site at www.mikroe.com
If you are experiencing some problems with any of our products or just need additional
information, please place your ticket at www.mikroe.com/esupport
If you have any questions, comments or business proposals, mikromedia for PIC32 Manual
ver. 1.10b
do not hesitate to contact us at [email protected]