mikroElektronika mikromedia PIC32 Manual

mikroElektronika mikromedia PIC32 Manual

Hide thumbs Also See for mikromedia PIC32:

Advertisement

Quick Links

mikromedia
for PIC32
®
Compact development system rich with on-board peripherals for all-round
multimedia development on PIC32MX460F512L device.
PIC32

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the mikromedia PIC32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for mikroElektronika mikromedia PIC32

  • Page 1 mikromedia ™ for PIC32 ® Compact development system rich with on-board peripherals for all-round multimedia development on PIC32MX460F512L device. PIC32...
  • Page 2 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.
  • Page 3: Table Of Contents

    Table of contents Introduction to mikromedia for PIC32 Programming with mikroProg programmer ® ™ Package contains mikroProg Suite for PIC software ™ ® Key features Programming with ICD2 or ICD3 programmer ® ® System specification 4. Reset button 1. Power supply 5.
  • Page 4: Introduction To Mikromedia For Pic32

    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 ®...
  • Page 5: Package Contains

    Package contains Damage resistant protective box mikromedia for dsPIC33 development system ® 5V power supply VSYS Reset pin Reference Ground left ch. audio out right ch. Analog Lines PWM lines RB14 Interrupt Lines RA14 RA15 RA10 Digital I/O lines RD10 RD11 RD14 Digital I/O lines...
  • Page 6: Key Features

    Key features Connection Pads TFT 320x240 display USB MINI-B connector CHARGE indication LED LI-Polymer battery connector 3.5mm headphone connector Power supply regulator Serial Flash memory RESET button VS1053 Stereo mp3 coder/decoder PIC32MX460F512L microcontroller Accelerometer Crystal oscillator Power indication LED microSD Card Slot ICD2/3 connector mikroProg connector Page 6...
  • Page 7: System Specification

    System specification power supply Via USB cable (5V DC) power consumption 58 mA with erased MCU (when on-board modules are inactive) board dimensions 81.2 x 60.5 mm (3.19 x 2.38 inch) weight ~50g (0.11lbs) class B product Product complies with the Class B limit of EN 55022 and can be used in the domestic, residential, commercial and industrial environments.
  • Page 8: Power Supply

    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 Figure 1-1: provide the appropriate voltage levels Connecting USB to each component on the board. Power power supply LED (GREEN) will indicate the presence of power supply.
  • Page 9 VCC-SYS VCC-USB VCC-SYS PMEG3010ER HDR1 HDR2 DMP2160UW FERRITE VBUS VCC-BAT USB MINIB 10nF BATT CONN VCC-3.3 VCC-1.8 VCC-BAT VCC-1.8 VREF-1.8 VCC-1.8 10uF 2.2uF Vout VSENSE 220K FERRITE 10uF MIC5205-ADJ 100K VCC-3.3 VCC-3.3 VCC-3.3 M1X26 M1X26 VCC-3.3 VCC-3.3 VCC-3.3 VCC-BAT VCC-SYS CHARGE VCC-SYS VCC-3.3...
  • Page 10: Pic32Mx460F512L Microcontroller

    2. PIC32MX460F512L microcontroller The mikromedia for PIC32® development system comes with the PIC32MX460F512L microcontroller. This high-performance 32-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features - 1.56 DMIPS/MHz, 32-bit MIPS M4K Core; - 512K Flash (plus 12K boot Flash);...
  • Page 11: Programming The Microcontroller

    3. Programming the microcontroller Figure 3-1: PIC32MX460F512L microcontroller The microcontroller can be programmed in three ways: Over USB HID mikroBootloader Using mikroProg external programmer ™ Using ICD2/3 external programmer Page 11...
  • Page 12: Programming With Mikrobootloader

    Programming with mikroBootloader step 1 – Connecting mikromedia You can program the microcontroller with bootloader which is preprogrammed into the device by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from: www.mikroe.com/downloads/get/2153/ mikrobootloader_usb_hid_STM32F407VGT6.zip Upon download, unzip it to desired location and start the...
  • Page 13: Step 2 - Browsing For .Hex File

    step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. pop-up window (Figure 3.4) choose the .HEX file Click the Open button.
  • Page 14: Step 4 - Uploading .Hex File

    step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file uploading. Begin uploading button. Page 14...
  • Page 15: Step 5 - Finish Upload

    step 5 – Finish upload Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job Click OK button after the uploading process is finished Press Reset button on mikromedia board and wait for 5 seconds. Your program will run automatically Page 15...
  • Page 16: Programming With Mikroprog Programmer

    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 ™...
  • Page 17: Mikroprog Suite ™ For Pic ® Software

    mikroProg Suite for PIC software ™ ® PIC32 mikroProg programmer requires ™ special programming software called mikroProg Suite for PIC . This ™ ® software is used for programming of ALL Microchip microcontroller ® families, including PIC10 , PIC12 ® ®...
  • Page 18: Programming With Icd2

    Programming with ICD2 or ICD3 programmer ® ® The microcontroller can be also programmed with ICD2 or ICD3 ® ® programmer. These programmers connects with mikromedia board Figure 3-12: via ICD2 CONNECTOR Connecting ICD2 ® BOARD. or ICD3 programmer ® In order to enable the ICD2 and ICD3 programmers to be connected to the mikromedia board, it is...
  • Page 19 Vcap 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 100nF 100nF 100nF RG15 VCC-3.3 VCC-3.3 VCC-3.3 RC14 RC13 RD11 10uF 100nF 100nF RD10 RA15 RG6/SCK2 RA14 RG7/SDI2 PIC32MX460F512L RG8/SDO2 OSC2 MCLR# MCLR OSC1 VCC-3.3 MCLR# RA0/TMS SDA2/RA3 RE8/INT1 SCL2/RA2 PGD2 RE9/INT2 D+/RG2 PGC2 D-/RG3 VUSB VBUS...
  • Page 20: Reset Button

    4. Reset button Board is equipped with reset button, which is located at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input).
  • Page 21 Vcap 10uF VCC-3.3 VCC-3.3 C31 22pF 100nF RG15 SOSCO RC14 SOSCI C30 22pF RC13 RD11 HDR2 RD10 22pF RA15 RG6/SCK2 RA14 RG7/SDI2 CLKO PIC32MX460F512L RG8/SDO2 OSC2 CLKI 22pF MCLR OSC1 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 RA0/TMS SDA2/RA3 RE8/INT1 SCL2/RA2 RE9/INT2 D+/RG2 D-/RG3...
  • Page 22: Crystal Oscillator

    5. Crystal oscillator Figure 5-1: External crystal oscillator (X1) Board is equipped with 8MHz crystal oscillator (X1) circuit that provides external clock waveform to the microcontroller CLKO and CLKI 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.
  • Page 23 Vcap 10uF VCC-3.3 C31 22pF RG15 SOSCO RC14 SOSCI C30 22pF RC13 RD11 RD10 22pF RA15 RG6/SCK2 RA14 RG7/SDI2 CLKO RG8/SDO2 PIC32MX460F512L OSC2 CLKI 22pF MCLR OSC1 VCC-3.3 VCC-3.3 VCC-3.3 RA0/TMS SDA2/RA3 RE8/INT1 SCL2/RA2 RE9/INT2 D+/RG2 D-/RG3 100nF 100nF 100nF VUSB VBUS U1TX/RF8...
  • Page 24: Microsd Card Slot

    6. microSD card slot Figure 6-1: microSD card slot Board contains microSD card slot for using 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. Page 24...
  • Page 25 Vcap 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 C31 22pF 100nF 100nF 100nF RG15 SOSCO RC14 SOSCI C30 22pF RC13 RD11 VCC-3.3 VCC-3.3 VCC-3.3 RD10 22pF R5 27 RA15 10uF 100nF 100nF SCK2-RG6 RG6/SCK2 RA14 MISO2-RG7 RG7/SDI2 MOSI2-RG8 CLKO RG8/SDO2 PIC32MX460F512L OSC2 CLKI 22pF R4 27...
  • Page 26: Touch Screen

    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 diffe rent colors.
  • Page 27 Vcap 10uF VCC-SYS VCC-3.3 TFT1 VCC-3.3 L ED- K L ED- A1 L ED- A2 BC846 L ED- A3 VCC-SYS L ED- A4 LCD-BLED RG15 BAT43 BC846 RC14 PMD5 LCD-RST RESET RC13 PMD6 VSYNC PMD7 HSYNC RD11 LCD-RST DOTCL K RD10 BC846 PMD15...
  • Page 28: Audio Module

    8. Audio module Figure 8-1: On-board VS1053 MP3 codec The mikromedia for PIC32 features stereo audio codec VS1053. This module 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 29 Vcap 10uF VCC-3.3 VCC-3.3 VCC-1.8 VCC-3.3 MP3-CS# RG15 10uF MP3-CS# RC14 100K 3.3nF RC13 MP3-RST# RD11 RD10 MP3-RST# MP3-DREQ 10uF 100K RA15 3.3nF SCK2-RG6 RG6/SCK2 RA14 MISO2-RG7 MP3-BSYNC RG7/SDI2 XDCS/BSYNC MOSI2-RG8 PIC32MX460F512L RG8/SDO2 OSC2 IOVDD1 AGND3 LEFT LEFT MCLR OSC1 LEFT DGND1 AVDD2...
  • Page 30: Usb Connection

    9. USB connection Figure 9-1: Connecting USB cable to MINI-B USB connector PIC32MX460F512L microcontroller has integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over MINI-B USB connector which is positioned next to the battery connector. Page 30...
  • Page 31 Vcap 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 100nF 100nF 100nF C31 22pF RG15 SOSCO RC14 VCC-3.3 VCC-3.3 VCC-3.3 SOSCI C30 22pF RC13 RD11 RD10 10uF 100nF 100nF 22pF RA15 RG6/SCK2 RA14 RG7/SDI2 CLKO RG8/SDO2 PIC32MX460F512L OSC2 CLKI 22pF MCLR OSC1 USB-ID-RF3 USB-ID RA0/TMS SDA2/RA3...
  • Page 32: Accelerometer

    10. Accelerometer Figure 10-1: Accelerometer module On board ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The accelerometer function is defined by the user in the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via the I C interface.
  • Page 33 Vcap 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 100nF 100nF VCC-3.3 SCL2-RA2 RG15 RC14 SDA2-RA3 RC13 ACC ADDRESS RD11 VCC-3.3 RD10 INT2 INT1 RA15 RG6/SCK2 RA14 ADXL345 RG7/SDI2 PIC32MX460F512L RG8/SDO2 OSC2 SMD JUMPER MCLR OSC1 VCC-3.3 VCC-3.3 VCC-3.3 SDA2-RA3 RA0/TMS SDA2/RA3 SCL2-RA2 RE8/INT1 SCL2/RA2 RE9/INT2...
  • Page 34: Flash Memory

    11. Flash memory Figure 11-1: Flash memory module Since multimedia applications are getting increasingly demanding, it is necessary to provide additional memory space to be used for storing more data. 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).
  • Page 35 Vcap 10uF VCC-3.3 RG15 VCC-3.3 VCC-3.3 VCC-3.3 RC14 RC13 RD11 100nF 100nF 100nF RD10 FLASH-CS# R5 27 RA15 SCK2-RG6 RG6/SCK2 RA14 VCC-3.3 VCC-3.3 VCC-3.3 MISO2-RG7 RG7/SDI2 MOSI2-RG8 PIC32MX460F512L RG8/SDO2 OSC2 R4 27 MCLR OSC1 10uF 100nF 100nF RA0/TMS SDA2/RA3 RE8/INT1 SCL2/RA2 RE9/INT2 D+/RG2...
  • Page 36: Pads

    12. Pads 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. Note: pin RA10 can be used either as an I/O or as VREF1.8.
  • Page 37 Vcap 10uF VCC-3.3 VCC-SYS HDR2 HDR1 RG15 RC14 RC13 RD11 RD11 RD10 RD10 RA15 RA15 SCK2-RG6 RA14 RB14 RG6/SCK2 RA14 MISO2-RG7 RG7/SDI2 MOSI2-RG8 PIC32MX460F512L RG8/SDO2 OSC2 RA14 MCLR OSC1 RA15 RA10 RD10 RD11 SDA2-RA3 RA0/TMS SDA2/RA3 RD14 SCL2-RA2 RE8/INT1 SCL2/RA2 RD15 RE9/INT2 D+/RG2...
  • Page 38: Pinout

    13. Pinout 5V power supply VSYS Reset pin Reference Ground left ch. audio out right ch. Analog Lines PWM lines RB14 Interrupt Lines RA14 RA15 RA10 Digital I/O lines RD10 RD11 RD14 Digital I/O lines RD15 RG12 RG13 RG14 UART SCK2 SPI2 SDI2...
  • Page 39: Dimensions

    14. Dimensions 81.15 3195 73.66 2900 63.5 2500 2.54 Legend 2.67 57.6 2268 69.3 2728 Page 39...
  • Page 40: Mikromedia Accessories

    15. mikromedia accessories We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board’s basic functionality. call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
  • Page 41: What's Next

    What’s next? You have now completed the journey through each and every feature of mikromedia for PIC32 board. You got to know its 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.
  • Page 42 Notes: Page 42...
  • Page 43 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.
  • Page 44 PIC32 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/support If you have any questions, comments or business proposals, mikromedia for PIC32 Manual ver.
  • Page 45 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: MikroElektronika MIKROE-597...

Table of Contents