48
user's guide to Compact development system rich with on-board peripherals for all-round multimedia development on PIC32MX795F512L multime ia for PIC32MX7

multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

  • Upload
    others

  • View
    34

  • Download
    0

Embed Size (px)

Citation preview

Page 1: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

user's guide to

Compact development system rich with on-board peripherals

for all-round multimedia development on PIC32MX795F512L

multime iafor PIC32MX7

Page 2: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 3

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.

The Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS Inc. in the U.S.A. and other countries.

TO OUR VALUED CUSTOMERS

Nebojsa Matic

General Manager

Page 3: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 3

Introduction to MMB for PIC32MX7 4

Package contains 5

Key Features 6

System Specification 7

1. Connecting power supply 8

Via USB MINIB connector 8

Via screw terminal 9

2. Programming with bootloader 10

step 1 – Connecting PIC32MX7 10

step 2 – Browsing for .hex file 11

step 3 – Select .hex file 11

step 4 – .hex file uploading 12

step 5 – Finish upload 13

3. Programing with mikroProg™ programmer 14

mikroProg features: 15

4. Programing with ICD3 programmer 16

5. Touch Screen 18

6. Temperature sensor 20

7. Flash Memory 22

8. EEPROM Memory 24

9. MMC/SD Card Slot 26

10. Audio Module 28

11. Joystick 30

12. USB connectors 32

13. Indication LEDs 35

14. RS-232 module 36

15. Ethernet module 38

16. Accelerometer 40

17. Pinout 42

18. Pads 43

19. PIC32MX795F512L Microcontroller 44

Key microcontroller features 44

20. Dimensions 45

Table of Contents

Page 4: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 4 Page 5

Introduction to MMB for PIC32MX7

The MMB for PIC32MX7 is a compact

development system which provides a

convenient platform for development

of devices with multimedia contents.

The central part of the system is a 32-

bit microcontroller PIC32MX795F512L

that is programmed with bootloader or

with external programmer mikroProg

(mikroElektronika), or ICD3® (Microchip®).

The MMB for PIC32MX7 features integrated

modules such as audio module, TFT 320x240 touch screen display, USB

connector for communication with the

microcontroller, accelerometer, RS-232

module, EEPROM memory, FLASH memory,

temperature sensor, joystick and MMC/SD card slot.

Page 5: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 4 Page 5

Package contains

01 02

04 05

03

06

Damage resistant

protective box

MMB for PIC32MX7

development system

MMB for PIC32MX7

user’s guide

MMB for PIC32MX7

schematic

CD with documentation

and examples

USB cable

user's guide to

Compact development system rich with on-board peripherals for all-round multimedia development on PIC32MX795F512L

multime iafor PIC32MX7

schematic

Compact development system rich with on-board peripherals for all-round multimedia development on PIC32MX795F512L

multime iafor PIC32MX7

Page 6: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 6 Page 7

Key Features 01

02

03

01

02

03

04

05

06

07

08

09

13

10

14

11

15

12

16

17

Pads

TFT 320x240 display

Temperature sensor

Indication LEDs

Joystick

RESET button

2x5 male header for mikroProg programmer

ICD3 connector

Ethernet connector

PIC32MX795F512L

MicroSD Card Slot

RS-232 connector

USB MINIB connector

USB HOST connector

3.5mm microphone connector

Audio module

3.5mm headphone connector

05

04

Page 7: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 6 Page 7

System Specification

power supply

Over a USB cable (5V DC) or via screw

terminal (7-23V AC or 9-32V DC)

board dimensions

12.6 x 8.9cm (4.9 x 3.5 inch)

weight

~200g (0.5 lbs)

power consumption

50mA in idle state

(when on-board modules are off)

17

14

13

11

08

12

09

15

10

16

0706

Page 8: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 8 Page 9

Connect the development system to a PC via

a USB cable, Figure 1-1. The TFT display and

POWER LED will be automatically turned on.

1. Connecting

power supply

Figure 1-1: Powering the development system via USB

MINIB connector

Via USB MINIB connector

Page 9: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 8 Page 9

Instead of using power supply via USB MINIB connector, it is also possible to

use AC/DC power supply via screw terminal CN1. Connected power supply

source voltage can vary from 9 to 32V DC and from 7 to 23V AC.

Figure 1-2: Powering the development system via screw

terminal CN1

Via screw terminal

Page 10: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 10 Page 11

2. Programming with bootloader

For programming, microcontroller use bootloader program which

is preinstaled in to MCU memory. To transfer .hex file from a PC to

MCU you need bootloader software (mikroBootloader USB HID)

which can be downloaded from:

After software is downloaded unzip it to desired location and

start mikroBootloader USB HID software.

http://www.mikroe.com/eng/products/view/573/multimedia-board-for-pic32mx7/

Figure 2-1: mikroBootloader USB HID

step 1 – Connecting PIC32MX7

01

02

Connect PIC32MX7 board with a PC via USB cable and USB icon

will turn red

Whitin 5s click on Connect button

01

02

Page 11: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 10 Page 11

step 3 – Select .hex file step 2 – Browsing for .hex file

Figure 2-2: Browse for HEXFigure 2-3: Selecting HEX

01 01

02

Click on Browse for HEX button Select .hex file via open window

Click on Open button

01

01

01

Page 12: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 12 Page 13

step 4 – .hex file uploading

Figure 2-4: Begin uploading Figure 2-5: Progress bar

01

01

01 01To start .hex file uploading click on Begin uploading button You can monitor .hex file uploading via progress bar

Page 13: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 12 Page 13

step 5 – Finish upload

Figure 2-6: Restarting MCU Figure 2-7: mikroBootloader ready for next job

01

01 To finish uploading click on OK button

Page 14: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 14 Page 15

In order to connect the

mikroProg programmer to

the development system, it is

necessary to place IDC10 connector

on 2x5 male header CN10. Make sure

that knob on IDC10 connector must be

oriented towards mark MIKROPROG, Figure 3-1.

The microcontroller can be programmed with mikroProg

programmer. The mikroProg programmer is connected to the development system via the CN10 connector, Figure 3-1.

3. Programing with

mikroProg™ programmer

Figure 3-1: Connecting mikroProg programmer

Page 15: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 14 Page 15

mikroProg features:

01

02

03

04

Fast mikroICD In-Circuit Debugger

Support for over 600 PIC, dsPIC and PIC32 devices

Compatible with mikroC, mikroBasic and mikroPascal

compilers for PIC, dsPIC and PIC32

Elegant minimalistic design, clean matte white plastic

finish and color indicator LEDs

Page 16: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 16 Page 17

Figure 4-1: Connecting ICD3 programmer

The microcontroller can be also programmed with ICD3 programmer. This programmer is connected to PIC32MX7 board via on-board ICD connector CN5.

4. Programing with

ICD3 programmer

In order to make connection between ICD3 programmer and PIC32MX7

place programmers cable in to ICD connector CN5, Figure 4-1. To use

ICD3 programmer it is necessary to instal program MPLAB on a PC.

Page 17: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 16 Page 17

If you accidently erase bootloader program from MCU memory it is possible to load it again with external programer. MMB MX7

USB HID Bootloader v1.10.hex file is located in Firmware sub folder, Page 10.note

6

CN5 ICD

RJ11

MCLR#

PGD

MCLR#

PG

C

PG

D

PGC

GND

PGD

PGC

5

4

3

2

1

1

2

3

4

5

6

R1

0

5

10 K

R14

010 K

RESET

VCC3

VCC3

VCC3

PIC32MX795F512L

RE

4R

B6

RB

7

RA

9

RA

10

AV

CC

AG

ND

RB

8

RB

9

RB

10

RB

11

GN

D

VC

C

RA

1

RF

13

RF

12

RB

12

RB

13

RB

14

RB

15

GN

D

VC

C

RD

14

RD

15

RF

4

RF

5

RE

3

RE

2

RG

13

RG

12

RG

14

RE

1

RE

0

RA

7

RA

6

RG

0

RG

1

RF

1

RF

0

VC

C

VC

AP

RD

7

RD

6

RD

5

RD

13

RD

12

RD

3

RD

2

RD

1

RD

4

RG15 GND

RC14

RC13

RD0

RD11

RD10

RD9

RD8

RA15

RA14

GND

OSC2

OSC1

VCC

RA5

RA4

RA3

RA2

RG2

RG3

VUSB

VBUS

RF8

RF2

RF3

VCC

RE5

RE6

RE7

RC1

RC2

RC3

RC4

RG6

RG7

RG8

MCLR

RG9

GND

VCC

RA0

RE8

RE9

RB5

RB4

RB3

RB2

RB1

RB0

VCC3VCC3 VCC3

VCC3

VCC3

VCC3E9

10uF

C12

100nF

PGC

PGD

MCLR#

VCC-3.3 VCC-3.3

CN10

Figure 4-2: Connectors CN5 and CN10 connection schematic

Page 18: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 18 Page 19

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

way of entering and displaying data

depends on the program loaded into

the microcontroller. The TFT display

is capable of showing data in

262.000 diffe rent colors.

5. Touch Screen

Figure 5-1: Touch Screen

Page 19: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 18 Page 19

Figure 5-2: Touch Screen connection schematic

Page 20: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 20 Page 21

6. Temperature sensor

The built in temperature sensor (MCP9700A) is capable for measuring

temperature in range between -40 and +125°C with accuracy of +/-2°C.

Temperature sensor is attached to MCU via pin RB8 (TEMP).Figure 6-1: MCP9700A

Page 21: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 20 Page 21

Figure 6-2: Temperature sensor connection schematic

Page 22: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 22 Page 23

Since multimedia applications are getting increasingly demanding, it is

necessary to provide additional memory space to be used for storing programs

by the microcontroller. The flash memory module enables the microcontroller to

use additional 8Mbit flash memory. It is connected to the microcontroller via the

Serial Peripheral Interface (SPI).

7. Flash Memory

Figure 7-1: Flash memory module

Page 23: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 22 Page 23

VCC3

VCC3

VCC3

EE-CS#

EE-CS#

SDI1

SDI1

SCK1

SCK1

SDO1

SDO1

R22 27

R57100K

R18 27

R19 27

U10A

M25P80

CSSDOWPGND

VCCHOLD

SCKSDI

C 73

100nF

VCC3

VCC3PIC32MX795F512L

RE4

RB6

RB7

RA9

RA1

0AV

CC

AGN

DR

B8R

B9R

B10

RB1

1G

ND

VCC

RA1

RF1

3R

F12

RB1

2R

B13

RB1

4R

B15

GN

DVC

CR

D14

RD

15R

F4R

F5

RE3

RE2

RG

13R

G12

RG

14R

E1R

E0R

A7R

A6R

G0

RG

1R

F1R

F0VC

CVC

AP RD

7R

D6

RD

5

RD

13R

D12

RD

3R

D2

RD

1

RD

4

RG15 GNDRC14RC13RD0

RD11RD10RD9RD8

RA15RA14GND

OSC2OSC1

VCCRA5RA4RA3RA2RG2RG3

VUSBVBUS

RF8RF2RF3

VCCRE5RE6RE7RC1RC2RC3RC4RG6RG7RG8MCLRRG9GNDVCCRA0RE8RE9RB5RB4RB3RB2RB1RB0

VCC3VCC3 VCC3

VCC3

VCC3

VCC3 E910uF

Figure 7-2: Flash memory module connection schematic

Page 24: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 24 Page 25

EEPROM (Electrically Erasable Programmable Read-Only Memory) is a built-in

memory module used for storing data that should be saved when power goes

off. The 24AA01 circuit may store 1Kbit data and uses serial I2C communication

to exchange data with the microcontroller.

8. EEPROM Memory

Figure 8-1: EEPROM memory module

Page 25: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 24 Page 25

Figure 8-2: EEPROM memory module connection schematic

Page 26: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 26 Page 27

9. MMC/SD Card Slot

Figure 9-1: Inserting microSD card

Figure 9-2: microSD card

There is a built-in MMC/SD slot for MMC/SD card provided on the development system. It

enables the system to additionally expand available memory space. The Serial Peripheral

Interface (SPI) is used for communication between the microcontroller and MMC/SD card.

Page 27: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 26 Page 27

Figure 9-3: MMC/SD slot connecting schematic

Page 28: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 28 Page 29

The Multimedia Board features an

audio module providing an interface for

a microphone and stereo headphones. This

module enables audio recording via a mono

microphone. The microphone is connected to

the system via a 3.5mm connector CN7. Stereo

headphones are used for audio reproduction. They are

connected to the system via a 3.5mm connector CN6. For

the proper use of microphone and headphones, it is necessary

to write a program and load it into the microcontroller. In

addition to the audio recording and reproduction, the audio module

can also generate a side tone in the headphones. Volume as well as

other functions of this module are controlled by the microcontroller

from within the software using serial I2C communication. Communication

between the audio module and the microcontroller is performed via the Serial

Peripheral Interface (SPI).

10. Audio Module

Figure 10-1: Inserting 3.5mm headphones jack

Page 29: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 28 Page 29

VCC3

VCC3

VCC3

U7

WM8731SEDS

DBVCC

CLKOUT

BCLK

DACDAT

DACLRC

ADCDAT

ADCLRC

HPVDD

LHPOUT

RHPOUT

HPGND

LOUT

ROUT

AVCC

DGND

DCVCC

XTO

XTI/MCLK

SCLK

SDIN

CSB

MODE

LLINEIN

RLINEIN

MICIN

MICBIAS

VMID

AGND

C231nF

C241nF

E14

10uF

SCK3ASDO3A

SCL2

SCL2

SDA2

SDA2CDC-CS#

CDC-CS#

LRCSDI3A

LHPO

LHPO

RHPO

RHPO

R33

R34680

R3547K

R324K7

R314K7

R39

R17

R58

R59

330

27

27

1K

1K

CN7

PHONEJACK

X312.288MHz

C22

C21

22pF

22pF

VCCA3VCC3L2

10uH

VCC3PIC32MX795F512L

RE4

RB6

RB7

RA9

RA1

0AV

CC

AGN

DR

B8R

B9R

B10

RB1

1G

ND

VCC

RA1

RF1

3R

F12

RB1

2R

B13

RB1

4R

B15

GN

DVC

CR

D14

RD

15R

F4R

F5

RE3

RE2

RG

13R

G12

RG

14R

E1R

E0R

A7R

A6R

G0

RG

1R

F1R

F0VC

CVC

AP RD

7R

D6

RD

5

RD

13R

D12

RD

3R

D2

RD

1

RD

4

RG15 GNDRC14RC13RD0

RD11RD10RD9RD8

RA15RA14GND

OSC2OSC1

VCCRA5RA4RA3RA2RG2RG3

VUSBVBUS

RF8RF2RF3

VCCRE5RE6RE7RC1RC2RC3RC4RG6RG7RG8MCLRRG9GNDVCCRA0RE8RE9RB5RB4RB3RB2RB1RB0

VCC3VCC3 VCC3

VCC3

VCC3

VCC3 E910uF

SDO3A

SCL2

CDC-CS#

SDA2

SDI3

A

SCK3

ALR

C

R47 27 E16330uF

E17330uF

CN6

PHONEJACKR3747K

R3647K STEREO

OUTPUT

EXTERNALMICROPHONE

C26

100nF

VCCA3

C 82

100nF

VCC3

C25

100nF

VCCA3

C 72

100nF

VCC3

VCCA3

E20

10uF

VCC3

E15

10uF

Figure 10-2: Audio module connecting schematic

Page 30: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 30 Page 31

Use built-in joystick to

make simple games, menus

and other applications

that requires movement

in four directions with

taster function (when

joystick is pressed).

11. JoystickFigure 11-1: Joystick with

taster function

Page 31: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 30 Page 31

Figure 11-2: Joystick connecting schematic

Page 32: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 32 Page 33

12. USB connectors

MultiMedia Board for PIC32MX7 have two USB

connectors: USB MINIB and USB HOST.

USB MINIB represents OTG device which is used for connection

with a PC. This USB connector is used for MCU programming

via bootloader software.

Figure 12-1: Inserting the USB MINIB cable

Page 33: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 32 Page 33

USB HOST (USB A) connector is used for attaching

another devices to MMB for PIC32MX7 board like

printer, scanner, keyboard etc. Bare in mind that is

necessary to write a program which will control

these devices.

Figure 12-3: Inserting the USB cable in USB HOST

connector

Figure 12-2: MMB for PIC32MX7 connected with

USB device via USB cable

Page 34: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 34 Page 35

Figure 12-4: USB connectors connecting schematic

Page 35: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 34 Page 35

Figure 13-2: LEDs connecting schematic

13. Indication LEDs

Figure 13-1: On-board LEDs

An LED (Light-Emitting Diode) is a highly efficient electronic

source of light. When connecting LEDs, it is necessary to use

a current limiting resistor. A common LED diode voltage is

approximately 2.5V, while the current varies from 1 to 20mA

depending on the type of LED. The Multimedia Board uses LEDs

with current I=1mA.

R444K7

R454K7

R464K7

LD0LED

LED-0

LED-2

LED-1

LED-0

LED-1

LED-2

LD1LED

LD2LED

VCC3

VCC3PIC32MX795F512L

RE4

RB6

RB7

RA9

RA10

AVCC

AGND

RB8

RB9

RB10

RB11

GND

VCC

RA1

RF13

RF12

RB12

RB13

RB14

RB15

GND

VCC

RD14

RD15

RF4

RF5

RE3

RE2

RG13

RG12

RG14

RE1

RE0

RA7

RA6

RG0

RG1

RF1

RF0

VCC

VCAP RD7

RD6

RD5

RD13

RD12

RD3

RD2

RD1

RD4

RG15 GNDRC14RC13RD0RD11RD10RD9RD8RA15RA14GNDOSC2OSC1VCCRA5RA4RA3RA2RG2RG3VUSBVBUSRF8RF2RF3

VCCRE5RE6RE7RC1RC2RC3RC4RG6RG7RG8MCLRRG9GNDVCCRA0RE8RE9RB5RB4RB3RB2RB1RB0

VCC3VCC3 VCC3

VCC3

VCC3

VCC3 E910uF

There are three LEDs on the Multimedia Board that can be assigned a signal

function. LEDs are connected to the following I/O microcontroller pins: LD0

- RA0, LD1 - RA1 and LD2 - RD9. The LED marked POWER indicates when

the system is turned on, whereas the diode marked MMC/SD is used to

indicate memory card activity.

Page 36: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 36 Page 37

UART (Universal Asynchronous Receiver/Transmitter)

is one of the most common ways of exchanging data

between a PC and peripheral devices. The RS-232 serial

communication is performed via a 9-pin SUB-D connector and

the microcontroller’s UART module.

14. RS-232 module

The development board features the RS-232 module which

communicates with MCU via UART communication.

Figure 14-1: Connecting RS-232 cable

Page 37: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 36 Page 37

Figure 14-2: RS-232 module connecting schematic

Page 38: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 38 Page 39

Due to the Ethernet module, the

development system can access the LAN

network in order to establish communication

with remote devices. The Ethernet module operates

in compliance with the IEEE 802.3/802.3u and

ISO 802-3/IEEE 8021.3 (10BASE-T) standards. The

development system is connected to the LAN network via

a standard RJ45 ethernet connector.

15. Ethernet module

Figure 15-1: Inserting the Ethernet cable

Figure 15-2: Ethernet cable connected with board

Page 39: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 38 Page 39

R74 27

R75 27

R76 27

R80 1M

VCC3

VCC3

VCC3

VCC3

FP1

RJ4

5 w

ith L

EDsTD+

CN9

A2A2

K2

A1A1

LED

1

LED

2

K1

CTTD-

RD+CTRD-

R8649.9

R88220

R8210K

R87220

R8549.9

R8449.9

R8349.9

R7927

R8112K1

R7827

R7727

R4827

R731K5

C56100nF

C482.2uF

C55100nF

C47100nF

C5410pF

C5310pF

C5210pF

C5110pF

X425MHz

C50

22pF

C49

22pF

U20

TXN

TXP

TXNRXP

RXN

AEMDC

AERXERR

AEMDIO

AETX

D1

AETX

D0

AETX

EN

AER

EFC

LK

TXPRXN

AECRSDVRXP

LED2LED1

AERXD0

AERXD1

VDD

2ATX

D1

TXD

0TX

ENnR

ST INT

MD

C

LED

2LE

D1

XTAL

2XT

AL1

VDD

CR RXD1RBIAS

RXPRXNTXP

LAN8720A

TXNVDD1A

RXD0VDDIORXER

CRS_DVMDIO

VCC3PIC32MX795F512L

RE4

RB6

RB7

RA9

RA1

0AV

CC

AGN

DR

B8R

B9R

B10

RB1

1G

ND

VCC

RA1

RF1

3R

F12

RB1

2R

B13

RB1

4R

B15

GN

DVC

CR

D14

RD

15R

F4R

F5

RE3

RE2

RG

13R

G12

RG

14R

E1R

E0R

A7R

A6R

G0

RG

1R

F1R

F0VC

CVC

AP RD

7R

D6

RD

5

RD

13R

D12

RD

3R

D2

RD

1

RD

4

RG15 GNDRC14RC13RD0

RD11RD10RD9RD8

RA15RA14GND

OSC2OSC1

VCCRA5RA4RA3RA2RG2RG3

VUSBVBUS

RF8RF2RF3

VCCRE5RE6RE7RC1RC2RC3RC4RG6RG7RG8MCLRRG9GNDVCCRA0RE8RE9RB5RB4RB3RB2RB1RB0

VCC3VCC3VCC3

VCC3

VCC3

VCC3

AECRSDV

AEREFCLK

AERXD0AERXD1

AERXERR

AETX

D0AE

TXD

1

E910uF

AEMDC

AETXENAEMDIO

Figure 15-3: Ethernet module connecting schematic

Page 40: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 40 Page 41

The accelerometer is used to measure acceleration, orientation, gravity, etc.

The accelerometer’s function is defined by the user in the program loaded

into the microcontroller. Communication between the accelerometer and the

microcontroller is performed via the SPI interface.

16. Accelerometer

Figure 16-1: Accelerometer

Page 41: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 40 Page 41

Figure 16-2: Accelerometer connection schematic

Page 42: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 42 Page 43

17. Pinout

VCC3GNDRD7RD6

RD13RD12

RF0RF1RG1RG0RD7RD6RE5RE4RE3RE2RE1RE0RD5RD4RB3RB2RB1RB0

RA10RA9RB4RB5GND

VCC5

+3.3V power supplyGroundPMD15PMD14PMD13PMD12PMD11PMD10

PMD9PMD8PMD7PMD6PMD5PMD4PMD3PMD2PMD1PMD0PMRDPMWR

AN3/JOY-DAN2/JOY-CAN1/JOY-BAN0/JOY-A

Vref+/JOY-CPVref-AN4AN5

Ground+5V power supply

Used for TFT display control

lines

Analog I/O

Analog I/O / Joystick pins

GNDRB9RB14RD3RA6RG13RG12RG14RA7RD1RA4RA5RA14GNDRA2RA3GNDRF4RF5RF13RC4RD0RD10GNDRA0RA1RD9GNDVCC3

VCC3GroundUSB-PSWLCD-CS#Digital I/OTRCLKTRD0TRD1TRD2TRD3

INT3GNDSCL2SDA2GroundSDI3ASDO3ASCK3ASDI1SDO1SCK1GroundLED-0LED-1LED-2Ground+3.3V power supply

+3.3V power supply

Digital I/O

Trace data bits

Trace data clock

Connected with LEDs / Digital I/O

I2C

SPI

Pin functions Pin functions

Page 43: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 42 Page 43

C5

100nF

VCC3

C6

100nF

VCC3

C7

100nF

VCC3

C8

100nF

VCC3

C9

100nF

VCC3

C10

100nF

VCC3

PIC32MX795F512L

RE

4R

B6

RB

7

RA

9

RA

10

AV

CC

AG

ND

RB

8

RB

9

RB

10

RB

11

GN

D

VC

C

RA

1

RF

13

RF

12

RB

12

RB

13

RB

14

RB

15

GN

D

VC

C

RD

14

RD

15

RF

4

RF

5

RE

3

RE

2

RG

13

RG

12

RG

14

RE

1

RE

0

RA

7

RA

6

RG

0

RG

1

RF

1

RF

0

VC

C

VC

AP

RD

7

RD

6

RD

5

RD

13

RD

12

RD

3

RD

2

RD

1

RD

4

RG15 GND

RC14

RC13

RD0

RD11

RD10

RD9

RD8

RA15

RA14

GND

OSC2

OSC1

VCC

RA5

RA4

RA3

RA2

RG2

RG3

VUSB

VBUS

RF8

RF2

RF3

VCC

RE5

RE6

RE7

RC1

RC2

RC3

RC4

RG6

RG7

RG8

MCLR

RG9

GND

VCC

RA0

RE8

RE9

RB5

RB4

RB3

RB2

RB1

RB0

X1

8MHz

X2

32.768kHz

C2 C4

22pF 22pF

C1 C3

22pF 22pF

VCC3 VCC3

HDR1 HDR2

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

9 9

10 10

11 11

12 12

13 13

14 14

15 15

16 16

17 17

18 18

19 19

20 20

21 21

22 22

23 23

24

25

26

27

28

24

25

26

27

28

29 29

30 30

PMD15 USB-PSW

PMD14 LCD-CS#

PMD13 RD3

PMD12 TRCLK

PMD11 TRD0

PMD10 TRD1

PMD9 TRD2

PMD8 TRD3

PMD7 RD1

PMD6 RA4

PMD5 RA5

PMD4 RA14

PMD3 GND

PMD2 SCL2

PMD1 SDA2

PMD0

PMRD SDI3A

PMWR SDO3A

JOY-D SCK3A

JOY-C SDI1

JOY-B SDO1

JOY-A

JOY-CP

SD-CS#

CDC-CS#

RB5

SCK1

LED-0

LED-1

LED-2

VCC5 VCC3

PROTO PROTO

VCC3

VCC3

VCC3

AEREFCLK

MCLR#

AERXD0

LED-0

AERXD1

RB5

CDC-CS#

JOY-D

JOY-C

JOY-B

JOY-A

AECRSDV

SD-CD#

SD-WP

R8 27

R19 27

R47

27

SDI1

ACL-CS#

EE-CS#

LCD-RST

PMD7

PMD6

PMD5

AERXERR

SOSCO

SOSCI

SDO1

AEMDC

SCK1

LED-2

AETXEN

RA14

CLKO

CLKI

USBDP

USBDN

USB-DET

U1ATX

U1ARX

SCL2

SDA2

RA4

RA5

AEMDIO

USB-ID

PM

D4

PG

C

CL

KI

SO

SC

I

CL

KO

SO

SC

O

PG

D

SD

-CS

#

JO

Y-C

P

TE

MP

US

B-P

SW

LC

D-Y

D

LC

D-X

R

LE

D-1

SC

K3A

LR

C

LC

D-Y

U

LC

D-X

L

LC

D-R

S

LC

D-C

S#

AE

TX

D0

AE

TX

D1

SD

I3A

SD

O3

A

PM

D3

PM

D2

PM

D1

PM

D0

TR

D3

TR

D2

TR

D1

TR

D0

TR

CLK

PM

D8

PM

D9

PM

D10

PM

D11

PM

D1

5

VC

AP

PM

D14

PM

RD

PM

WR

PM

D13

PM

D12

RD

1

RD

3

LC

D-B

LE

D

VCC3

VCC3

VC

C3

VCC3

E8

T10uF

E9

VCAP

10uF

The access to the microcontroller pins on the development

system is enabled via pads provided along the two short sides

of the development system.

Figure 18-1: Pads connecting schematic

18. Pads

Page 44: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 44 Page 45

The mikromedia for PIC32 development system comes with the

PIC32MX795F512L microcontroller. This high-performance 32-bit

microcontroller with its integrated modules and in combination with

other on-board modules is ideal for multimedia applications.

19. PIC32MX795F512L Microcontroller

Key microcontroller features - 1.56 DMIPS/MHz, 32-bit MIPS M4K Core;

- 512K Flash (plus 12K boot Flash);

- 128K RAM (can execute from RAM);

- 85 I/O pins;

- SPI, I2C, A/D;

- 16-bit Digital Timers;

- Internal Oscillator 8MHz, 32kHz;

- RTCC; etc.

Bus Matrix

Peripherial Bus

PIC32MIPS M4K 32-bit core- 80MHz, 1.5 DMIPS/MHz- 5 Stage Pipeline, 32-bit ALUTrace 32-bit

HWMul/Div

32 CoreRegisters

Shadow SetJTAG

Instruction Data

RTCCAnalog

Comparators(2)

I2C(2)

16 Ch10-bitADCs

UARTs(2)

InputCapture

(5)

SPI(2)

OutputComparePWM(5)

16-bitTimers

(5)

PrefetchBuffer Cache Flash SRAM Interrupt

ControllerGPIO(85) VREG

DMA4Ch

2-wireDebug

USBOTG

16-bitParallel

Port

Page 45: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 44 Page 45

118.11mm (4.65")

9.34mm(0.36")

8.50mm(0.33")

6.25mm(0.24")

14.25mm(0.56")

4.60mm(0.18")

3.32mm(0.13")

7.70mm(0.30")

14.25mm (0.56")

9.95mm(0.39")

4.72mm(0.18")

28.39mm (1.11")

14.46mm(0.56")

14.46mm (0.56")

Tolerance +/- 1mm (0.04")

125.71mm (4.94")

31.02mm (1.22")125.71mm (4.94")

69.23mm (2.72") 8.31mm (0.34")

20.96mm(0.82")

15.93mm(0.62")

13.14mm(0.51")

5.51mm0.21")

81.2

5mm

(3.1

9")

88.8

6mm

(3.4

9")

50.2

1mm

(1.9

7")

19.0

9mm

(0.7

5")

2.54

mm

(0.1

0")

3.94

mm

(0.1

5")

6.13

mm

(0.2

4")

1.63

mm

(0.0

64")

13.6

3mm

(0.5

3")

5.70

mm

(0.2

2")

3.05mm (0.12")

20

. Dim

ensi

ons

Page 46: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 46

Notes:

Page 47: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

Page 46

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 Mik-roElektronika, 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.

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 hazardous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, di-rect 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, mikroC PRO, mikroBasic, mikroBasic PRO, mikroPascal, mikroPascal PRO, AVRflash, PICflash, dsPICprog, 18FJprog, PSOCprog, AVRprog, 8051prog, ARMflash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM, EasyAVR5, EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyAVR Stamp LV18FJ, LV24-33A, LV32MX, PIC32MX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS 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.

© Mikroelektronika™, 2011, All Rights Reserved.

Page 48: multime ia - MikrocityCompatible with mikroC, mikroBasic and mikroPascal compilers for PIC, dsPIC and PIC32 Elegant minimalistic design, clean matte white plastic finish and color

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/en/support

If you have any questions, comments or business proposals,

do not hesitate to contact us at [email protected]