mikroElektronika Mikromedia PIC24EP Manual

mikroElektronika Mikromedia PIC24EP Manual

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

Advertisement

Quick Links

mikromedia
for PIC24EP
®
Compact development system rich with on-board peripherals for all-round
multimedia development on PIC24EP512GU810 device.
PIC24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Mikromedia PIC24EP and is the answer not in the manual?

Questions and answers

Summary of Contents for mikroElektronika Mikromedia PIC24EP

  • Page 1 mikromedia ™ for PIC24EP ® Compact development system rich with on-board peripherals for all-round multimedia development on PIC24EP512GU810 device. PIC24...
  • 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 PIC24EP® 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. Crystal Oscillator USB power supply 6.
  • Page 4: Introduction To Mikromedia For Pic24Ep

    Introduction to mikromedia for PIC24EP ® mikromedia for PIC24EP® 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 16-bit PIC24EP512GU810 microcontroller. The mikromedia for PIC24EP® features integrated modules such as stereo MP3 codec, TFT 320x240 touch screen...
  • Page 5: Package Contains

    Package Contains 20122011 www.mikroe.com Copyright ©2011 Mikroelektronika. All rights reserved. Mikroelektronika, Mikroelektronika logo and other 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 prohibited.
  • 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 PIC24EP512GU810 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 73 mA with erased MCU (when on-board modules are inactive) board dimensions 81.2 x 60.5mm (3.19 x 2.38 inch) weight ~50 g (0.11 lbs) Page 7...
  • 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 provide the appropriate voltage levels to each component on the board. Power LED (GREEN) will indicate the presence of power supply.
  • Page 9 VCC-SYS VCC-USB PMEG3010ER FERRITE VCC-SYS VBUS DMP2160UW HDR1 HDR2 10nF VCC-BAT USB MINIB 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 Figure 1-3: Power supply schematics M1X26 M1X26 VCC-3.3 VCC-3.3 VCC-3.3...
  • Page 10: Pic24Ep512Gu810 Microcontroller

    2. PIC24EP512GU810 microcontroller mikromedia for PIC24EP® development system comes with the PIC24EP512GU810 microcontroller. This high-performance 16-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features 70 MIPS - Up to Operation;...
  • Page 11: Programming The Microcontroller

    3. Programming the microcontroller Figure 3-1: PIC24EP512GU810 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 pre-programmed 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: http://www.mikroe.com/eng/downloads/get/1858/ mikrobootloader_pic24ep_usbhid_v200.zip After software is downloaded unzip it to desired location and...
  • 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”...
  • 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 You can monitor .HEX file uploading via progress bar ”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 ”OK” Click the button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute. Page 15...
  • Page 16: Programming With Mikroprog Programmer

    Programming with mikroProg ™ programmer mikroProg™ The microcontroller can be programmed with programmer mikroProg Suite™ for PIC® software. The mikroProg™ programmer is connected to the development system via the CN6 connector, Figure 3-9. mikroProg™ is a fast USB 2.0 programmer with mikroICD™...
  • Page 17: Mikroprog Suite™ For Pic ® Software

    mikroProg Suite for PIC Software ™ ® mikroProg™ programmer requires special programming software called mikroProg Suite™ for PIC®. This software is used for programming Microchip® microcontroller families, including PIC10®, PIC12®, PIC16®, PIC18®, dsPIC30/33®, PIC24® and PIC32®. Software has intuitive interface and SingleClick™ programming technology.
  • 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 ICD2 CONNECTOR BOARD. with mikromedia board via Figure 3-12: Connecting ICD2® or ICD3® programmer In order to enable the ICD2® and ICD3® programmers to be connected to the Figure 3-11: mikromedia board, it is necessary to provide the appropriate connector such as the Placing ICD2®...
  • Page 19 10uF VCC-3.3 PGC1 VCC-3.3 PGD1 MCLR# M1X5 22pF RG15 SOSCO SOSCO/RC14 SOSCI 32.768KHz SOSCI/RC13 RD11 RD10 22pF ASDA1/RA15 RG6/SCK2 ASCL1/RA14 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 MCLR# PIC24EP512GU810 8MHz CLKI MCLR CLKI/RC12 22pF ASDA2/RA3 ASCL2/RA2 D+/RG2 D-/RG3 VCC-3.3 Vusb Vbus MCLR# USBID/RF3 PGD1 PGC1...
  • 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 VCC-3.3 HDR2 10uF VCC-3.3 100nF 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF ASDA1/RA15 RG6/SCK2 ASCL1/RA14 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 8MHz PIC24EP512GU810 CLKI VCC-3.3 MCLR CLKI/RC12 M1X26 22pF ASDA2/RA3 ASCL2/RA2 D+/RG2 D-/RG3 Vusb Vbus VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 USBID/RF3...
  • Page 22: Crystal Oscillator

    5. Crystal oscillator 8MHz crystal oscillator Board is equipped with (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 32.768kHz Crystal oscillator applications.
  • Page 23: Microsd Card Slot

    6. microSD Card Slot microSD card slot Board contains 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: Touch Screen

    7. Touch Screen The development system features a TFT 320x240 display covered with a resistive touch screen. touch panel. Together they form a functional unit called a 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 25 10uF VCC-3.3 VCC-SYS TFT1 BC846 LED-K VCC-3.3 LED-A1 LED-A2 VCC-SYS LED-A3 LED-A4 LCD-BLED BAT43 BC846 LCD-RST RESET VSYNC 22pF RG15 SOSCO BC846 HSYNC SOSCO/RC14 32.768KHz DOTCLK PMD5 SOSCI SOSCI/RC13 PMD6 ENABLE PMD7 DB17 PMD7 RD11 PMD6 LCD-RST DB16 PMD5 RD10 DB15 22pF PMD4...
  • Page 26: Audio Module

    8. Audio Module Figure 8-1: On-board VS1053 MP3 codec Figure 8-2: The mikromedia for PIC24EP® features stereo audio codec VS1053. This Inserting 3.5mm module enables audio reproduction by using stereo headphones connected headphones jack to the system via a 3.5mm connector CN2.
  • Page 27 VCC-1.8 VCC-1.8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-1.8 VCC-1.8 10uF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF VCC-3.3 decoupling capacitors RG15 22pF SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF VCC-1.8 VCC-3.3 10uF ASDA1/RA15 SCK2-RG6 RG6/SCK2 ASCL1/RA14 MISO2-RG7 22pF RG7/SDI2 100K...
  • Page 28: Usb Connection

    9. USB connection PIC24EP512GU810 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. Figure 9-1: Connecting USB cable to MINI-B USB connector...
  • Page 29 VCC-3.3 10uF VCC-3.3 VCC-3.3 VCC-3.3 22pF RG15 SOSCO SOSCO/RC14 10uF 100nF 100nF 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 VCC-3.3 VCC-3.3 VCC-3.3 22pF ASDA1/RA15 RG6/SCK2 ASCL1/RA14 100nF 100nF 100nF 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 8MHz PIC24EP512GU810 CLKI MCLR CLKI/RC12 decoupling capacitors ASDA2/RA3 22pF ASCL2/RA2 USBDP...
  • Page 30: Accelerometer

    10. Accelerometer ADXL345 On board 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 I 2 C via the interface.
  • Page 31: Flash Memory

    11. Flash Memory 10uF VCC-3.3 22pF RG15 SOSCO Figure 11-1: SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 Flash memory module RD10 FLASH-CS# 22pF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 ASDA1/RA15 SCK2-RG6 RG6/SCK2 ASCL1/RA14 MISO2-RG7 RG7/SDI2 22pF MOSI2-RG8 CLKO RG8/SDO2 CLKO/RC15 10uF 100nF 100nF 100nF 100nF...
  • Page 32: Pads

    12. Pads 10uF VCC-3.3 VCC-SYS HDR2 HDR1 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD11 RD10 RD10 22pF RA15 RF13 ASDA1/RA15 SCK2-RG6 RA14 RG6/SCK2 ASCL1/RA14 MISO2-RG7 RG7/SDI2 22pF MOSI2-RG8 CLKO RD12 RG8/SDO2 CLKO/RC15 PIC24EP512GU810 CLKI 8MHz RD13 MCLR CLKI/RC12 RA14 RA15 RD11...
  • Page 33: Pinout

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

    14. Dimensions 81.15 mm (3195 mils) 73.66 mm (2900 mils) 63.5 mm (2500 mils) 2.54 mm 2.67 mm (100 mils) (105 mils) Page 34...
  • Page 35: 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 basic functionality. call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
  • Page 36: What's Next

    GUI. It will automatically create necessary code which is compatible with mikroElektronika compilers. Visual TFT is rich with examples, which are an excellent starting point for your future projects. Just load the example, read well commented code, and see how it works on hardware.
  • Page 37 Notes: Page 37...
  • Page 38 Notes: Page 38...
  • Page 39 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 40 If you want to learn more about our products, please visit our web site at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/esupport If you have any questions, comments or business proposals, mikromedia for PIC24EP Manual ver.

Table of Contents