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

Similar documents
mikromedia for dspic33ep Compact development system rich with on-board peripherals for all-round multimedia development on dspic33ep512mu810 device.

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

mikromedia for dspic33 Compact development system rich with on-board peripherals for all-round multimedia development on dspic33fj256gp710a device.

mikromedia for PIC18FJ Compact development system rich with on-board peripherals for all-round multimedia development on PIC18F87J50 device.

A compact starter kit with your favorite microcontroller and two mikrobus sockets

mikromedia for Stellaris M3 Compact multimedia development system rich with on-board peripherals for all-round development on LM3S9B95 device

TO OUR VALUED CUSTOMERS

A compact starter kit with your favorite microcontroller and two mikrobus sockets

CEC1702 clicker. a great idea is just a click away

A compact starter kit with your favorite microcontroller and a socket for click add-on boards. New ideas are just a click away.

mikromedia for STM32 Downloaded from Elcodis.com electronic components distributor

mikrommb for PIC18FJ TABLE OF CONTENTS strana

MINI-M4. development board for MSP432 MINI ARM

Development system. mikrommb for PIC32. User manual

TO OUR VALUED CUSTOMERS

SHIELD. mikromedia 5. for TIVA ARM

PIC32MZ. A compact starter kit with your favorite microcontroller and a mikrobus socket.

user's guide to Expand development system capabilities by adding 12bit Digital to Analog Converter 12bit-DAC

LV Programmer. User manual

mikrome board for XMEGA

user's guide to Expand development system capabilities by adding 8K EEPROM memory accessory board EEPROM

Copyright mikroelektronika, January All rights reserved.

mikroboard for ARM 144-pin

mikroboard for ARM 64-pin

Copyright mikroelektronika, All rights reserved.

mikroprog Suite for PIC programming software

MSP 432. A compact starter kit with your favorite microcontroller and a socket for click add-on boards. New ideas are just a click away.

Clicker 2 for Kinetis

A compact starter kit with your favorite microcontroller and two mikrobus sockets

Breeze Board. Type B. User Manual.

mikrome board for ATmega user's guide to

GUI design made easy. Creating the First Project with. additional software

BIG8051. Development system. User manual

A compact starter kit with your favorite microcontroller and two mikrobus sockets

mikrobasic PRO for FT90x Creating the first project in

BIGdsPIC6. Development System. User manual

Breeze Board. Type A. User Manual.

SimPLC. User Manual.

AVRflash. Program. User manual

workstation mikromedia USER'S GUIDE for PIC18FJ, dspic33, PIC24 and PIC32 Four connectors for each port Amazing Connectivity

USER'S GUIDE. Two connectors for each port Amazing Connectivity. microcontrollers supported PIC24, dspic33 and pic32

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

PIC-32MX development board Users Manual

2 in 1. EasyAVR4 User s Manual AVR. MikroElektronika. Software and Hardware solutions for Embedded World

A motorized development platform

ET-PIC 24 WEB-V1. o Central Processing Unit (CPU) o System. o nanowatt Power Managed Modes. o Analog Features

PIC-LCD-3310 development board Users Manual

Easy24-33 v6. Development System. User manual

2 in 1. BigAVR User s Manual AVR. MikroElektronika. Software and Hardware solutions for Embedded World

DATASHEET. 4.3 Embedded SPI Display. 4DLCD-FT843 Powered by the FTDI FT800 Video Engine. Document Date: 25 th September 2013 Document Revision: 0.

A compact starter kit with a very powerful microcontroller and two mikrobus sockets

AKKON USB CONTROLLER BOARD

3 in 1 ICD. EASYdsPIC4 User s Manual. MikroElektronika. Software and Hardware solutions for Embedded World

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

SmartMP3. Additional Board. Manual. MikroElektronika

2.8 microlcd Intelligent PICASO Display Module

mikromedia+ for Stellaris ARM

mikromedia+ for STM32 ARM

EasyPIC. connectivity USER'S GUIDE. Downloaded from Elcodis.com electronic components distributor. Four connectors for each port Amazing Connectivity

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

LPC1788 Mio Board. User Manual. Revision 1.0 1

Introduction. Rev.1.2

TCP/IP Base Board Setup Instructions (JGS_ETH24_BASE)

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

DATASHEET 4D SYSTEMS. 4Display Shield with 2.2 Display TURNING TECHNOLOGY INTO ART. 4Display-Shield-22

UM PCAL6524 demonstration board OM Document information

ICP05 IBOARD LITE ICP05. - iboard lite

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

LPC2148 DEV BOARD. User Manual.

AVR-P development board Users Manual

UNI-DS3. Development System. User manual

AIS CUBE 2.83 AMOLED DISPLAY. Datasheet & Application Note Rev.A July 2010 Release

Simplify code portability and maximize return on investment

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

inet2x10 Developer Guide

MOD-ZIGBEE-PIR sensor development board USER S MANUAL All boards produced by Olimex LTD are ROHS compliant

The FED PIC Flex 2 Development Boards

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

BV511 Hardware Guide ByVac ByVac Revision 1.0

ARDUINO MEGA ADK REV3 Code: A000069

ESPino - Specifications

DATASHEET 4D SYSTEMS. 4D Arduino Adaptor Shield TURNING TECHNOLOGY INTO ART. 4Display-Adaptor-Shield

Arduino ADK Rev.3 Board A000069

ARDUINO MEGA 2560 REV3 Code: A000067

USER GUIDE. Atmel maxtouch Xplained Pro. Preface

Ethernet1 Xplained Pro

EDBG. Description. Programmers and Debuggers USER GUIDE

EasyPIC. connectivity USER'S GUIDE. Four connectors for each port Amazing Connectivity. Supports 3.3V and 5V devices Dual Power Supply

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

AVR-Ready2. Additional Board. Manual. MikroElektronika

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

Doc: page 1 of 9

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

ESK32-A2A Inch TFT LCD Module User Manual

USER GUIDE. ATWINC1500 Xplained Pro. Preface

PIC-P40 development board Users Manual

Freedom FRDM-KV31F Development Platform User s Guide

EasyPIC5 Development System

DATASHEET 4D SYSTEMS. 4D Raspberry Pi Serial Adaptor TURNING TECHNOLOGY INTO ART. 4D-Serial-Pi-Adaptor

Transcription:

mikromedia for PICEP Compact development system rich with on-board peripherals for all-round multimedia development on PICEPGU80 device. PIC

TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products and for having confidence in Mikroelektronika. The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs. Nebojsa Matic General Manager The PICEP and Windows logos and product names are trademarks of Microchip Technology and Microsoft in the U.S.A. and other countries.

Table of Contents Introduction to mikromedia for PICEP Package Contains Key Features 6 System Specification 7. Power supply 8 USB power supply 8 Battery power supply 8. PICEPGU80 microcontroller 0 Key microcontroller features 0. Programming the microcontroller Programming with mikrobootloader step Connecting mikromedia step Browsing for.hex file step Selecting.HEX file step Uploading.HEX file step Finish upload Programming with mikroprog programmer 6 mikroprog Suite for PIC Software 7 Programming with ICD or ICD programmer 8. Reset Button 0. Crystal Oscillator 6. MicroSD Card Slot 7. Touch Screen 8. Audio Module 6 9. USB connection 8 0. Accelerometer 0. Flash Memory. Pads. Pinout. Dimensions. Mikromedia Accessories 6. What s Next 6 Page

Introduction to mikromedia for PICEP The mikromedia for PICEP 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 6-bit PICEPGU80 microcontroller. The mikromedia for PICEP features integrated modules such as stereo MP codec, TFT 0x0 touch screen display, accelerometer, USB connector, audio connector, MMC/SD card slot, 8 Mbit flash memory, x6 connection pads and other. It comes preprogrammed with USB HID bootloader, but can also be programmed with external programmers, such as mikroprog or ICD/. Mikromedia is compact and slim, and perfectly fits in the palm of the hand, which makes it convenient platform for mobile devices. Page

Copyright 0 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. Package Contains 00 www.mikroe.com 0 Damage resistant 0 protective box mikromedia for PICEP development system 0 DVD with documentation and examples 0 mikromedia for PICEP 0 user s guide mikromedia for PICEP schematic 06 USB cable Page

Key Features 09 0 0 0 0 0 06 07 08 09 0 6 7 Connection Pads TFT 0x0 display USB MINI-B connector CHARGE indication LED LI-Polymer battery connector.mm headphone connector Power supply regulator Serial Flash memory RESET button VS0 Stereo mp coder/decoder PICEPGU80 microcontroller Accelerometer Crystal oscillator Power indication LED microsd Card Slot ICD/ connector mikroprog connector 0 0 Page 6

0 0 0 06 System Specification 07 power supply Via USB cable (V DC) 08 0 power consumption 7 ma with erased MCU (when on-board modules are inactive) board dimensions 8. x 60.mm (.9 x.8 inch) weight ~0 g (0. lbs) 6 7 Page 7

. Power supply USB power supply Figure -: Connecting 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. Battery power supply You can also power the board using Li-Polymer battery, via on-board battery connector. On-board battery charger circuit MCP78 enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging. Charging current is ~0mA and charging voltage is.v DC. Figure -: Connecting Li-Polymer battery Page 8

Page 9 -SYS E E R6 K Vin Vout REG LD9080DT -BAT D PMEG00ER R K9 Charging Current approx. 0mA R9 K7 E7 C0.uF R K7 R6 K7 -BAT VSENSE -SYS -SYS R 0K R7 0K R6 0K STAT R8 0K R K E R 0K R9 K7 M DMP60UW STAT VSS VBAT VDD PROG U MCP78 Q BC86 Q BC86 C8 0nF FP FERRITE ID D+ D- VBUS CN USB MINIB -USB C9.uF R6 00K E0 R7 0K -.8 -.8 R0 0R Vin EN ADJ Vout U MIC0-ADJ DATA BUS LD CHARGE LD POWER -BAT 6 7 8 9 0 6 7 8 9 0 6 HDR MX6 7 8 9 0 6 7 8 9 0 6 7 8 9 0 HDR MX6 -SYS -.8 VREF-.8 E FP FERRITE CN BATT CONN Figure -: Power supply schematics

. PICEPGU80 microcontroller The mikromedia for PICEP development system comes with the PICEPGU80 microcontroller. This high-performance 6-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. Key microcontroller features - Up to 70 MIPS Operation; - 6-bit architecture; - KB of program memory, KB of auxiliary flash; -.8 Bytes of RAM memory; - 8 I/O pins; - Internal Oscillator 7.7 MHz, khz; RTCC - nanowatt features: Fast Wake/Fast Control; - -UART, -SPI, -IC, -CAN, USB.0 OTG; - DAC, ADC, etc. USB OTG Analog Comp. 70 MIPS 6-bit 6-bit ALU 7x7 MPY JTAG Flash (KB) PMP PORT (A,B,C,D,E,F) Address Generation Timers RTCC ECAN Address Bus RAM (,8 KB) DMA Data Bus Input Capture PICEP Barrel Shifter ADC UART SPI IC Comp Register File 6x6 Output PWM Compare Page 0

. Programming the microcontroller Figure -: PICEPGU80 microcontroller The microcontroller can be programmed in three ways: 0 0 0 Page Over USB HID mikrobootloader Using mikroprog external programmer Using ICD/ external programmer

Programming with mikrobootloader 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: step Connecting mikromedia http://www.mikroe.com/eng/downloads/get/88/ mikrobootloader_picep_usbhid_v00.zip After software is downloaded unzip it to desired location and start mikrobootloader USB HID software. 0 Figure -: USB HID mikrobootloader window 0 To start, connect the USB cable, or if already connected press the Reset button on your mikromedia board. Click the Connect button within s to enter the bootloader mode, otherwise existing microcontroller program will execute. Page

step Browsing for.hex file step Selecting.HEX file 0 0 0 Figure -: Browse for HEX Figure -: Selecting HEX 0 Click the Browse for HEX button and from a 0 Select.HEX file using open dialog window. pop-up window (Figure.) choose the.hex file which will be uploaded to MCU memory. 0 Click the Open button. Page

step Uploading.HEX file 0 Figure -: Begin uploading Figure -6: Progress bar 0 0 To start.hex file bootloading click the 0 Begin uploading button. You can monitor.hex file uploading via progress bar Page

step Finish upload 0 Figure -7: Restarting MCU Figure -8: mikrobootloader ready for next job 0 Click the OK button after uploading is finished and wait for seconds. Board will automatically reset and your new program will execute. Page

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 -9. Figure -9: Connecting mikroprog to mikromedia mikroprog is a fast USB.0 programmer with mikroicd hardware In-Circuit Debugger. Smart engineering allows mikroprog to support PIC0, PIC, PIC6, PIC8, dspic0/, PIC and PIC devices in a single programmer. It supports over 70 microcontrollers from Microchip. Outstanding performance, easy operation and elegant design are it s key features. Page 6

mikroprog Suite for PIC Software mikroprog programmer requires special programming software called mikroprog Suite for PIC. This software is used for programming of ALL Microchip microcontroller families, including PIC0, PIC, PIC6, PIC8, dspic0/, PIC and PIC. Software has intuitive interface and SingleClick programming technology. Just by downloading the latest version of mikroprog Suite your programmer is ready to program 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 -0: Main Window of mikroprog Suite for PIC programming software Page 7

Programming with ICD or ICD programmer The microcontroller can be also programmed with ICD or ICD programmer. These programmers connects with mikromedia board via ICD CONNECTOR BOARD. Figure -: Connecting ICD or ICD programmer Figure -: Placing ICD connector In order to enable the ICD and ICD programmers to be connected to the mikromedia board, it is necessary to provide the appropriate connector such as the ICD CONNECTOR BOARD. This connector should be first soldered on the CN connector. Then you should plug the ICD or ICD programmer into it, Figure -. Page 8

Page 9 0 9 8 7 6 6 7 0 8 9 8 9 0 7 6 9 8 7 6 6 7 8 0 0 9 78 77 79 80 76 8 8 8 8 8 86 87 88 89 90 9 9 9 9 9 96 97 98 99 00 8 7 6 7 69 68 67 66 6 6 6 6 6 60 9 7 70 7 7 7 C C6 C7 E8 VREF-.8 C0 C X.768KHz C C X 8MHz CLKO CLKI SOSCO SOSCI PGC PGD C8 C PICEPGU80 RB RB0 RB9 RB8 RB RB RE7 RC RC RC ASDA/RA D+/RG RB RB RF8 Vbus Vusb D-/RG RA6 RG0 RG RE0 RF RF0 RD7 RD6 RE6 RE RE RG RG RG RE RA7 RG8/SDO RA9/Vref- RB RB RB RB RB RE9 RD9 RD8 RF USBID/RF RG7/SDI RG6/SCK RA RE RE RG VDD RB7/PGED RB6/PGEC RB0 RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE8 RA0 RF RA VCAP A A RA0/Vref+ MCLR RC CLKI/RC CLKO/RC RD0 RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG9 RD RD0 U decoupling capacitors CN6 MX MCLR# PGD PGC MCLR# PGD PGC 6 CN MX6 MCLR# Figure -: mikroprog & ICD / ICD programmer connection schematic

. Reset Button Board is equipped with reset button, which is located at the top of the front side (Figure -). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input). In addition, a reset can be externally provided through pin 7 on side headers (Figure -). NOTE You can also solder additional reset button on the appropriate place at the back side of the board, Figure -. Figure -: Location of additional reset button Page 0 Figure -: Frontal reset button

Page Figure -: Reset circuit schematic 0 9 8 7 6 6 7 0 8 9 8 9 0 7 6 9 8 7 6 6 7 8 0 0 9 78 77 79 80 76 8 8 8 8 8 86 87 88 89 90 9 9 9 9 9 96 97 98 99 00 8 7 6 7 69 68 67 66 6 6 6 6 6 60 9 7 70 7 7 7 R7 00 VREF-.8 C0 C X.768KHz C C X 8MHz E9 CLKO CLKI SOSCO SOSCI PICEPGU80 RB RB0 RB9 RB8 RB RB RE7 RC RC RC ASDA/RA D+/RG RB RB RF8 Vbus Vusb D-/RG RA6 RG0 RG RE0 RF RF0 RD7 RD6 RE6 RE RE RG RG RG RE RA7 RG8/SDO RA9/Vref- RB RB RB RB RB RE9 RD9 RD8 RF USBID/RF RG7/SDI RG6/SCK RA RE RE RG VDD RB7/PGED RB6/PGEC RB0 RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE8 RA0 RF RA VCAP A A RA0/Vref+ MCLR RC CLKI/RC CLKO/RC RD0 RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG9 RD RD0 U R8 0K C T T RST 7 8 9 0 6 7 8 9 0 6 7 8 9 0 HDR MX6 C C6 C7 E8 C8 C decoupling capacitors

. Crystal oscillator Board is equipped with 8MHz crystal oscillator (X) 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. Board also contains.768khz Crystal oscillator (X) which provides external clock for internal RTCC module. E9 00 99 98 97 96 9 9 9 9 9 90 89 88 87 86 8 8 8 8 8 80 79 78 77 76 6 7 8 9 0 6 7 8 9 0 RG VDD RE RE6 RE7 RC RC RC RC RG6/SCK RG7/SDI RG8/SDO MCLR RG9 RA0 RE8 RE9 RB RB RB RB RB RB0 RE RE RE RG RG RG RE RE0 RA7 RA6 RG0 RG RF RF0 ENVREG VCAP RD7 RD6 RD RD RD RD RD RD RD PICEPGU80 SOSCO/RC SOSCI/RC RD0 RD RD0 RD9 RD8 ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF8 RF USBID/RF RB6/PGEC RB7/PGED RA9/Vref- RA0/Vref+ A A RB8 RB9 RB0 RB RA RF RF RB RB RB RB RD RD RF RF U 7 7 7 7 7 70 69 68 67 66 6 6 6 6 6 60 9 8 7 6 SOSCO SOSCI CLKO CLKI X X C0.768KHz C C 8MHz C E8 C C6 C7 C8 decoupling capacitors C Figure -: Crystal oscillator schematic Figure -: External crystal oscillator (X) 6 7 8 9 0 6 7 8 9 0 6 7 8 9 0 VREF-.8 NOTE : The use of crystal in all other schematics is implied even if it is purposely left out because of the schematics clarity. Page

6. 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. E9 SCK-RG6 R 7 MISO-RG7 MOSI-RG8 R 7 SD-CS# 6 7 8 9 0 6 7 8 9 0 00 99 98 97 96 9 9 9 9 9 90 89 88 87 86 8 8 8 8 8 80 79 78 77 76 RG VDD RE RE6 RE7 RC RC RC RC RG6/SCK RG7/SDI RG8/SDO MCLR RG9 RA0 RE8 RE9 RB RB RB RB RB RB0 RE RE RE RG RG RG RE 6 7 8 9 0 6 7 8 9 0 6 7 8 9 0 VREF-.8 SD-CD# RE0 RA7 RA6 RG0 RG RF RF0 ENVREG VCAP RD7 PICEPGU80 RD6 RD RD RD RD RD RD RD SOSCO/RC SOSCI/RC RD0 RD RD0 RD9 RD8 ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF8 RF USBID/RF RB6/PGEC RB7/PGED RA9/Vref- RA0/Vref+ A A RB8 RB9 RB0 RB RA RF RF RB RB RB RB RD RD RF RF U 7 7 7 7 7 70 69 68 67 66 6 6 6 6 6 60 9 8 7 6 SOSCO SOSCI CLKO CLKI X X SD-CS# MOSI-RG8 SCK-RG6 MISO-RG7 SD-CD# C0.768KHz C C 8MHz C -MMC R 0K R0 0K R9 0K R6 7 E8 C C6 C7 C8 decoupling capacitors -MMC -MMC CS Din +.V SCK Dout CD CN C8 E6 FP FERRITE Figure 6-: microsd Card Slot module connection schematic C Figure 6-: microsd card slot Figure 6-: Inserting microsd card Page

7. Touch Screen The development system features a TFT 0x0 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 6. diffe rent colors. Figure 7-: Touch Screen Page

Page R K -SYS E R 0K R 0K LCD-RST LCD-CS# LCD-BLED R0 -SYS D BAT 6 6 7 8 9 0 7 8 9 0 6 7 6 7 8 9 0 6 7 8 9 0 DB0 DB DB DB DB DB DB6 DB7 DB8 DB9 DB0 DB DB DB DB DB DB6 DB7 ENABLE DOTCLK HSYNC VSYNC RESET IM0 IM IM IM LED-A LED-A LED-A LED-A LED-K SDO SDI RD WR/SCL RS CS FMARK -IO -I XR YD XL YU TFT MI08QT LCD-YU LCD-XL Q BC86 Q BC86 Q BC86 C 7nF R 00K C 7nF R 00K LCD-RST LCD-RS LCD-CS# LCD-YU LCD-XL LCD-YD LCD-XR PMRD PMWR PMD0 PMD PMD PMD PMD PMD PMD6 PMD7 C C6 C7 E8 C8 C decoupling capacitors 0 9 8 7 6 6 7 0 8 9 8 9 0 7 6 9 8 7 6 6 7 8 0 0 9 78 77 79 80 76 8 8 8 8 8 86 87 88 89 90 9 9 9 9 9 96 97 98 99 00 8 7 6 7 69 68 67 66 6 6 6 6 6 60 9 7 70 7 7 7 VREF-.8 C0 C X.768KHz C C X 8MHz PMRD PMWR PMD PMD PMD PMD PMD0 LCD-BLED E9 CLKO CLKI SOSCO SOSCI LCD-RS LCD-CS# LCD-YU LCD-XL LCD-YD LCD-XR LCD-RST PMD PMD6 PMD7 PICEPGU80 RB RB0 RB9 RB8 RB RB RE7 RC RC RC ASDA/RA D+/RG RB RB RF8 Vbus Vusb D-/RG RA6 RG0 RG RE0 RF RF0 RD7 RD6 RE6 RE RE RG RG RG RE RA7 RG8/SDO RA9/Vref- RB RB RB RB RB RE9 RD9 RD8 RF USBID/RF RG7/SDI RG6/SCK RA RE RE RG VDD RB7/PGED RB6/PGEC RB0 RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE8 RA0 RF RA VCAP A A RA0/Vref+ MCLR RC CLKI/RC CLKO/RC RD0 RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG9 RD RD0 U Figure 7-: Touch Screen connection schematic

8. Audio Module Figure 8-: On-board VS0 MP codec Figure 8-: Inserting.mm headphones jack The mikromedia for PICEP features stereo audio codec VS0. This module enables audio reproduction by using stereo headphones connected to the system via a.mm connector CN. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI). Page 6

Page 7 Figure 8-: Audio module connection schematic decoupling capacitors C C6 C7 E8 C8 C decoupling capacitors 0 9 8 7 6 6 7 0 8 9 8 9 0 7 6 9 8 7 6 6 7 8 0 0 9 78 77 79 80 76 8 8 8 8 8 86 87 88 89 90 9 9 9 9 9 96 97 98 99 00 8 7 6 7 69 68 67 66 6 6 6 6 6 60 9 7 70 7 7 7 R 7 R 7 VREF-.8 C0 C X.768KHz C C X 8MHz MP-DCS MP-CS# E9 CLKO CLKI SOSCO SOSCI MP-DREQ MP-RST# MISO-RG7 MOSI-RG8 SCK-RG6 PICEPGU80 RB RB0 RB9 RB8 RB RB RE7 RC RC RC ASDA/RA D+/RG RB RB RF8 Vbus Vusb D-/RG RA6 RG0 RG RE0 RF RF0 RD7 RD6 RE6 RE RE RG RG RG RE RA7 RG8/SDO RA9/Vref- RB RB RB RB RB RE9 RD9 RD8 RF USBID/RF RG7/SDI RG6/SCK RA RE RE RG VDD RB7/PGED RB6/PGEC RB0 RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE8 RA0 RF RA VCAP A A RA0/Vref+ MCLR RC CLKI/RC CLKO/RC RD0 RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG9 RD RD0 U 7 6 8 9 0 6 MP-CS# C0 C9 R M R0 0K R 0K MP-DR EQ MP-RST# R 0K R9 0K X.88MHz C uf GPIO LEFT RIGHT GBUF C C9 -.8 -.8 C C0 -.8 -.8 C C C C6 C7 E E CN PHONEJACK LEFT RIGHT C6 0nF C 7nF C 0nF R7 0 R0 0 R 0 R8 0 R9 0 R 70 C7.nF R7 00K R 70 C8.nF R8 00K L R R 7 6 7 8 7 6 8 9 9 0 0 7 8 9 0 6 7 8 MCP/LN MICN XRESET D0 CVDD0 IOVDD0 CVDD DREQ GPIO GPIO GPIO6 GPIO7 XDCS/BSYNC IOVDD VC0 D XTAL0 XTAL IOVDD D D D XCS CVDD GPIO RX TX SCLK SI SO CVDD XTEST GPIO0 GPIO GPIO A0 AVDD0 AVDD A A A LN LEFT RCAP AVDD GBUF RIGHT VS0 U -.8 MP-CS# MP-RS T# MP-DCS MOSI-RG8 SCK-RG6 MISO-RG7

9. USB connection PICEPGU80 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-: Connecting USB cable to MINI-B USB connector Page 8

Page 9 Figure 9-: USB module connection schematic 0 9 8 7 6 6 7 0 8 9 8 9 0 7 6 9 8 7 6 6 7 8 0 0 9 78 77 79 80 76 8 8 8 8 8 86 87 88 89 90 9 9 9 9 9 96 97 98 99 00 8 7 6 7 69 68 67 66 6 6 6 6 6 60 9 7 70 7 7 7 USBDP USBDM -USB C8 0nF FP FERRITE USB-DET R 00 ID D+ D- VBUS CN USB MINIB VREF-.8 C0 C X.768KHz C C X 8MHz E9 CLKO CLKI USB-DET USBDP USBDM SOSCO SOSCI USB-ID USB-ID PICEPGU80 RB RB0 RB9 RB8 RB RB RE7 RC RC RC ASDA/RA D+/RG RB RB RF8 Vbus Vusb D-/RG RA6 RG0 RG RE0 RF RF0 RD7 RD6 RE6 RE RE RG RG RG RE RA7 RG8/SDO RA9/Vref- RB RB RB RB RB RE9 RD9 RD8 RF USBID/RF RG7/SDI RG6/SCK RA RE RE RG VDD RB7/PGED RB6/PGEC RB0 RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE8 RA0 RF RA VCAP A A RA0/Vref+ MCLR RC CLKI/RC CLKO/RC RD0 RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG9 RD RD0 U C C6 E8 C7 C8 C decoupling capacitors

7 0. Accelerometer On board ADXL 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. E9 6 7 8 9 0 6 7 8 9 0 00 99 98 97 96 9 9 9 9 9 90 89 88 87 86 8 8 8 8 8 80 79 78 77 76 RG VDD RE RE6 RE7 RC RC RC RC RG6/SCK RG7/SDI RG8/SDO MCLR RG9 RA0 RE8 RE9 RB RB RB RB RB RB0 RE RE RE RG RG RG RE RE0 RA7 RA6 RG0 RG RF RF0 ENVREG VCAP RD7 RD6 RD RD RD RD RD RD RD 6 RB6/PGEC 7 RB7/PGED 8 RA9/Vref- 9 RA0/Vref+ 0 A A RB8 RB9 RB0 RB 6 7 8 RA 9 RF 0 RF RB RB RB RB 6 7 RD 8 RD 9 RF 0 RF VREF-.8 PICEPGU80 U SOSCO/RC SOSCI/RC RD0 RD RD0 RD9 RD8 ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF8 RF USBID/RF 7 7 7 7 7 70 69 68 67 66 6 6 6 6 6 60 9 8 7 6 SOSCO SOSCI CLKO CLKI SDA-RA SCL-RA E8 X X C0.768KHz C C 8MHz C C C6 C7 C8 decoupling capacitors 6 C Res SCL CS SDA ADD Res NC INT INT U9 ADXL 0 9 8 C R 0K C R 0K SDA-RA ACC ADDRESS J SCL-RA Figure 0-: Accelerometer connection schematic Figure 0-: Accelerometer module You can set the accelerometer address to 0 or by re-soldering the SMD jumper (zero-ohm resistor) to the appropriate position. Jumper is placed in address position by default. Page 0

. Flash Memory E9 00 99 98 97 96 9 9 9 9 9 90 89 88 87 86 8 8 8 8 8 80 79 78 77 76 FLASH-CS# SCK-RG6 MISO-RG7 MOSI-RG8 R 7 R 7 6 7 8 9 0 6 7 8 9 0 RG VDD RE RE6 RE7 RC RC RC RC RG6/SCK RG7/SDI RG8/SDO MCLR RG9 RA0 RE8 RE9 RB RB RB RB RB RB0 RE RE RE RG RG RG RE 6 7 8 9 0 6 7 8 9 0 6 7 8 9 0 VREF-.8 RE0 RA7 RA6 RG0 RG RF RF0 ENVREG VCAP RD7 PICEPGU80 RD6 RD RD RD RD RD RD RD SOSCO/RC SOSCI/RC RD0 RD RD0 RD9 RD8 ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF8 RF USBID/RF RB6/PGEC RB7/PGED RA9/Vref- RA0/Vref+ A A RB8 RB9 RB0 RB RA RF RF RB RB RB RB RD RD RF RF Figure -: Flash memory module connection schematic U 7 7 7 7 7 70 69 68 67 66 6 6 6 6 6 60 9 8 7 6 SOSCO SOSCI CLKO CLKI C0 X.768KHz C C X 8MHz C R8 0K FLASH-CS# MISO-RG7 E8 C C6 C7 C8 C decoupling capacitors C7 U0 8 CS 7 SDO HOLD 6 SCK-RG6 WP SCK MOSI-RG8 SDI MP80 Figure -: 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

. Pads E9 RG RG RG0 RG RF RF0 00 99 98 97 96 9 9 9 9 9 90 89 88 87 86 8 8 8 8 8 80 79 78 77 76 RD7 RD6 RD RD RX-RD TX-RD HDR 7 8 9 0 6 7 8 9 0 6 7 8 9 0 MX6 RST L R RF RF RF RF8 RF RA0 RA RE8 RE9 RD8 RD9 RD RG0 RG RF0 RF RX-RD TX-RD SCL-RA SDA-RA RC SCK-RG6 R 7 MISO-RG7 MOSI-RG8 R 7 RST R7 00 RA0 RE8 RE9 RB RB RB RB RB RB0 6 7 8 9 0 6 7 8 9 0 RG VDD RE RE6 RE7 RC RC RC RC RG6/SCK RG7/SDI RG8/SDO MCLR RG9 RA0 RE8 RE9 RB RB RB RB RB RB0 RE RE RE RG RG RG RE RE0 RA7 RA6 RG0 RG RF RF0 ENVREG VCAP RD7 RD6 RD RD RD RD RD RD RD PICEPGU80 SOSCO/RC SOSCI/RC RD0 RD RD0 RD9 RD8 ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF8 RF USBID/RF RB6/PGEC RB7/PGED RA9/Vref- RA0/Vref+ A A RB8 RB9 RB0 RB RA RF RF RB RB RB RB RD RD RF RF U 7 7 7 7 7 70 69 68 67 66 6 6 6 6 6 60 9 8 7 6 SOSCO SOSCI RD0 RD RD0 RD9 RD8 RA RA CLKO CLKI SDA-RA SCL-RA RF8 RF X X C0.768KHz C C 8MHz C -SYS HDR RB0 RB RB RB 6 RB 7 RB 8 RB9 9 RD6 0 RD7 RD RD RA RA RD0 6 RC 7 RD0 8 RB 9 RG 0 RG SCK-RG6 MISO-RG7 MOSI-RG8 6 MX6 6 7 8 9 0 6 7 8 9 0 6 7 8 9 0 E8 C C6 C7 C8 C VREF-.8 RB9 RA RF RB RF RF decoupling capacitors Pads HDR Pads HDR Figure -: Connection pads schematic Most microcontroller pins are available for further connectivity via two x6 rows of connection pads on both sides of the mikromedia board. They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and others. Page

. Pinout V power supply Reference Ground SCK SPI SDI SDO.V power supply Reference Ground Pin functions Analog Lines Interrupt Lines Digital I/O lines V RST Reset pin Reference Ground RB0 L left ch. RB R right ch. audio out RB RF RB RF RB RF PWM lines RB RF8 RB9 RF RD6 RA0 RD7 RA RD RE8 RD RE9 RA RD8 RA RD9 Digital I/O lines RD0 RD RC RG0 RD0 RG RB RF0 RG RF RG6 RD RD RX TX RG UART RG7 RA SCL RG8 RA SDA I C.V.V.V power supply Reference Ground Pin functions Digital lines Analog Lines Interrupt Lines SPI Lines IC Lines UART lines PWM lines Page

. Dimensions 8. mm (9 mils) 7.66 mm (900 mils) 6. mm (00 mils).0 mm (80 mils) 7.6 mm (00 mils) 60. mm (80 mils).88 mm (00 mils) 8.89 mm (0 mils) 6.8 mm (0 mils) Page. mm (00 mils).67 mm (0 mils)

. mikromedia accessories We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board basic functionality. We call them mikromedia shields. But we also offer other accessories, such as Li-polymer battery, stacking headers, wire jumpers and more. 0 Connect shield 0 BatteryBoost shield 0 PROTO shield 0 Gaming shield 0 mikrobus shield 06 Li-Polimer battery 07 Wire Jumpers Page

What s next? You have now completed the journey through each and every feature of mikromedia for PICEP board. You got to know it s modules and organization. Now you are ready to start using your new board. We are suggesting several steps which are probably the best way to begin. We invite you to join the users of mikromedia brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users. Welcome! Compiler You still don t have an appropriate compiler? Locate dspic/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 first applications. Projects Once you have chosen your compiler, and since you already got the board, you are ready to start writing your first projects. Visual TFT software for rapid development of graphical user interfaces enables you to quickly create your GUI. It will automatically create necessary code which is compatible with mikroelektronika compilers. Visual TFT is rich with examples, which are an excellent starting point for your future projects. Just load the example, read well commented code, and see how it works on hardware. Visual TFT is also available on the Product DVD. Page 6

Page 7 Notes:

Notes: Page 8

DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited. MikroElektronika provides this manual as is without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose. MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary. 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, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage ( High Risk Activities ). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities. TRADEMARKS The MikroElektronika name and logo, the MikroElektronika logo, mikroc, mikrobasic, mikropascal, mikroprog, EasyPIC, mikrobus, Click Boards, mikroprog, and mikromedia are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies. All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners benefit, with no intent to infringe. Copyright MikroElektronika, 0, All Rights Reserved. Page 9

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, do not hesitate to contact us at office@mikroe.com mikromedia for PICEP Manual ver..00 0 00000 000