mikroElektronika mikromedia+ for PIC32MX7 User Manual

mikromedia+
for PIC32MX7
Amazingly compact, all-on-single-pcb development board carring 4.3’’ TFT
Touch Screen and lots of multimedia peripherals, all driven by powerful
PIC32MX795F512L microcontroller.
®
TO OUR VALUED CUSTOMERS
I want to express my thanks to you for being interested in our products and for having
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.
Page 2
Table of Contents
Introduction to mikromedia+ for PIC32MX7® 4
System Specication 4
Package Contains 5
1. Power Supply 6
2. PIC32MX795F512L Microcontroller 8
Key Microcontroller Features 8
3. Programming the Microcontroller 9
Programming with mikroBootloader 10
step 1 – Connecting mikromedia 10
step 2 – Browsing for .HEX le 11
step 3 – Selecting .HEX le 11
step 4 – Uploading .HEX le 12
step 5 – Finish upload 13
Programming with mikroProg™ Programmer 14
mikroProg suite™ for PIC® Software 16
Software Installation Wizard 17
4. Reset Button 18
5. Crystal Oscillators a nd 2.048V Reference 20
6. Port Expander 22
7. MicroSD Card Slot 24
8. Touch Screen 26
9. Audio Module 28
10. USB DEVICE Connection 30
11. USB HOST Connection 32
12. Accelerometer 34
13. Flash Memory 36
14. RF Transceiver 38
15. Ethernet Transceiver 40
16. Buzzer 42
17. Other Modules 44
18. Pads 46
19. mikromedia+ for PIC32MX7® SHIELD 48
20. Click boards are plug and play! 50
21. Dimensions 52
22. What’s next 53
Page 3
Introduction to mikromedia+ for PIC32MX7
®
The mikromedia+ for PIC32MX7® is a compact development system which allows development of devices with multimedia contents. The central part of the system is a 32-bit 100-pin
PIC32MX795F512L microcontroller. The mikromedia+ for
PIC32MX7® feature lots of on board modules such as stereo MP3 codec, 4.3’’ TFT 480x272 touch screen display, port expander, accelerometer, microSD card slot, buzzer, IR receiver, RGB LED diode, PIN photodiode, temperature sensor, 2.4GHz
RF transceiver, Ethernet transceiver, 8 Mbit ash memory,
Li-Polimer battery charger etc. The board also contains MINI-B USB connector, power screw terminals, 2x5 mikroProg™ connector, two 1x26 connection pads, ON/OFF switch and other. It comes pre-programmed with USB HID bootloader, but can also be programmed with mikroProg™ for PIC®, dsPIC® and
PIC32® external programmer. mikromedia is compact and slim,
and perfectly ts in the palm of your hand, which makes it a
convenient platform for mobile and other multimedia devices. We have also prepared a mikromedia+ SHIELD for PIC32MX7 extension board which enables you to easily expand the functionality of your board.
®
System Specication
power supply
Via USB cable (5V DC) or via screw
terminals (5 - 12V DC)
power consumption
65mA with erased MCU
(when on-board modules are inactive)
board dimensions
119.54 x 78mm (4.71 x 3.07inch)
weight
~115g (0.253lbs)
Page 4
Package Contains
E
R
A
W
T
F
O
S
L
A
N
O
I
T
I
D
D
A
PRODUCT DVD
S
E
L
P
M
A
X
E
S
D
R
A
O
B
Y
R
O
S
S
E
C
C
A
S
C
I
T
A
M
E
H
C
All rights reserved. MikroElektronika, MikroElektronika logo and ot her
S
M
S
R
I
E
K
L
R
I
P
O
C
M
O
C
www.mikroe.com www.libstock.com
Copyright ©2012 Mikroelektronika.
MikroElektronika trademarks are the property of MikroElektronika. All other trademarks are the property of their respective owners.
Unauthorized copying, hiring, renting, public performance
and broadcasting of this DVD
S
D
R
is strictly prohibited.
A
O
B
M
T
A
N
E
N
M
U
P
A
O
L
L
S
E
V
E
D
,
M
I
K
R
O
B
A
S
I
C
,
M
I
K
R
O
P
A
S
C
A
L
C
O
M
P
I
L
E
R
S
D
R
I
V
E
R
S
P
R
O
G
R A
M
M
E
R
S
A
N
D
D
E
B
U
G
G
E
R
S
M
I
K
R
O
M
E
D
I
A
B
O
A
R
D
S
Damage resistant
01
02
protective box
04 05
mikromedia+ for PIC32MX7® user’s guide
mikromedia+ for PIC32MX7® development system
mikromedia+ for PIC32MX7® schematic
Page 5
DVD with documentation
03
and examples
USB cable and microSD card
06
1. Power Supply
Figure 1-1: USB power supply
The mikromedia+ for PIC32MX7® board can be powered in three dierent ways: via USB connector using MINI-B USB cable provided with the board (CN4), via battery connector using Li-Polymer battery (CN5) or via screw terminals using laboratory power supply (CN3). After you plug in the appropriate power supply turn the power switch ON (SW1). The USB connection can provide up to 500mA of current which is more than enough for the operation of all on-board modules and the microcontroller as well. If you decide to use external power supply via screw terminals, voltage levels must be within 5-12 V D C range. Power LED ON (GREEN) indicates the presence of power supply. On-board battery charger circuit MCP73832 enables you to charge the battery over USB connection or via screw terminals. LED
diode (RED) indicates when battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.
Figure 1-2: Battery power supply
Page 6
Figure 1-3: Screw terminals power supply
USB-PSW
BAT-STAT
1
Q1
R1
PDTC114EU
BAT-STAT
USB-PSW
USB-PSW
U6
IN
TPS2041B
R47 1K
R58 10K
OCEN
GND
OUT
USB-D_N USB-D_P
USB-ID
USB-VBUS
USB-VBUS
USB-VBUS
USB-D_N
USB-D_N
USB-D_P
USB-D_P
USB-ID
3
2
1
PMEG3010ER
R60
10K
USB-ID
Vusb_OUT
C136 100nF
D3
E7
E8
10uF
10uF
Vbat_IN
Vbat_IN
VCC-3.3V
R59 1K
R61
10K
C81 10uF
Charging Current approx. 250mA
R42
10K
M1 DMP2160UW
R49 1M
R51 1M
CN5
R54 1M
E1210uF
U12
1 5
STAT
2
VSS
3
VBAT VDD
MCP73832
CN3
PMEG3010ER
BAT-VSENSE
PROG
D4
R46
10K
M2 DMP2160UW
BAT-VSENSE
4
Vdc
VIN PWR-EN
D2 B340A
V_INPUT
D5 B340A
VIN
VIN
PWR-EN
123
R29 100K
SW1 JS202011AQN
VCC-5V
VCC-5V
R104 10K
M3 DMP2160UW
M4 DMG3420U
R105
R62
C80
3K9
2.2uF
1K
C69 22uF
C73 22uF
V_INPUT
L2
1.5uH
U7
10
1
L1
L2
9
2
VIN
VOUT
8
3
EN
FB
PGND
7
4
1 2 3 4
PS PG
TPS63060
1.5uH
U9
L1 VIN EN PS PG
TPS63060
GND
VAUX
C71
100nF
L3
L2
VOUT
FB
PGND
GND
VAUX
C77
100nF
R41 100K
65
10 9 8 7 65
C66
C67
R43 1K
C70
10pF
R45 10K
R50 100K
R52 12K
C78
R53 4K7
10pF
R55 1K
C68
22uF
22uF
22uF
C74
C75
C76
22uF
22uF
22uF
Figure 1-4: Power supply schematic
VCC-5V
C72
C79
C140
1uF
C142
1uF
C141
100nF
10nF
100pF
VCC-3.3V
LD1
C143
C144
100nF
10nF
POWER
C145
100pF
R44 470
VCC-3.3V
R38 10K
VCC-5V
1
VBUS
2
D-
3
D+
4
ID
5
GND
VCC-3.3V
R57 1K
Q3 BC846Q4BC846
LD2
CHARGE
4
5
E9 10uF
Vusb_IN
FP5
VCC-3.3V
3
R2
2
CN4
USB MINIB
VCC-3.3V
R56 10K
Page 7
2. PIC32MX795F512L Microcontroller
Bus Matrix
Peripherial Bus
PIC32
MIPS M4K 32-bit core
- 80MHz, 1.56 DMIPS/MHz
- 5 Stage Pipeline, 32-bit ALU
Trace
32-bit
HW
Mul/Div
32 Core
Registers
Shadow Set
JTAG
Instruction Data
RTCC
Analog
Comparators
(2)
I2C (5)
16 Ch
10-bit
ADCs
UARTs
(6)
Input
Capture
(5)
SPI (4)
Output
Compare
PWM(5)
16-bit
Timers
(5)
Prefetch
Buffer Cache
Flash
RAM
Interrupt
Controller
GPIO (85)
VREG
DMA
8Ch
2-wire
Debug
USB
OTG
16-bit
Parallel
Port
The mikromedia+ for PIC32MX7® development board comes with the 100-pin PIC32MX795F512L microcontroller. This high-performance 32-bit microcontroller has integrated
modules, such as 512K of ash and 128K of RAM easily handling
demanding applications.
Key microcontroller features
- Up to 125 DMIPS Operation (80MHz);
- 512K bytes of Flash memory;
- 128K bytes of RAM memory;
- up to 85 I/O pins;
- 16-bit timers;
- 8MHz internal oscillator, 32kHz RTCC, PLL;
- 6xUART, 4xSPI, 5xI2C, 2xCAN, ADC etc., and
- Ethernet, USB etc.
Page 8
3. Programming the Microcontroller
The microcontroller can be programmed in two ways:
Using USB mikroBootloader
01
Using external mikroProg™ for PIC®, dsPIC®, PIC32® programmer
02
Figure 3-1:
PIC32MX795F512L
microcontroller
Page 9
Programming with mikroBootloader
Microcontroller is pre-programmed with USB HID Bootloader,
which can be used to upload new device rmware. To transfer rmware .HEX le from a PC to MCU you need to use mikroBoot­loader USB HID application, which can be downloaded from:
http://www.mikroe.com/downloads/get/2031/mikro-
media_plus_pic32mx7_bootloader.zip
Upon download, unzip it to desired location and start the mikro-
Bootloader application:
step 1 – Connecting mikromedia
01
02
Figure 3-2: USB HID mikroBootloader window
In order to start, connect the USB cable or (if already
01
connected) press the Reset button on your mikromedia+ board. Click the Connect button within 5s to enter the bootloader mode, otherwise the existing microcontroller program will be executed.
Page 10
step 3 – Selecting .HEX le step 2 – Browsing for .HEX le
01
01
01
Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX
02
Click the Browse for HEX button and from a
01
pop-up window (Figure 3.4) choose the .HEX le that will be uploaded to MCU memory.
Page 11
Select .HEX le from the Open dialog window.
01
02
Click the Open button.
step 4 – Uploading .HEX le
01
Figure 3-5: Begin uploading Figure 3-6: Progress bar
01
In order to upload .HEX le click the
01 01
Begin uploading button.
Page 12
.HEX le uploading can be monitored via progress bar.
step 5 – Finish Upload
01
01
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready to use
Click the OK button after uploading is nished.
01
The board will be automatically reset and after 5 seconds your new program will be executed.
Page 13
Programming with mikroProg™ Programmer
Figure 3-9: mikroProg connector
The microcontroller can be programmed with external mikroProg™ for PIC®, dsPIC® and PIC32® programmer and mikroProg Suite
for PIC® software. The external programmer is connected to the development system via 2X5 mikroProg™ connector, Figure 3-9. mikroProg™ is a fast USB 2.0 programmer with hardware Debugger support. It supports IC10®, PIC12®, PIC16®, PIC18®, dsPIC30/33®,
PIC24® and PIC32® devices from Microchip®. Outstanding performance, easy operation and elegant design are it’s key features.
Page 14
VCC-3.3V
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C126
1uF
C112
100nF
C115
100nF
C124
1uF
C127
10nF
C113
100nF
C116
100nF
C125
1uF
C128
10nF
C129
10nF
MCLR#
E10
10uF
78
77
79
80
100
G1
RE1
RE2
RE3
RE4
RG14
RG12
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4
10
RG6
11
RG7
12
RG8
13
MCLR
14
RG9
15
VSS
16
VDD
17
RA0
18
RE8
19
RE9
20
RB5
21
RB4
22
RB3
23
RB2
24
RB1
25
RB0
RG13
PIC32MX795F512L
RA10
AVDD
RA9
RB7
RB6
AVSS
RB8
32
31
26
302928
27
RF1
RE0
RA7
RA6
RG0
R
RB11
RB10
RB9
RA1
VSS
VDD
36
35
37
34
33
81828384858687888990919293949596979899
7 D
RF0
RF13
403938
RD4
RD5
RD3
R
RD6
VDD
VCAP/VDDCORE
RB13
RB12
RB14
RF12
434241
RD2
RD12
RD13
SOSCO/RC14
SOSCI/RC13
OSC2/RC15 OSC1/RC12
RB15
VSS
RF4
RD14
RD15
VDD
76
1 D R
VSS
RD0 RD11 RD10
RD9
RD8 RA15 RA14
VSS
VDD
RA5
RA4
RA3
RA2
D+/RG2
D-/RG3
VUSB VBUS
RF8 RF2 RF3
RF5
50494847464544
VCC-3.3V
U18
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
HDR-AN4/PGC HDR-AN5/PGD MCLR#
C109 22pF
C110 22pF
C107 22pF
C108 22pF
VCC-3.3V
X5
32.768KHz
X4 16MHz
1 2 3 4 5 6 7 8 9 10
CN7
VCC-ADC VCC-3.3V
C133
1uF
C134
100nF
FP4
C135
10nF
VCC-ADC
HDR-AN4/PGC
HDR-AN5/PGD
Figure 3-10: mikroProg™ connection schematic
Page 15
mikroProg Suite™ for PIC® Software
PIC32
The mikroProg™ programmer requires special programming software called
mikroProg Suite™ for PIC®. It can be
used for programming all Microchip® mi­crocontroller families, including PIC10®, PIC12®, PIC16®, PIC18®, dsPIC30/33®, PIC24® and PIC32®. Software has intuitive interface and SingleClick™ pro­gramming technology. Download the latest version of mikroProg Suite™ and your programmer is ready to pro­gram new devices. mikroProg Suite™ is updated regularly, at least four times a year, so your programmer will be more and more powerful with each new release.
Figure 3-11: Main window of mikroProg Suite™ for PIC® programming software
Page 16
Page 16
Software Installation Wizard
01
Start Installation
04
Choose destination folder
02
Accept EULA and continue
05
Installation in progress
Page 17
03
Install for all users
06
Finish installation
4. Reset Button
The board is equipped with reset button, which is located on the front side of
the board. One press on the reset button will generate a low voltage level
on the microcontroller reset pin (input). Reset button can also be
externally provided through the pin 27 on the side headers.
Figure 4-1:
Reset button
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
504948474645444342414
0
39
383736
3534333231
3029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
8182838485
86878889909192
9394959697
98
99
100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
R
F5
RA14
RA5
RD14
RD15
RA2
RF13
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSS
RF12
RA4
VSS
VCAP/VD
D
CO
RE
AVSS
AVDD
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
R
D1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4RD5
U18
VCC-3.3V
MCLR#
VCC-ADC
E10
10uF
VCC-3.3V
R69 10K
C99 100nF
RESET
T1
Vdc
HDR2
M1X26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
VCC-3.3V
C133
1uF
C135
10nF
FP4
VCC-ADC VCC-3.3V
C134
100nF
VCC-3.3V
C114
100nF
C115
100nF
C116
100nF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
VCC-3.3V
C117
100nF
C124
1uF
C125
1uF
VCC-3.3V
C126
1uF
C127
10nF
C128
10nF
C129
10nF
X5
32.768KHz
C109 22pF
C110 22pF
X4 16MHz
C107 22pF
C108 22pF
Figure 4-2: Reset button connection schematic
Page 19
5. Crystal Oscillators and 2.048V Reference
The board is equipped with 01 16MHz
crystal oscillator (X4) circuit that
provides external clock waveform to the microcontroller OSC1 and OSC2 pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications. The board also contains 02 32.768kHz crystal
oscillator (X5) which provides external clock for internal RTCC
module. Microcontroller ADC requires an accurate source of reference voltage signal. That is why we provide the external 03 voltage reference to the microcontroller VREF pin which is 2.048V.
01 02
03
Page 20
02
03
01
Figure 5-1: Crystal oscillator and 2.048V reference
E10
VCC-3.3V
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C126
1uF
C112
100nF
C115
100nF
C124
1uF
C127
10nF
VCC-3.3V
10uF
C113
100nF
C116
100nF
C125
1uF
C128
10nF
C129
10nF
9394959697
9899100
3 E R
RG15 VDD RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 VSS VDD RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0
RE4
RB6
RB7
26
27
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
RE0
RE2
RE1
RA7
RG13
RG12
RG14
PIC32MX795F512L
RB9
RB8
RA9
AVSS
AVDD
RA10
3231302928
86878889909192
RG0RG1
R
VDD
7 D
RF1
RF0
RA6
VCAP/VDDCORE
13 F
SS
RB10
RB11
V
RB13
RB12
RF12
RA1
R
VDD
42
41
403938
3736353433
78
79
80
8182838485
77
76
RD12
RD13
SOSCO/RC14
VDD
RD14
8
47
RD3
RD1
RD2
SOSCI/RC13
RD0 RD11 RD10
RD9
RD8 RA15 RA14
OSC2/RC15 OSC1/RC12
VDD
RA5
RA4
RA3
RA2
D+/RG2
D-/RG3
VUSB VBUS
RD15
RF4RF5
50494
U18
75
VSS
74 73 72 71 70 69 68 67 66 65
VSS
64 63 62 61 60 59 58 57 56 55 54 53
RF8
52
RF2
51
RF3
6
4RD5
D
D
R
R
5
14
1
S B R
RB
VS
464544
43
VCC-ADC
C132 10nF
Figure 5-2: Crystal oscillators and voltage reference connection schematic
Page 21
VCC-ADC VCC-3.3V
C133
1uF
VCC-3.3V
1
2
C104
100nF
C105 1uF
C109 22pF
C110 22pF
C107 22pF
C108 22pF
C134
100nF
REF1 MAX6106EUR+
IN
GND
OUT
X5
32.768KHz
X4 16MHz
FP4
C135
10nF
3
6. Port Expander
Figure 6-1: Port Expander
mikromedia+ for PIC32MX7®
features a 16-bit I/O port
expander module MCP23S17 which
communicates with PIC32MX795F512L
microcontroller via SPI serial interface. This
module enables you to expand the number of
microcontroller I/O pins with two 8-bit I/O ports (PORTA
and PORTB). Each of them consists of registers for input, output
and polarity selection. In addition, the MCP23S17 module contains
interrupt and reset pins and has 25mA sink/source capability per I/O pin.
Page 22
Page 22
VCC-3.3V
R98
U11
100K EXP-PWM0 EXP-PWM1 EXP-PWM2 EXP-PWM3 EXP-INT0 EXP-INT1 EXP-INT2 EXP-INT3 EXP-GPIO0
EXP-CS# SPI_SCK SPI_MOSI SPI_MISO
EXP-GPIO0 EXP-GPIO1 EXP-GPIO2 EXP-GPIO3 EXP-GPIO4 EXP-GPIO5
VCC-3.3V
C130
100nF
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
R102 27
VCC-5V
VCC-3.3V
HDR1
M1X26
GPB0 GPB1 GPB2 GPB3 GPB4 GPB5 GPB6 GPB7 VDD VSS CS SCK SI SO
MCP23S17
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 26
VCC-3.3V
28
GPA7
27
GPA6
26
GPA5
25
GPA4
24
GPA3
23
GPA2
22
GPA1
21
GPA0
20
INTA
19
INTB
18
RESET
MCP23S17
17
A2
16
A1 A0
VCC-3.3V
HDR2 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
M1X26
E10
R99 100K
EXP-GPIO7 EXP-GPIO6 EXP-GPIO5 EXP-GPIO4 EXP-GPIO3 EXP-GPIO2 EXP-GPIO1
EXP-INT
EXP-RST#
Vdc
EXP-PWM0 EXP-PWM1 EXP-PWM2
EXP-PWM3 EXP-GPIO6 EXP-GPIO7
EXP-INT0 EXP-INT1 EXP-INT2 EXP-INT3
SPI_MISO
EXP-RST#
EXP-INT
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
98
99
9394959697
100
RE1
RE0
RE2
RE3
RE4
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4 RG6 RG7 RG8 MCLR RG9 VSS VDD RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0
RB6
RA7
RA6
RG14
RG13
RG12
PIC32MX795F512L
RB7
RA9
VCC-ADC
RB11
RB10
RB9
RB8
AVSS
AVDD
RA10
3534333231
3029282726
10uF
80
8182838485
86878889909192
RE
RF1
RF0
RG0
RG1
VSS
VDD
383736
EXP-CS#
RD4RD5
RD7
RD6
VDD
RD13
CO D
VCAP/VD
RB15
VSS
RA1
39
VDD
RF13
RF12
RB14
RB13
RB12
0
VCC-ADC VCC-3.3V
C133
C134
1uF
100nF
78
79
RD3
RD12
SOSCO/RC14
SOSCI/RC13
RD14
RD15
77
76
D1
RD2
R
RD11 RD10
RA15 RA14
OSC2/RC15 OSC1/RC12
D+/RG2
D-/RG3
VUSB VBUS
F5
RF4
R
504948474645444342414
FP4
C135
10nF
VCC-3.3V
U18
75
VSS
74 73 72
RD0
RD9 RD8
VSS
VDD
RA5 RA4 RA3 RA2
RF8 RF2 RF3
R100 27
71
R101 27
70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
VCC-3.3V
C126
1uF
SOSCO
SOSCI
SPI_MOSI
SPI_SCK
OSC2 OSC1
C127
10nF
SOSCO SOSCI
OSC2 OSC1
VCC-3.3V
VCC-3.3V
VCC-3.3V
C128
C129
10nF
10nF
C111
100nF
C114
100nF
C117
100nF
C112
100nF
C115
100nF
C124
1uF
C109 22pF
X5
32.768KHz C110 22pF
C107 22pF
X4
16MHz C108 22pF
C113
100nF
C116
100nF
C125
1uF
Figure 6-2: Port Expander connection schematic
Page 23
7. microSD Card Slot
02
01
The board contains 01 microSD card slot for using 02 microSD cards in your projects. It enables you to store large amounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with the microcontroller. Ferrite and capacitor are provided to compensate the voltage and current glitch that can occur when pushing­in and pushing-out microSD card into the socket. Proper insertion of the microSD card is shown in Figure 7-1.
Page 24
Figure 7-1:
microSD Card Slot
CA RD SLO T
VCC-3.3V
C111
C112
100nF
C115
100nF
C124
1uF
C127
10nF
C134
100nF
C113
100nF
C116
100nF
C125
1uF
C128
10nF
C135
10nF
C129
10nF
FP4
100nF
VCC-3.3V
C114
100nF
VCC-3.3V
C117
100nF
VCC-3.3V
C126
1uF
VCC-ADC VCC-3.3V
C133
1uF
E10
10uF
78
77
79
80
76
81828384858687888990919293949596979899
G1 R
VDD
383736
D5
RF1
RF0
R
RD7
RD6
VDD
VCAP/VDDCORE
15
14
B
B R
R
RB13
RB12
RA1
RF13
RF12
0
39
RD4
VSS
D13
RD12
R
SOSCO/RC14
VDD
RD14
D1
RD3
R
RD2
SOSCI/RC13
RD11 RD10
RA15 RA14
OSC2/RC15 OSC1/RC12
VDD
D+/RG2
D-/RG3
VUSB VBUS
F5
RF4
R
RD15
504948474645444342414
U18
VSS
RD0
RD9 RD8
VSS
RA5 RA4 RA3 RA2
RF8 RF2 RF3
SPI_MISO
SD-CS#
SD-CD#
100
2
3 E
RE0
RE2
RE1
R
RE4
G1
RA7
RA6
RG15 VDD RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 VSS VDD RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0
RG13
PIC32MX795F512L
RA10
RA9
RB7
RB6
VCC-ADC
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
RG0
R
RG14
D VD
AVSS
A
RB11
RB10
RB9
RB8
VSS
35343332313029282726
Figure 7-2: microSD Card Slot module connection schematic
Page 25
VCC-3.3V
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
R100 27
R101 27
SOSCO
SOSCI
SPI_MOSI
SPI_SCK
OSC2 OSC1
SOSCO SOSCI
OSC2 OSC1
VCC-MMC
K 0
R80 10K
R79 1
SD-CS#
SPI_MOSI
SPI_SCK
R81
SD-DOUT
27
SD-CD#
VCC-3.3V VCC-MMC
FP3
FERRITE
C109 22pF
C110 22pF
C107 22pF
C108 22pF
1 2 4 5 6 7
C151 22uF
CN6
DIN CS
+3.3V
SCK GND DOUT
CD
X5
32.768KHz
X4 16MHz
C106 100nF
micro S D
GND
8. Touch Screen
The development system features a 4.3‘‘
TFT 480x272 display covered with a
resistive touch panel. Together they
form a functional unit called a touch
screen, Figure 8-1. It enables data to be
entered and displayed at the same time.
The TFT display is capable of showing
graphics in 256K die rent colors.
Figure 8-1: Touch Screen
Page 26
VLED-
VL
E
D
+
GND
VDDR0R1
R2R3R4R5
R6
R7G0G1
HSY
N
C
DISPDCLK
GND
B7B6B5B4B3B2B1B0G7G6G5G4G3G2
V
S
YNC
DENCGND
X_R
Y_B
X_L
Y_T
TFT1 AT043B35-15I-10
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108
107
102
103
104
105
73
30
29
28
27
34
33
585756
555453
52
46
3635424344
453750948
49
11 12
32
72
69 68 67 66 65
64
63
4
3
78 77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62616059
38
39
4
0
4147
71
31
51
70
26
25
76 75 74
SSD1963
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
979899
100
LDATA17
VDDLCD
VSS
VDDD
VDDLCD
VSS
VSS VDDD D0 D1
LDATA9 LDATA10 LDATA11
V
DDD
LLI
N
E
LFRAME
GAMAS0
GAMAS1
VDDLCD
VSS
L
S
HIF
T
VDDD
D21 D22 D23
VDDD
D18 D19
VDDLCD
VSS
VDDIO
VSS
D17
VDDIO
VSS
VDDIO
VSS
D20
VDDIO
LDATA23
VSS
XTAL_IN
VDDD
VSS
VSSPLL
VDDPLL
LDATA7
LDATA8
VSS
VDDD
D4
D3
GPIO2
D16
VDDIO
VDDD VSS
VDDLCD
VSS
VDDD
XTAL_OUT
LDEN
TE
VDDLCD
LDATA15
VSS
VDDL
CD
V
S
S
GPIO3
GPIO1
VDDLCD
LDATA14
LDATA18
VSS
VDDIO
CLK
GPIO0
VDDD
LDATA16
VDDD
LDATA19
LDATA20
LDATA21
LDATA22
VSS
D2
LDATA13
L
DATA12
LDATA6
LDATA3
LDATA5
VDDD
VSS
VDDLCD
LDATA4
LDATA2
LDATA1
LDATA0
VDDD
VSS
D15
VDDIO
D11
D12
D
13
D14
VDDD
RESET#
VDDD
V
S
S
VDDIO
CS#
R/W# (WR#)
VDDD
CO
NF
D/C#
E (RD#)
D7
D9
VSS
VDDD
D10
D
8
D6
D5
V
DDI
O
VSS
101
PWM
U2
1
2
3
SW
GND
VIN
5
4
FBEN
U1
TPS61041
L1
10uH
C2
10uF
D1
PMEG3010ER
VCC-5V
DZ1
MMSZ5246B
R1 34
VLED+ VLED-
LCD-PWM
VCC-3.3V
LCD-R0
LCD-R1
LCD-R2
LCD-R3
LCD-R4
LCD-R5
LCD-R6
LCD-R7
LCD-G0
LCD-G1
LCD-G2
LCD-G3
L
CD-G4
LCD-G5
LCD-G6
LCD-G7
LCD-B0
LCD-
B
1
LCD-B2
LCD-B3
LCD-
B
4
LCD-B5
LCD-B6
LCD-B7
LCD-DCLK
LCD-HSYN C
LCD-VSYN C
R5 10K
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
50494847464544434241403938373635343332313029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
81828384858687888990919293949596979899100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
R
G0
R
G1
RE0
R
F
1
R
F
0
RD7
RD6
RE6
RE5
R
E2
RG13
RG12
R
G14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
RF5
RA14
RA5
RD14
RD15
RA2
R
F
1
3
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSSRF12
RA4
VSS
VCAP/VD
D
C
O
RE
A
VSS
AV
D
D
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
R
D1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4RD5
U18
VCC-3.3V
I2C_SCL
I2C_SDA
R95 4K7
R94 4K7
TFT-D0
TFT-
D
1
T
F
T-D2
TFT-
D
3
TFT-D4
TFT-D5 TFT-D6 TFT-D7
TF
T-D8
TFT-D9
TF
T
-D10
TFT-D11
TFT-D12
TF
T-D13
T
F
T-D14
TFT-D15
TFT-WR#
TFT-RD#TFT-D/C#
TF
T
-C
S
#
TFT-RST#
V
CC-A
DC
OSC1
OSC2
SOSCI
TP_INT#
SOSCO
E10
10uF
VCAP
/
VDDCORE
VCC-1.2V VCC-3.3V
R7 100K
TFT-RST#
LCD-PWM
LCD-B0 LCD-B1 LCD-B2 LCD-B3 LCD-B4 LCD-B5
LCD-B6
LCD-B7 LCD-G0 LCD-G1 LCD-G2 LCD-G3
LCD-G4
LCD-G5
LCD-G6
LCD-G7
LCD-R0
LCD-R1
LCD-R2
LCD-R3
LCD-R4
LCD-R5
LCD-R6
LCD-R7
LCD-DE
LCD-DCLK
LCD-HSYNC
LCD-VSYNC
LCD-DE
T
F
T-
W
R
#
T
F
T-RD#
TFT-D/C#
T
FT-
CS
#
TFT-D0 TFT-D1 TFT-D2 TFT-D3 TFT-D4
TFT-D5
TFT-D6
TFT-D7
TFT-D8
TFT-D9
TFT-D10
TFT-D11
TFT-D12
TFT-D13
TFT-D14
TFT-D15
X1
10MHz
C39
22pF
C40
22pF
XTAL_IN
XTAL_OUT
R8 220
TP-X_R
TP-Y_B
T
P
-X_L TP-Y_T
R3 0R
C1 100nF
2
15
123511
36
3
45614789
133310
3738394034
1
16
171819202122232425262728
293031
32
CN1
R9 100K
FP1
SOSCI
SOSCO
X5
32.768KHz
C109 22pF
C110 22pF
OSC1
OSC2
X4 16MHz
C107 22pF
C108 22pF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
C114
100nF
C115
100nF
C116
100nF
C133
1uF
C135
10nF
C117
100nF
C124
1uF
FP4
VCC-ADC VCC-3.3V
C134
100nF
C125
1uF
C126
1uF
C127
10nF
C128
10nF
C129
10nF
C41
2.2uF
R11 100K
E1 10uF
R10 100K
R12 100K
VCC-3.3V VCC-1.2V
1
2
3
IN
GND
OUT
5
4
EN ADJ
U3
AP7331-ADJ
C96
100nF
C97
100nF
VCC-3.3V
2 3 4
567
10 9
8
1
11
12
131415
16
Y­INT A0 SCLK
SDAT
VCC
SDI
NC
Mode
GND
IN2
IN3
X+
Y+
X-
Vio
610
STMPE
U13
VCC-3.3V
TP-Y_T
I2C-SCL
I2C-SDA
TP-INT#
R65 10K
TP-X_R
TP-X_L
TP-Y_B
C146
2.2nF
C148
2.2nF
C147
2.2nF C149
2.2nF
1 2 3
J2
VCC-3.3V
TP-ADR
C3
1uFC41uFC51uFC61uFC71uFC81uFC91uF
C10
1uF
C11
1uF
C12
1uF
C13
1uF
C14
1uF
C15
1uF
C16
1uF
C17
1uF
C18
1uF
C19
1uF
VCC-1.2V
C21
100nF
C22
100nF
C23
100nF
C24
100nF
C25
100nF
C26
100nF
C27
100nF
C28
100nF
C29
100nF
VCC-3.3V
C30
100nF
C31
100nF
C32
100nF
C33
100nF
C34
100nF
C35
100nF
C36
100nF
C37
100nF
C38
100nF
VCC-3.3V
C20
1uF
Figure 8-2: Touch Screen connection schematic
Page 27
9. Audio Module
Figure 9-1:
On-board
VS1053
MP3 codec
02
mikromedia+ for PIC32MX7® features stereo audio codec 01 VS1053. This module enables audio reproduction and sound recording by using 02 stereo headphones with
microphone connected to the system via a 03 3.5mm connector CN2. All functions of this
module are controlled by the microcontroller over Serial Peripheral Interface (SPI). IN and OUT channels are also provided on side headers.
03
Page 28
01
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
504948474645444342414039383736
3534333231
3029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
8182838485
86878889909192
9394959697
98
99
100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
RF5
RA14
RA5
RD14
RD15
RA2
RF13
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSS
RF12
RA4
VSS
VCAP/VDDCO
RE
AVSS
AVDD
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
RD1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4
RD5
U18
VCC-3.3V
SPI_MOSI
SPI_MISO
SPI_SCK
MP3-CS#
MP3-DREQ
MP3-RST#
MP3-DCS
VCC-ADC
OSC1
OSC0
SOSCI
SOSCO
E10
10uF
R100 27
R101 27
C59
2.2uF
E6 10uF
1
2
3
IN
GND
OUT
5
4
EN ADJ
U5
AP7331-ADJ
R35
100K
R36
27K4
R37
1K
VCC-3.3V VCC-1.8V
C65 100nF
C64 100nF
C63 100nF
C57 100nF
C58 100nF
C56 100nF
C60 100nF
C61 100nF
C62 100nF
VCC-1.8VVCC-3.3V
E5 10uF
C138 100nF
LEFT
RIGHT
C48
10nF
C46
47nF
C47
10nF
GBUF
2 3 4 5 6 7
11 12
13
14
25
24
23222118171615
8
1
19
9
10 27
26
20
28
29
30
31
32
33
34
35
36
3738394041424344454647
48
MICP/LN1 MICN XRESET DGND0 CVDD0 IOVDD0 CVDD1 DREQ GPIO2 GPIO3 GPIO6 GPIO7
XDCS/BSYNC
IOVDD1
VC0
DGND1
XTAL0
XTAL1
IOVDD2
DGND2
DGND3
DGND4
XCS
CVDD2
GPIO5
RX
TX
SCLK
SI
SO
CVDD3
XTEST
GPIO0
GPIO1
GND
GPIO4
AGND0
AVDD0
AVDD2
A
G
ND1
AGND2
AGND3
LN2
LEFT
RCAP
AVDD1
GBUF
RIGHT
VS1053
U4
R23
10 10
R24
R25
10
R19 10
R22 10
VCC-1.8VVCC-3.3V
C44
1uF
R33 10K
GPIO
GPIO
R26 10K
VCC-3.3V
R28 27
SPI_MISO SPI_MOSI
SPI_SCK
MP3-DCS
MP3-DREQ
MP3-RST#
MICN
MP3-CS#
X2
12.288MHz
R34 1M
C55 22pF
C54
22pF
R27 10K
R32 10K
VCC-3.3V
3
1
2
4
CN2
CUI_SJ-43514-SMT
R17 1K
R18 1K
VCC-3.3V
LEFT
RIGHT
GBUF
LN-IN_R
C49
100nF
LN-IN_L
MICP
LN-IN_R
C45
100nF
E3
10uF
E2
10uF
R15
470
C43
3.3nF
R16 100K
R13
470
C42
3.3nF
R14 100K
LINE
_OUT_L
LINE
_OUT_R
E4 10uF
C50 1uF
C51 1uF
C53 10nF
C52 10nF
R31 470
R30 470
SPI_MISO
SPI_MOSI
SPI_SCK
MP3-DCS
MP3-DREQ
MP3-RST#
MP3-CS#
LINE
_IN_R
R20
10 10
R21
1 2 3
J1
MIC/LN-IN_L
MICP
LN-IN_L
MIC/LN-IN_L
LINE
_IN_L
Vdc
LINE_OUT_L LINE_OUT_R
LINE_IN_R
LINE_IN_L
HDR2
M1X26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
VCC-3.3V
OSC1
OSC2
SOSCI
SOSCO
X5
32.768KHz
C109 22pF
C110 22pF
X4
16MHz
C107 22pF
C108 22pF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
C114
100nF
C115
100nF
C116
100nF
C133
1uF
C135
10nF
C117
100nF
C124
1uF
FP4
VCC-ADC VCC-3.3V
C134
100nF
C125
1uF
C126
1uF
C127
10nF
C128
10nF
C129
10nF
Figure 9-2: Audio module connection schematic
Page 29
10. USB DEVICE connection
02
PIC32MX795F512L microcontroller has integrated USB module,
which enables you to implement USB communication functionality to your
mikromedia board. Connection with target USB host is establish over 01 MINI-B
USB connector. For proper insertion of the 02 MINI-B USB cable refer to Figure 10-1.
01
Figure 10-1:
Connecting USB
cable to MINI-B USB
connector
Page 30
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
504948474645444342414
0
39
383736
3534333231
3029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
8182838485
86878889909192
9394959697
98
99
100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
R
F5
RA14
RA5
RD14
RD15
RA2
RF13
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSS
RF12
RA4
VSS
VCAP/VD
D
CO
RE
AVSS
AVDD
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
R
D1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4RD5
U18
VCC-3.3V
USB-D_P
USB-D_N
USB-ID
USB-VBUS
VCC-ADC
OSC1
OSC2
SOSCI
SOSCO
E10
10uF
USB-D_N USB-D_P USB-ID
USB-VBUS
R47
1K
Vusb_IN
1 2 3 4 5
GND
ID
D+
D-
VBUS
CN4
USB MINI
FP5
C133
1uF
C135
10nF
FP4
VCC-ADC VCC-3.3V
C134
100nF
VCC-3.3V
C114
100nF
C115
100nF
C116
100nF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
VCC-3.3V
C117
100nF
C124
1uF
C125
1uF
VCC-3.3V
C126
1uF
C127
10nF
C128
10nF
C129
10nF
OSC1
OSC2
SOSCI
SOSCO
X5
32.768KHz
C109 22pF
C110 22pF
X4 16MHz
C107 22pF
C108 22pF
Figure 10-2: USB DEVICE module connection schematic
Page 31
11. USB HOST connection
When the device is working in
Note:
USB HOST mode, it must not be mounted to other USB HOST.
02
01
PIC32MX795F512L can also be used as USB HOST which enables
microcontroller to establish connection with the target device (eg. USB
keyboard, USB mouse, etc). The board provides necessary power supply to the
target via TPS2041B IC. To connect 01 USB HOST cable, it is necessary to use the
appropriate
MINI-B USB to USB type A adapter. For proper insertion refer to Figure 11-1.
02
Figure 11-1: Connecting
USB cable to MINI-B USB
connector via USB adapter
Page 32
VCC-3.3V
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C126
1uF
C112
100nF
C115
100nF
C124
1uF
C127
10nF
C113
100nF
C125
1uF
C128
10nF
C116
100nF
Q1
R1
1
USB-PSW
PDTC114EU
VCC-ADC VCC-3.3V
C129
10nF
C133
1uF
R2
CN4
USB MINIB
C134
100nF
VCC-3.3V
R38 10K
U6
IN
TPS2041B
R47 1K
USB-VBUS
32.768KHz
16MHz
OCEN
GND
OUT
USB-D_N USB-D_P
USB-ID
X5
X4
3
2
1
C109
22pF
C110
22pF
C107
22pF
C108
22pF
C136 100nF
PMEG3010ER
D3
E7 10uF
Vusb_OUT
SOSCO
SOSCI
OSC2 OSC1
1 2 3 4 5 6 7 8 9
10
USB-PSW
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
E8 10uF
4
5
VCC-5V
E9 10uF
2 3
Vusb_IN
FP5
1
VBUS
2
D-
3
D+
4
ID
5
GND
FP4
C135
10nF
Figure 11-2: USB HOST module connection schematic
Page 33
98
99
100
RE2
RE3
RE4
RG13
RG12
RG15 VDD RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 VSS VDD RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0
RG14
PIC32MX795F512L
RA9
RB7
RB6
AVSS
AVDD
RA10
3029282726
VCC-ADC
E10
10uF
78
79
80
8182838485
8687888990
9192
9394959697
RE
RF1
RF0
RE0
RE1
RA6
RA7
RG1
RG0
RD7
RD6
RD3
RD4RD5
O
VDD
RD13
RD12
SOSCO/RC14
VCAP/VDDC
RB11
RA1
RF13
VDD
VSS
RF12
RB10
RB9
RB8
RB12
0
383736
3534333231
39
SOSCI/RC13
VDD
RB15
RB14
VSS
RD14
RD15
RB13
77
76
RD1
RD2
RD11 RD10
RA15 RA14
OSC2/RC15 OSC1/RC12
D+/RG2
D-/RG3
VUSB VBUS
RF4
RF5
504948474645444342414
VCC-3.3V
U18
75
VSS
RD0
RD9 RD8
VSS
VDD RA5 RA4 RA3 RA2
RF8 RF2 RF3
SOSCO
74
SOSCI
73 72 71 70 69 68 67 66 65
OSC2
64 63
OSC1 62 61 60 59 58 57
USB-D_P
56
USB-D_N 55 54
USB-VBUS 53 52
USB-ID
51
12. Accelerometer
Figure 12-1: Accelerometer module
On board ADXL345 accelerometer is used to measure acceleration in three
axis: x, y and z. Most common use is to determine the screen orientation,
but there are many other elds of usage. Communication between
the accelerometer and the microcontroller is performed
through I2C interface. There is an option to select
the alternate accel address with jumper J3.
Figure 12-2:
Jumper J3
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C112
100nF
C115
100nF
C124
1uF
VCC-3.3V
1
VCC
2
GND
3
Res
4
GND
5
GND
6
VCC
VCC-3.3V
VCC-3.3V
C113
100nF
C116
100nF
C125
1uF
C139 100nF
VCC-3.3V
C126
C127
1uF
10nF
VCC-ADC VCC-3.3V
C133
C134
1uF
100nF
C98 100nF
14
SDA
SCL
ADD Res NC INT2 INT1
CS
ADXL345
7
C128
10nF
C135
10nF
VCC-3.3V
I2C_SCL
U14
I2C_SDA
13 12
ACCEL-ADR 11 10
R66
10K
9
ACCEL-INT#
8
X5
32.768KHz
C129
X4
10nF
16MHz
FP4
C109 22pF
C110 22pF
C107 22pF
C108 22pF
VCC-3.3V
1 2 3
J3
SOSCO
SOSCI
OSC2 OSC1
ACCEL-INT#
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
Figure 12-3: Accelerometer connection schematic
Page 35
98
99
100
RE2
RE3
RE4
RG13
RG12
RG15 VDD RE5 RE6 RE7 RC1 RC2 RC3 RC4 RG6 RG7 RG8 MCLR RG9 VSS VDD RA0 RE8 RE9 RB5 RB4 RB3 RB2 RB1 RB0
RG14
PIC32MX795F512L
AVSS
AVDD
RA9
RB7
RB6
RA10
3029282726
VCC-ADC
E10
10uF
78
79
80
8182838485
8687888990
9192
9394959697
RE
RF1
RF0
RE0
RE1
RA6
RA7
RG1
RG0
RB11
RA1
VDD
VSS
RB10
RB9
RB8
383736
3534333231
RD4RD5
RD3
RD7
RD6
O
VDD
RD13
RD12
SOSCO/RC14
VCAP/VDDC
RF13
RF12
RB12
0
39
SOSCI/RC13
OSC2/RC15 OSC1/RC12
VDD
RB15
RB14
VSS
RD14
RD15
RB13
77
RD2
RF4
76
RD1
RD11 RD10
RA15 RA14
D+/RG2
D-/RG3
VUSB VBUS
RF5
504948474645444342414
VCC-3.3V
U18
VSS
RD0
RD9 RD8
VSS
VDD
RA5 RA4 RA3 RA2
RF8 RF2 RF3
R95
R94
4K7
4K7
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
SOSCO
SOSCI
OSC2 OSC1
I2C_SDA
I2C_SCL
13. Flash Memory
Since multimedia applications are getting increasingly demanding,
it is necessary to provide additional memory space for storing
more data. The ash memory module enables the
microcontroller to use additional 8Mbit ash
memory. It is connected to the microcontroller
via the Serial Peripheral Interface (SPI).
Figure 13-1:
Flash memory
module
Page 36Page 36
E10
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C112
100nF
C115
100nF
C124
1uF
FLASH-CS#
C113
100nF
C116
100nF
C125
1uF
SPI_MISO
VCC-3.3V
C126
C127
1uF
10nF
VCC-ADC VCC-3.3V
C133
C134
1uF
100nF
98
99
100
RE3
RE4
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4
10
RG6
11
RG7
12
RG8
13
MCLR
14
RG9
15
VSS
16
VDD
17
RA0
18
RE8
19
RE9
20
RB5
21
RB4
22
RB3
23
RB2
24
RB1
25
RB0
RB7
RB6
FLASH-CS#
C128
10nF
C135
10nF
R67 10K
R68 27
FP4
C129
10nF
1 2 3
32.768KHz
U19
CS SDO
HOLD WP GND SDI
M25P80
X5
X4
16MHz
VCC-3.3VVCC-3.3V
C123
100nF
8
VCC
7 6
SCK
C109 22pF
C110 22pF
C107 22pF
C108 22pF
SPI_SCK
SPI_MOSI
54
SPI_MISO
SOSCO
SOSCI
OSC2 OSC1
Figure 13-2: Flash memory module connection schematic
Page 37
9394959697
RE2
RE1
RG13
RG12
RG14
86878889909192
RF1
RF0
RE0
RA6
RA7
RG0
RG1
VDD
PIC32MX795F512L
RA9
RB11
RA1
RF13
VSS
AVSS
AVDD
RB9
RA10
RB8
3029282726
VCC-ADC
RF12
RB10
VDD
3534333231
77
76
RD2
D+/RG2
RF4
504948474645444342414039383736
RD1
RD11 RD10
RA15 RA14
D-/RG3
VUSB VBUS
RF5
VCC-3.3V
U18
75
VSS
74 73 72
RD0
71 70 69
RD9
68
RD8
67 66 65
VSS
64 63 62
VDD
61
RA5
60
RA4
59
RA3
58
RA2
57 56 55 54 53
RF8
52
RF2
51
RF3
R100 27
R101 27
SOSCO
SOSCI
SPI_MOSI
SPI_SCK
OSC2 OSC1
10uF
78
79
80
8182838485
RE
RD4
RD5
RD3
RD7
RD6
RD13
RD12
SOSCO/RC14
VCAP/VDDCO
RB12
SOSCI/RC13
OSC2/RC15 OSC1/RC12
RB15
RB14
VSS
VDD
RD14
RD15
RB13
14. RF Transceiver
Figure 14-1:
RF transceiver antenna
mikromedia+ for PIC32MX7® board features RF transceiver chip with 2.4GHz chip antenna. It is suitable for wireless operation in the world wide ISM frequency band at 2.400 - 2.4835GHz with air data rate up to 2Mbps. RF transceiver module is connected to the microcontroller via the Serial Peripheral Interface (SPI). This RF transceiver module is widely used for wireless PC peripherals, remote controllers, VoIP headsets, game controllers, sensors, home and commercial automation, active RFID, toys and many more.
Page 38
Figure 14-2:
RF transceiver module
E10
VCC-3.3V
VCC-3.3V
RF-CE RF-CS#
SPI_SCK SPI_MOSI SPI_MISO
RF-INT#
FP2
FERRITE
C111
100nF
R88 27
C112
100nF
77
76
RD1
RD3
RD2
OSC2/RC15 OSC1/RC12
D+/RG2
D-/RG3
RF4
RD15
RF5
504948474645444342414
RD11 RD10
VUSB VBUS
RA15 RA14
VCC-3.3V
U18
75
VSS
74 73 72
RD0
71 70 69
RD9
68
RD8
67 66 65
VSS
64 63 62
VDD
61
RA5
60
RA4
59
RA3
58
RA2
57 56 55 54 53
RF8
52
RF2
51
RF3
R100 27
R101 27
SOSCO
SOSCI
SPI_MOSI
SPI_SCK
RF-CS#
OSC2 OSC1
10uF
78
79
80
98
99
C82
33nF
U8
R48
R6
10K
10K
R63 10K
C88
C87
100nF
10uF
C113
100nF
1 2 3 4 5
C114
100nF
C89 100nF
CE CSN SCK MOSI MISO
VCC-RF
VSS
nRF24L01P
IRQ
6
7109
C90 100nF
C115
100nF
DVDD
VDD
VCC-RF
R4 22K
1617181920
VSS
VDD
IREF
15
VDD
14
VSS
13
ANT2
12
ANT1
11
VDD_PA
VSS
XC2
XC1
8
R64
X3
1M
16MHz
VCC-ADC VCC-3.3V
C116
100nF
C133
1uF
C117
100nF
C134
100nF
C124
1uF
C135
10nF
C125
1uF
C92 22pF
C91 22pF
FP4
A1 Rufa_2.4GHz_LEFT
C83
L4
3.9nH
1.5pF
L5
8.2nH
2.7nH
32.768KHz
C126
C127
1uF
10nF
L6
16MHz
C85
2.2nF
C84 N.M.
C86
4.7pF
C109 22pF
X5
C110 22pF
C107 22pF
X4
C108 22pF
C128
C129
10nF
10nF
SOSCO
SOSCI
OSC2 OSC1
SPI_MISO
RF-INT#
100
RE3
RE4
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4
10
RG6
11
RG7
12
RG8
13
MCLR
14
RG9
15
VSS
16
VDD
17
RA0
18
RE8
19
RE9
20
RB5
21
RB4
22
RB3
23
RB2
24
RB1
25
RB0
RB7
RB6
9192
9394959697
RE0
RE2
RE1
RA6
RA7
RG1
RG0
RG13
RG12
RG14
PIC32MX795F512L
RB11
RA9
RA10
3029282726
VDD
VSS
AVSS
AVDD
RB10
RB9
RB8
3534333231
VCC-ADC
8182838485
8687888990
RE
RF1
RF0
RD7
RD6
RD4RD5
O
VDD
RD13
RD12
SOSCO/RC14
RA1
RF13
RF12
0
383736
39
SOSCI/RC13
VCAP/VDDC
VDD
RB15
RB14
VSS
RD14
RB13
RB12
RF-CE
Figure 14-3: RF transceiver module connection schematic
Page 39
14. Eternet Transceiver
15. Ethernet Transceiver
Figure 15-1: Ethernet transceiver module
The development system features an Ethernet transceiver module ideal for local area networking (LAN). Communication over Ethernet is based on data packets called frames. Each frame contains source and destination addresses and error-checking data so that damaged data can be detected and re-transmitted. If you want to establish connection with computer, router or other devices you need to use standard RJ-45 connector which is provided on mikromedia+ SHIELD for PIC32MX7®. Communication lines are also provided over side headers.
Page 40
VCC-3.3V
FP6
LD6LD5
R84 10K
ACTIVELINK
R89
R87
220
220
VCC-ADC VCC-3.3V
C133
C134
1uF
100nF
VCC-3.3V
C111
C112
100nF
100nF
VCC-3.3V
C124
C125
1uF
1uF
VCC-ETH
E11
C118
C131
100nF
100nF
LAN-LED2 LAN-LED1
C153 100nF
10uF
X6
25MHz
R85
1M
C121
C135
10nF
C113
100nF
C126
1uF
C120
2.2uF
22pF
FP4
C114
C115
C116
100nF
C127
10nF
C117
100nF
100nF
100nF
C128
C129
10nF
10nF
C119 22pF
C122 100nF
N _
R2
12K1
242322
Rbias
1
VDD2A
2
LED2
3
LAN8720A
LED1
4
XTAL2
5
XTAL1
6
VDDCR
RXD1
7
R91 27
LAN-RXD1
VCC-ETH
LAN-TX_P
LAN-RX_P
LAN-TX_N
LAN-RX
21
19
20
U10
TXP
RXP
TXN
RXN
VDD1A
18
X5
X4
17 16 15 14 13
R86
10K
R90 1.5K
R3927 R8227 R8327
VCC-ETH
C109 22pF
C110 22pF
C107 22pF
C108 22pF
TXD1 TXD0 TXEN nRST
GND
REFCLKO
MDC
CRS_DV
RXD0
VDDIO
RXER
MDIO
8
9
11
12
10
R92 27
R93 27
LAN-CRS_DV
LAN-RXD0
LAN-MDIO
LAN-RXER
32.768KHz
16MHz
LAN-TXD1 LAN-TXD0 LAN-TXEN LAN-RST# LAN-CLKO
LAN-MDC
SOSCO
SOSCI
LAN-RXER
LAN-CRS_DV
LAN-CLKO
LAN-RST# LAN-RXD0 LAN-RXD1
OSC2 OSC1
98
99
100
RE4
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4
10
RG6
11
RG7
12
RG8
13
MCLR
14
RG9
15
VSS
16
VDD
17
RA0
18
RE8
19
RE9
20
RB5
21
RB4
22
RB3
23
RB2
24
RB1
25
RB0
RB6
9192
9394959697
RE0
RE2
RE1
RE3
RA7
RG13
RG12
RG14
PIC32MX795F512L
RA9
RB7
AVSS
AVDD
RB10
RB9
RA10
RB8
3534333231
3029282726
VCC-ADC
E10
10uF
79
80
8182838485
8687888990
RE
RF1
RF0
RA6
RG1
RG0
RB11
VDD
VSS
RD4RD5
RD7
RD6
O
VDD
RD13
RD12
VCAP/VDDC
VDD
RB15
RB14
VSS
RA1
RF13
383736
39
RD14
RF12
RB13
RB12
0
LAN-TXD0
78
77
76
RD1
RD3
RD2
SOSCO/RC14
SOSCI/RC13
OSC2/RC15 OSC1/RC12
D+/RG2
D-/RG3
RF4
RD15
RF5
504948474645444342414
LAN-TXD1
VCC-3.3V
U18
75
VSS
RD0 RD11 RD10
RD9
RD8 RA15 RA14
VSS
VDD
RA5
RA4
RA3
RA2
VUSB VBUS
RF8 RF2 RF3
SOSCO
74 73
SOSCI
72
LAN-MDC
71 70 69
LAN-MDIO
68 67
LAN-TXEN 66 65
OSC2
64 63
OSC1 62 61 60 59 58 57 56 55 54 53 52 51
LAN-TX_N LAN-TX_P LAN-RX_N LAN-RX_P
VCC-3.3V
VCC-5V
HDR1
M1X26
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 26
Figure 15-2: Ethernet transceiver module schematic
Page 41
16. Buzzer
The board is also equipped with piezo buzzer. It is an electric component which can be used to create sound when is provided with electrical signal. This is usually a PWM signal coming from a microcontroller pin. Frequency of the signal
determines the pitch of the sound and duty cycle of the signal can be used to increase or decrease the volume.
Figure 16-1:
Buzzer module
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
504948474645444342414
0
39
383736
3534333231
3029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
8182838485
86878889909192
9394959697
98
99
100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
R
F5
RA14
RA5
RD14
RD15
RA2
RF13
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSS
RF12
RA4
VSS
VCAP/VD
D
CO
RE
AVSS
AVDD
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
R
D1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4RD5
U18
VCC-3.3V
BUZZER
VCC-ADC
E10
10uF
C133
1uF
C135
10nF
FP4
VCC-ADC VCC-3.3V
C134
100nF
VCC-3.3V
C114
100nF
C115
100nF
C116
100nF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
VCC-3.3V
C117
100nF
C124
1uF
C125
1uF
VCC-3.3V
C126
1uF
C127
10nF
C128
10nF
C129
10nF
R74
1K
VCC-5V
2 3
R1
R2
Q8 PDTC114EU
PZ1 SPT-1325A
BUZZER
X5
32.768KHz
C109 22pF
C110 22pF
X4 16MHz
C107 22pF
C118 22pF
Figure 16-2: Buzzer module connection schematic
Page 43
17. Other Modules
03
02
04
01
The board also contains other useful peripherals such as 01 PIN photodiode, 02 IR receiver, 03 RGB led diode and 04 analog
temperature sensor. PIN photodiode is a type of photo detector. It has high sensitivity and response speed. It is connected to the
microcontroller analog pin RB8. IR receiver is used in infrared remote control systems. The demodulated output signal obtained from
IR module can be directly decoded by a microcontroller. Many of standard data formats are supported. RGB (Red, Green, Blue) diode
can be used as a light indicator. Each color is driven separately by transistor. The analog temperature sensor converts temperature to
analog voltage. It is directly connected to the microcontroller RB9 analog pin. Temperature measurement range of mikromedia+ for
PIC32MX7® board is from -20° C to 70° C.
Page 44
PD15
VCC-5V
R76
R78
1M
VCC-3.3V
8
2
VCC-3.3V
VCC-3.3V
VCC-3.3V
VCC-3.3V
C111
100nF
C114
100nF
C117
100nF
C126
1uF
C127
10nF
3
C112
100nF
C115
100nF
C124
1uF
U17A
LM358
4
C113
100nF
C116
100nF
C125
1uF
C128
10nF
LD4
R77
100K
27K4
6
7
LM358
U17B
100nF
C103
C100
4.7uF
VCC-3.3V
AN-PD
SOSCO
SOSCI
IR-RX
OSC2 OSC1
IR-RX
98
99
9394959697
100
RE2
RE1
RE3
RE4
RG13
RG12
1
RG15
2
VDD
3
RE5
4
RE6
5
RE7
6
RC1
7
RC2
8
RC3
9
RC4
10
RG6
11
RG7
12
RG8
13
MCLR
14
RG9
15
VSS
16
VDD
17
RA0
18
RE8
19
RE9
20
RB5
21
RB4
22
RB3
23
RB2
24
RB1
25
RB0
RG14
PIC32MX795F512L
RA9
RB7
RB6
AVSS
AVDD
RB8
RA10
3029282726
AN-TEMP
AN-PD
VCC-ADC
86878889909192
RE
RF1
RF0
RE0
RA6
RA7
RG0
RG1
RD7
VDD
VCAP/VDDCO
RB11
RA1
RF13
VSS
RF12
RB10
RB9
VDD
RB13
RB12
3534333231
VCC-ADC VCC-3.3V
C133
1uF
R40
1
C129
10nF
150K
32.768KHz
16MHz
C150 100nF
X5
X4
U16
TSOP6238
5
C109 22pF
C110 22pF
C107 22pF
C108 22pF
VCC-3.3V
4 3 2 1
R
-
LED-B
LED
LED-G
E10
10uF
78
79
80
8182838485
RD4
RD5
RD6
RD13
RD12
SOSCO/RC14
RB15
RB14
VSS
VDD
RD14
C134
100nF
77
76
RD3
RD1
RD2
SOSCI/RC13
RD11 RD10
RA15 RA14
OSC2/RC15 OSC1/RC12
D+/RG2
D-/RG3
VUSB VBUS
RF4
RD15
RF5
504948474645444342414039383736
C135
10nF
VCC-3.3V
U18
75
VSS
74
SOSCO
73
SOSCI
72
RD0
71 70 69
RD9
68
RD8
67 66 65
VSS
64
OSC2
63
OSC1
62
VDD
61
RA5
60
RA4
59
RA3
58
RA2
57 56 55 54 53
RF8
52
RF2
51
RF3
FP4
LED R
LED G
LED B
AN-TEMP
100nF
Q5 PDTC114EU
1
Q6 PDTC114EU
1
Q7 PDTC114EU
1
R75
100
C102
C101
100nF
R1
R1
R1
VCC-3.3V
LD3
R71 2K2
R2
2 3
VCC-5V
LD3
R72 3K3
R2
2 3
VCC-5V
LD3
R73 2K2
R2
2 3
U15
1
VDD
3
GND
2
VOUT
MCP9700A
Figure 17-1: Other modules connection schematic
Page 45
18. Pads
5V power
Ref. Ground
Analog lines
GPIO
CAN lines
SPI1 lines
ETH-TX
ETH-RX
3.3V power Ref. Ground
5V
GND
RB11 RB12
RB1 RB0 RB6
RB7
GPA0 GPA1 GPA2 GPA3 GPA4 GPA5
RC3
RC2
RD9 RD10
RC4
RD0
3.3V GND
PWM Interrupt I2C UART Analog lines SPI CAN
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
N
21.
P
22.
N
23.
P
24.
25.
26.
5V power
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
RST
3.3V L R L R
GPB0 GPB1 GPB2 GPB3
GPA6 GPA7
GPB4 GPB5 GPB6 GPB7
RA2 RA3
RF2 RF8 RF4 RF5
NC NC GND VDC
Reset pin
3.3V pwr. Audio out
Audio in
PWM Lines
GPIO
Interrupt Lines
I2C2 Lines
UART2 Lines
UART1 Lines
Ref. Ground 5-12V Input
Many microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both
sides of the board. They are designed to match with the mikromedia+ SHIELD for PIC32MX7
Page 46
®
75 74 73 72 71 70 69 68 67 66
64
65
63 62 61 60 59 58 57 56 55 54 53 52 51
504948474645444342414
0
39
383736
3534333231
3029282726
9
11 12
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
25
76
PIC32MX795F512L
8182838485
86878889909192
9394959697
98
99
100
RB11
RB10
RB9
RB8
RB13
RB12
RE7 RC1 RC2 RC3
RD9 RD8
RA15
D+/RG2
RB15
RB14
RF8
VBUS
VUSB
D-/RG3
VSS
VDD
RA6
RG0
RG1
RE0
RF1
RF0
RD7
RD6
RE6
RE5
RE2
RG13
RG12
RG14
RE1
RA7
RG8
RA9
RB2
RB3
RB4
RB5
RE9
RE8
RD11 RD10
RF2 RF3
RG9
RG7
RG6
RA1
RE3
RE4
RG15 VDD
RB7
RB6
RB0
RB1
RF4
R
F5
RA14
RA5
RD14
RD15
RA2
RF13
VDD
RA3
VDD
VDD
RA0
VDD
VSS
VSS
RF12
RA4
VSS
VCAP/VD
D
CO
RE
AVSS
AVDD
RA10
MCLR
RC4
OSC1/RC12
OSC2/RC15
RD0
RD3
R
D1
SOSCI/RC13
SOSCO/RC14
VSS
RD2
RD12
RD13
RD4RD5
U18
VCC-3.3V
HDR-
SPI_MISO
MCLR#
R95 4K7
R94
4K7
HDR-UART1_RX
HDR-UA
R
T
1_
T
X
HDR-AN0
HDR-AN1
HDR-AN2 HDR-AN3
HDR-CAN_RX
HDR-CAN_TX
HDR-AN4/PGC
HDR-AN5/PGD
VCC-ADC
E10
10uF
R100 27
R101 27
HDR-
SPI_MOSI
HDR-
SPI_SCK
HDR-UART2_RX
HDR-UART2_TX
HDR-
SPI_SS
OSC1
OSC2
SOSCI
SOSCO
VCC-3.3V
Vdc
VCC-5V
HDR1
M1X26
HDR2
M1X26
HDR-CAN_RX HDR-CAN_TX
HDR-SPI_SCK HDR-SPI_MISO HDR-SPI_MOSI
HDR-SPI_SS
HDR-AN0 HDR-AN1 HDR-AN2 HDR-AN3 HDR-AN4 HDR-AN5
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 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 51 52
VCC-3.3V
HDR-ETH_TX_N HDR-ETH_TX_P
HDR-ETH_RX_P
HDR-ETH_RX_N
HDR-GPIO0 HDR-GPIO1 HDR-GPIO2 HDR-GPIO3 HDR-GPIO4 HDR-GPIO5
MCLR#
HDR-LN_OUT_L HDR-LN_OUT_R
HDR-LN_IN_R
HDR-LN_IN_L
HDR-UART1_RX HDR-UART1_TX
HDR-UART2_RX HDR-UART2_TX
HDR-PWM0 HDR-PWM1 HDR-PWM2 HDR-PWM3
HDR-INT0 HDR-INT1 HDR-INT2 HDR-INT3
HDR-I2C2_SCL
HDR-I2C2_SDA
HDR-I2C2_SCL
HDR-I2C2_SDA
HDR-GPIO6 HDR-GPIO7
OSC1
OSC2
SOSCI
SOSCO
X5
32.768KHz
C109 22pF
C110 22pF
X4
16MHz
C107 22pF
C108 22pF
C133
1uF
C135
10nF
FP4
VCC-ADC VCC-3.3V
C134
100nF
VCC-3.3V
C114
100nF
C115
100nF
C116
100nF
VCC-3.3V
C111
100nF
C112
100nF
C113
100nF
VCC-3.3V
C117
100nF
C124
1uF
C125
1uF
VCC-3.3V
C126
1uF
C127
10nF
C128
10nF
C129
10nF
MP3
HDR-LN_OUT_L HDR-LN_OUT_R
HDR-LN_IN_R
HDR-LN_IN_L
LINE-OUT_L LINE-OUT_R LINE-IN_L LINE-IN_R
ETHERNET
PORT EXPANDER
HDR-GPIO6
HDR-GPIO7
GPIO0
GPIO1
GPIO2
GPIO3
GPIO4
GPIO5
GPIO6
GPIO7
HDR
-PWM0
HDR
-PWM1
HDR
-PWM2
HDR
-PWM3
HDR
-INT0
HDR
-INT1
HDR
-INT2
HDR
-INT3
INT0 INT1 INT2 INT3
PWM0 PWM1 PWM2 PWM3
HDR-ETH_TX_N HDR-ETH_TX_P
HDR-ETH_RX_P
HDR-ETH_RX_N
ETH_TX_N ETH_TX_P ETH_RX_N ETH_RX_P
HDR-GPIO0
HDR-GPIO1
HDR-GPIO2
HDR-GPIO3
HDR-GPIO4
HDR-GPIO5
Figure 18-1: Connecting pads schematic
Page 47
19. mikromedia+ SHIELD for PIC32MX7
®
01
09 08 07 06
* not provided in the package
05 05 0505
08
Figure 19-1: mikromedia+ SHIELD for PIC32MX7
Page 48
04070102
03
® *
We have also made an extension board pin-compatible with your mikromedia+ board, which enables you to easily expand your basic board functionality. It is called mikromedia+ SHIELD for
PIC32MX7®. The shield contains:
FTDI USB-UART chip
01
USB MINI-B connector
02
CAN transceiver
03
Screw terminals
04
mikroBUS sockets
05
Power supply screw terminals
06
07
Side connection pads
08
GNDs
09
Ethernet connector
VCC-3.3V VCC-5V
100
VCC-3.3V VCC-5V
VCC-3.3V VCC-5V
VCC-3.3V VCC-5V
RB11/AN1 RB6/RST1 RB7/CS1 RD10/SPI-SCK RC4/SPI-MISO RD0/SPI-MOSI
Vinput
D1
B340A
PWM
INT
RX
TX SCL SDA
5V GND
RB11/AN1 RB12/AN2 RB1/AN3 RB0/AN4 RB6/RST1 RB7/CS1 GPA0/RST2 GPA1/CS2 GPA2/RST3
RC3/CAN-RX RC2/CAN-TX RD9/CS3 RD10/SPI-SCK RC4/SPI-MISO RD0/SPI-MOSI LAN-TX_N LAN-TX_P LAN-RX_N LAN-RX_P
VCC-3.3V
C13 22uF
RF4/UART-RX RF5/UART-TX
VCC-5V
C14 22uF
GPB0/PWM1
GPB4/INT1
RA2/I2C-SCL RA3/I2C-SDA
AN RST CS SCK MISO MOSI
3.3V GND
1
C12 22uF
RB12/AN2 GPA0/RST2 GPA1/CS2 RD10/SPI-SCK RC4/SPI-MISO RD0/SPI-MOSI
HDR1 HDR2
1
27
2
28
3
29
4
30
5
31
6
32
7
33
8
34
9
35
10
36
11
37
12
38
13
39
14
40
15
41
16
42
17
43
18
44
19
45
20
46
21
47
22
48
23
49
24
50
25
51
26
52
C3
C2
100nFC422uFC522uFC622uF
100nF
VCC-3.3V
Vinput
AN RST CS SCK MISO MOSI
3.3V GND
GPB0/PWM1 GPB1/PWM2 GPB2/PWM3 GPB3/PWM4
GPA6/RST4
GPA7/CS4 GPB4/INT1 GPB5/INT2 GPB6/INT3 GPB7/INT4
RA2/I2C-SCL RA3/I2C-SDA RF2/FTDI-RX
RF8/FTDI-TX RF4/UART-RX RF5/UART-TX
FP1
FERRITE
2
GPB1/PWM2
PWM
GPB5/INT2
INT
RF4/UART-RX
RX
RF5/UART-TX
TX
RA2/I2C-SCL
SCL
RA3/I2C-SDA
SDA
5V
GND
CN1
CN2
RB1/AN3
RD9/CS3 RD10/SPI-SCK RC4/SPI-MISO RD0/SPI-MOSI
RF2/FTDI-RX
RF8/FTDI-TX
RC2/CAN-TX
RC3/CAN-RX
AN RST CS SCK MISO MOSI
3.3V GND
C9 100nF
VCC-3.3V VCC-5V
U2
1
TXD
2
DTR#
3
RTS#
4
VCCIO
5
RXD
6
RI#
7
GND
8
NC
9
DSR#
10
DCD#
11
CTS#
12
CBUS4
13
CBUS2
14 15
CBUS3
VCC-3.3V
U1
1
TXD
2
VSS
3
VDD RXD Vref
SN65HVD230
C1
100nF
J5B
3
FT232RL
CANH CANL
PWM
INT
RX TX
SCL
SDA
5V
GND
Rs
R11
VCC-5VVCC-5VVCC-3.3V
C10 100nFE110uF
OSCO OSCI TEST AGND
NC CBUS0 CBUS1
GND
VCC
RESET#
GND
3V3OUT
USBDM
USBDP
VCC-3.3V
8 7
CANH
CANL
6 54
R1
10
CANHCANL
GPB2/PWM3
GPB6/INT3GPA2/RST3
RF4/UART-RX
RF5/UART-TX
RA2/I2C-SCL
RA3/I2C-SDA
28 27 26 25 24 23 22 21 20 19 18 17 16
CN6
CN5
VCC-3.3V VCC-3.3V
RX-LED TX-LED
C11 100nF
RB0/AN4 GPA6/RST4 GPA7/CS4 RD10/SPI-SCK RC4/SPI-MISO RD0/SPI-MOSI
R6 2K2
RX TX
LD1 LD2
FTDI-D_N FTDI-D_P
PWM
INT
RX TX
SCL
SDA
5V
GND
CN3
VBUS D­D+ ID GND
USB MINIB
VCC-3.3V
GPB3/PWM4
GPB7/INT4 RF4/UART-RX RF5/UART-TX
RA2/I2C-SCL
RA3/I2C-SDA
FP2
LAN-TX_P
R2 51
R3
LAN-TX_N
51
LAN-RX_P
R4 51
R5
LAN-RX_N
51
C8 10nF
AN RST CS SCK MISO MOSI
3.3V GND
4
Vinput
D2 PMEG3010ER
R7 4K7
1 2 3 4
5 R8 10K
R9 10K
R10 10K
CN7
A2A1
TD+
CT
TD-
RD+
CT
RD-
K1 K2
RJ45
C7
10nF
Figure 19-2: mikromedia+ SHIELD for PIC32MX7® schematic
20. Click boards are plug and play!
So far, MikroElektronika has released more than 60 mikroBUS™ compatible click Boards™. On average, one click board is released per week. Our intention is to enable you to easily expand with as many add-on boards as possible, so you will be able to easily expand the functionality of your development board.Each click board™ comes with a set of working example codes. Please, check the list of currently available boards on
the following link:
http://www.mikroe.com/click/
EVE click
Fiber Opt click
GPS2 click
GSM2 click
BUZZ click
Proximity click
Compass click
ccRF click
Page 50
USB UART click
Current click
Dali click
RFid click
Relay click
8X8 click
FM click
Bluetooth2 click
Thunder click
USB SPI click
BarGraph click
Page 51
EEPROM click
LightHz click
7seg click
THERMO click
Gyro click
Pressure click
21. Dimensions
24.2
946
7.99
314.5
10.16
400
6.8
268
8.38
330
119.54
4706
111.54
4391
72.78
2865
63.5
2600
7.77
306
14.7
44.3
579
1744
1.6
5 4
63 157
197
9.2
362
78
70
2756
3071
67.31
2650
Legend
mm
mils
8.64
3409354
73.56
2896
81.63
3214
2.54
100
Page 52
5.59
220
7.5
295
3.2
126
590
8.7
362
15
22. What’s next?
Your journey through each and every feature of mikromedia+ for PIC32MX7® board ends here. You got to know it’s modules and organization. Now you are ready to use it. We are suggesting several steps which are probably the best way to begin with. We invite you to join the users of mikromedia™ brand. You will nd 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 PIC® 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 rst applications.
Projects
Once you have chosen your compiler, and since you already got the board, you are ready to start writing your rst
projects. Visual TFT software for rapid development of graphical user interfaces will enable 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 check how it works on hardware. Visual TFT is also available on the Product DVD.
Page 53
Notes:
Page 54
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 modication 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 tness 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, ocers, employees or distributors be liable for any indirect, specic, incidental or consequential damages (including damages for loss of business prots 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.
HIGH RISK ACTIVITIES
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 trac
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 specically disclaim any expressed or implied warranty of tness for High
Risk Activities.
TRADEMARKS
The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, mikroBUS™, click Boards™, EasyPIC™ v7 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 identication or explanation and to the owners’ benet, with no intent to infringe.
Copyright © MikroElektronika, 2013, All Rights Reserved.
Page 55
PIC32
If you want to learn more about our products, please visit our website 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,
do not hesitate to contact us at oce@mikroe.com
mikromedia Plus for PIC32MX7 Manual
ver. 1.01
0 100000 024201
Loading...