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

Similar documents
mikromedia for PIC24EP Compact development system rich with on-board peripherals for all-round multimedia development on PIC24EP512GU810 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

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

CEC1702 clicker. a great idea is 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

TO OUR VALUED CUSTOMERS

Development system. mikrommb for PIC32. User manual

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

SHIELD. mikromedia 5. for TIVA ARM

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

mikroboard for ARM 64-pin

Copyright mikroelektronika, January All rights reserved.

mikroboard for ARM 144-pin

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

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.

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

Clicker 2 for Kinetis

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

SimPLC. User Manual.

BIGdsPIC6. Development System. User manual

Breeze Board. Type A. 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

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

AKKON USB CONTROLLER BOARD

PIC-LCD-3310 development board Users Manual

Easy24-33 v6. Development System. User manual

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

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

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

SmartMP3. Additional Board. Manual. MikroElektronika

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

mikromedia+ for STM32 ARM

mikromedia+ for Stellaris ARM

2.8 microlcd Intelligent PICASO Display Module

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

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

LPC1788 Mio Board. User Manual. Revision 1.0 1

Introduction. Rev.1.2

TCP/IP Base Board Setup Instructions (JGS_ETH24_BASE)

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

UM PCAL6524 demonstration board OM Document information

inet2x10 Developer Guide

ICP05 IBOARD LITE ICP05. - iboard lite

Simplify code portability and maximize return on investment

AVR-Ready2. Additional Board. Manual. MikroElektronika

The FED PIC Flex 2 Development Boards

ESPino - Specifications

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

BV511 Hardware Guide ByVac ByVac Revision 1.0

UNI-DS3. Development System. User manual

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

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

February 28,

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

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

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

Freedom FRDM-KV31F Development Platform User s Guide

ARDUINO MEGA ADK REV3 Code: A000069

Evaluation Board for CS3308. Description CS Channel. Digitally Controlled Analog Volume Control. PC or External Serial Control Input

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

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

Doc: page 1 of 9

Preliminary F40 SoC Datasheet

Arduino ADK Rev.3 Board A000069

USER GUIDE. Atmel maxtouch Xplained Pro. Preface

ARDUINO MEGA 2560 REV3 Code: A000067

Ethernet1 Xplained Pro

EDBG. Description. Programmers and Debuggers USER GUIDE

ESK32-A2A Inch TFT LCD Module User Manual

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

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

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

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

Transcription:

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

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 dspic 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 dspicep Package Contains Key Features System Specification. Power supply USB power supply Battery power supply. dspicepmu microcontroller Key microcontroller features. 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 mikroprog Suite for PIC Software Programming with ICD or ICD programmer. Reset Button. Crystal Oscillator. MicroSD Card Slot. Touch Screen. Audio Module. USB connection. Accelerometer. Flash Memory. Pads. Pinout. Dimensions. mikromedia Accessories. What s Next Page

Introduction to mikromedia for dspicep The mikromedia for dspicep 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 -bit dspicepmu microcontroller. The mikromedia for dspicep features integrated modules such as stereo MP codec, TFT x touch screen display, accelerometer, USB connector, audio connector, MMC/SD card slot, Mbit flash memory, x 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 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 www.mikroe.com Damage resistant protective box mikromedia for dspicep development system DVD with documentation and examples mikromedia for dspicep user s guide mikromedia for dspicep schematic USB cable Page

Key Features Connection Pads TFT x display USB MINI-B connector CHARGE indication LED LI-Polymer battery connector.mm headphone connector Power supply regulator Serial Flash memory RESET button VS Stereo mp coder/decoder dspicepmu microcontroller Accelerometer Crystal oscillator Power indication LED microsd Card Slot ICD/ connector mikroprog connector Page

System Specification power supply Via USB cable (V DC) power consumption ma with erased MCU (when on-board modules are inactive) board dimensions. x.mm (. x. inch) weight ~ g (. lbs) Page

. 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 MCP enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging. Charging current is ~ma and charging voltage is.v DC. Figure -: Connecting Li-Polymer battery Page

Page -SYS -. E uf E uf R K Vin Vout REG LDDT -BAT D PMEGER R K Charging Current approx. ma R K -. E uf C.uF R K R K -BAT VSENSE -SYS -SYS R K R K R K -. STAT R K R K -. E uf R K -. R K M DMPUW STAT VSS VBAT VDD PROG U MCP Q BC Q BC C nf FP FERRITE ID D+ D- VBUS CN USB MINIB -USB C.uF -. R K E uf R K -. -. R R Vin EN ADJ Vout U MIC-ADJ DATA BUS LD CHARGE LD POWER -BAT HDR MX HDR MX -. -. -SYS -. VREF-. E uf FP FERRITE CN BATT CONN Figure -: Power supply schematics

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

. Programming the microcontroller Figure -: dspicepmu microcontroller The microcontroller can be programmed in three ways: 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// mikrobootloader_dspicep_usbhid_v.zip After software is downloaded unzip it to desired location and start mikrobootloader USB HID software. Figure -: USB HID mikrobootloader window 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 Figure -: Browse for HEX Figure -: Selecting HEX Click the Browse for HEX button and from a Select.HEX file using open dialog window. pop-up window (Figure.) choose the.hex file which will be uploaded to MCU memory. Click the Open button. Page

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

step Finish upload Figure -: Restarting MCU Figure -: mikrobootloader ready for next job 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 CN connector, Figure -. Figure -: Connecting mikroprog to mikromedia mikroprog is a fast USB. programmer with mikroicd hardware In-Circuit Debugger. Smart engineering allows mikroprog to support PIC, PIC, PIC, PIC, dspic/, PIC and PIC devices in a single programmer. It supports over microcontrollers from Microchip. Outstanding performance, easy operation and elegant design are it s key features. Page

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 PIC, PIC, PIC, PIC, dspic/, 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 -: Main Window of mikroprog Suite for PIC programming software Page

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

Page decoupling capacitors U R -. C C C E uf -. -. -. -. VREF-. C pf C pf X.KHz C pf C pf X MHz E uf CLKO CLKI SOSCO SOSCI PGC PGD C -. C -. dspicepmu RB RB RB RB RB RB RE RC RC RC ASDA/RA D+/RG RB RB RF Vbus Vusb D-/RG RA RG RG RE RF RF RD RD RE RE RE RG RG RG RE RA RG/SDO RA/Vref- RB RB RB RB RB RE RD RD RF USBID/RF RG/SDI RG/SCK RA RE RE RG VDD RB/PGED RB/PGEC RB RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE RA RF RA VCAP A A RA/Vref+ MCLR RC CLKI/RC CLKO/RC RD RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG RD RD -. CN MX MCLR# PGD PGC -. MCLR# PGD PGC CN MX 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 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 Figure -: Frontal reset button

Page Figure -: Reset circuit schematic decoupling capacitors C C C E uf -. -. -. -. C -. C -. U R -. VREF-. C pf C pf X.KHz C pf C pf X MHz E uf CLKO CLKI SOSCO SOSCI dspicepmu RB RB RB RB RB RB RE RC RC RC ASDA/RA D+/RG RB RB RF Vbus Vusb D-/RG RA RG RG RE RF RF RD RD RE RE RE RG RG RG RE RA RG/SDO RA/Vref- RB RB RB RB RB RE RD RD RF USBID/RF RG/SDI RG/SCK RA RE RE RG VDD RB/PGED RB/PGEC RB RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE RA RF RA VCAP A A RA/Vref+ MCLR RC CLKI/RC CLKO/RC RD RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG RD RD R K -. C T T RST -. HDR MX

. Crystal oscillator Board is equipped with MHz 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.khz Crystal oscillator (X) which provides external clock for internal RTCC module. E uf -. -. -. -. -. -. -. RG VDD RE RE RE RC RC RC RC RG/SCK RG/SDI RG/SDO MCLR RG RA RE RE RB RB RB RB RB RB RE RE RE RG RG RG RE RE RA RA RG RG RF RF ENVREG VCAP RD RD RD RD RD RD RD RD RD dspicepmu RB/PGEC RB/PGED RA/Vref- RA/Vref+ A A RB RB RB RB RA RF RF RB RB RB RB RD RD RF RF U SOSCO/RC SOSCI/RC RD RD RD RD RD ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF RF USBID/RF SOSCO SOSCI CLKO CLKI X X C pf.khz C pf C pf MHz C pf E uf C C C C C decoupling capacitors Figure -: External crystal oscillator (X) Figure -: Crystal oscillator schematic VREF-. NOTE : The use of crystal in all other schematics is implied even if it is purposely left out because of the schematics clarity. Page

. 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. E uf SCK-RG R MISO-RG MOSI-RG R SD-CS# RG VDD RE RE RE RC RC RC RC RG/SCK RG/SDI RG/SDO MCLR RG RA RE RE RB RB RB RB RB RB RE RE RE RG RG RG RE VREF-. SD-CD# RE RA RA RG RG RF RF ENVREG VCAP RD dspicepmu RD RD RD RD RD RD RD RD RB/PGEC RB/PGED RA/Vref- RA/Vref+ A A RB RB RB RB RA RF RF RB RB RB RB RD RD RF RF U SOSCO/RC SOSCI/RC RD RD RD RD RD ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF RF USBID/RF -. SOSCO SOSCI CLKO CLKI X X SD-CS# MOSI-RG SCK-RG MISO-RG SD-CD# C pf.khz C pf C pf MHz C pf -MMC R K R K R K R -. E uf -MMC -. -. -. -MMC C C C -. C decoupling capacitors C CS Din +.V SCK Dout CD E uf FP FERRITE -. CN -. Figure -: microsd Card Slot module connection schematic C Figure -: microsd card slot Figure -: Inserting microsd card Page

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

Page U -. VREF-. C pf C pf X.KHz C pf C pf X MHz PMRD PMWR PMD PMD PMD PMD PMD LCD-BLED E uf CLKO CLKI SOSCO SOSCI LCD-RS LCD-CS# LCD-YU LCD-XL LCD-YD LCD-XR LCD-RST PMD PMD PMD dspicepmu RB RB RB RB RB RB RE RC RC RC ASDA/RA D+/RG RB RB RF Vbus Vusb D-/RG RA RG RG RE RF RF RD RD RE RE RE RG RG RG RE RA RG/SDO RA/Vref- RB RB RB RB RB RE RD RD RF USBID/RF RG/SDI RG/SCK RA RE RE RG VDD RB/PGED RB/PGEC RB RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE RA RF RA VCAP A A RA/Vref+ MCLR RC CLKI/RC CLKO/RC RD RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG RD RD decoupling capacitors C C C E uf -. -. -. -. C -. C -. R K -SYS -. E uf R K -. R K LCD-RST LCD-CS# -. LCD-BLED R -SYS D BAT DB DB DB DB DB DB DB DB DB DB DB DB DB DB DB DB DB DB ENABLE DOTCLK HSYNC VSYNC RESET IM 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 MIQT -. LCD-YU LCD-XL Q BC Q BC Q BC C nf R K C nf R K LCD-RST LCD-RS LCD-CS# LCD-YU LCD-XL LCD-YD LCD-XR PMRD PMWR PMD PMD PMD PMD PMD PMD PMD PMD -. -. Figure -: Touch Screen connection schematic

. Audio Module Figure -: On-board VS MP codec Figure -: Inserting.mm headphones jack The mikromedia for dspicep features stereo audio codec VS. 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

Page Figure -: Audio module connection schematic U -. R R VREF-. C pf C pf X.KHz C pf C pf X MHz MP-DCS MP-CS# E uf CLKO CLKI SOSCO SOSCI MP-DREQ MP-RST# MISO-RG MOSI-RG SCK-RG dspicepmu RB RB RB RB RB RB RE RC RC RC ASDA/RA D+/RG RB RB RF Vbus Vusb D-/RG RA RG RG RE RF RF RD RD RE RE RE RG RG RG RE RA RG/SDO RA/Vref- RB RB RB RB RB RE RD RD RF USBID/RF RG/SDI RG/SCK RA RE RE RG VDD RB/PGED RB/PGEC RB RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE RA RF RA VCAP A A RA/Vref+ MCLR RC CLKI/RC CLKO/RC RD RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG RD RD decoupling capacitors C C C E uf -. -. -. -. C -. C -. MP-CS# R K R K MP-DREQ MP-RST# R K R K C uf -. GPIO -. LEFT RIGHT GBUF E uf E uf CN PHONEJACK LEFT RIGHT C nf C nf C nf R R R R R R C.nF R K R C.nF R K L R R MCP/LN MICN XRESET D CVDD IOVDD CVDD DREQ GPIO GPIO GPIO GPIO XDCS/BSYNC IOVDD VC D XTAL XTAL IOVDD D D D XCS CVDD GPIO RX TX SCLK SI SO CVDD XTEST GPIO GPIO GPIO A AVDD AVDD A A A LN LEFT RCAP AVDD GBUF RIGHT VS U -. -. MP-CS# MP-RST# MP-DCS MOSI-RG SCK-RG MISO-RG C pf C pf R M X.MHz decoupling capacitors C C -. -. C C -. -. C C -. C -. C -. -. C -.

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

Page Figure -: USB module connection schematic U -. VREF-. C pf C pf X.KHz C pf C pf X MHz E uf CLKO CLKI USB-DET USBDP USBDM SOSCO SOSCI USB-ID dspicepmu RB RB RB RB RB RB RE RC RC RC ASDA/RA D+/RG RB RB RF Vbus Vusb D-/RG RA RG RG RE RF RF RD RD RE RE RE RG RG RG RE RA RG/SDO RA/Vref- RB RB RB RB RB RE RD RD RF USBID/RF RG/SDI RG/SCK RA RE RE RG VDD RB/PGED RB/PGEC RB RF RF ASCL/RA RA RD RD ASCL/RA RF ASDA/RA ENVREG RE RA RF RA VCAP A A RA/Vref+ MCLR RC CLKI/RC CLKO/RC RD RD RD SOSCI/RC SOSCO/RC RD RD RD RD RD RG RD RD decoupling capacitors C C E uf -. -. -. C -. C -. C -. USBDP USBDM -USB C nf FP FERRITE USB-DET R ID D+ D- VBUS CN USB MINIB USB-ID

. Accelerometer On board ADXL accelerometer is used to measure acceleration in three axis: x, y and z. 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 I C interface. E uf -. RE RE RE RG RG RG RE RE RA RA RG RG RF RF ENVREG VCAP RD RD RD RD RD RD RD RD RD RG VDD RE RE RE RC RC RC RC RG/SCK RG/SDI RG/SDO MCLR RG RA RE RE RB RB RB RB RB RB VREF-. dspicepmu RB/PGEC RB/PGED RA/Vref- RA/Vref+ A A RB RB RB RB RA RF RF RB RB RB RB RD RD RF RF U SOSCO/RC SOSCI/RC RD RD RD RD RD ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF RF USBID/RF C -. pf SOSCO SOSCI X.KHz C pf C pf CLKO CLKI X MHz C SDA-RA pf SCL-RA -. -. -. -. -. -. E C C C C C uf decoupling capacitors Res SCL CS SDA ADD Res NC INT INT U ADXL -. R K C -. C R K SDA-RA ACC ADDRESS -. -. J SCL-RA Figure -: Accelerometer connection schematic Figure -: Accelerometer module You can set the accelerometer address to or by re-soldering the SMD jumper (zero-ohm resistor) to the appropriate position. Jumper is placed in address position by default. Page

. Flash Memory E uf -. FLASH-CS# SCK-RG MISO-RG MOSI-RG R R RG VDD RE RE RE RC RC RC RC RG/SCK RG/SDI RG/SDO MCLR RG RA RE RE RB RB RB RB RB RB RE RE RE RG RG RG RE VREF-. RE RA RA RG RG RF RF ENVREG VCAP RD dspicepmu RD RD RD RD RD RD RD RD RB/PGEC RB/PGED RA/Vref- RA/Vref+ A A RB RB RB RB RA RF RF RB RB RB RB RD RD RF RF U SOSCO/RC SOSCI/RC RD RD RD RD RD ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF RF USBID/RF Figure -: Flash memory module connection schematic SOSCO SOSCI CLKO CLKI C pf X.KHz C pf C pf X MHz C pf -. R K FLASH-CS# MISO-RG -. -. -. -. -. -. E C C C C C uf decoupling capacitors -. C -. U CS SDO HOLD SCK-RG WP SCK MOSI-RG SDI MP 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 Mbit flash memory. It is connected to the microcontroller via the Serial Peripheral Interface (SPI). Page

. Pads E uf RG RG RG RG RF RF RD RD RD RD RX-RD TX-RD -. -SYS HDR MX RST L R RF RF RF RF RF RA RA RE RE RD RD RD RG RG RF RF RX-RD TX-RD SCL-RA SDA-RA -. RC SCK-RG R MISO-RG MOSI-RG R RST R RA RE RE RB RB RB RB RB RB RG VDD RE RE RE RC RC RC RC RG/SCK RG/SDI RG/SDO MCLR RG RA RE RE RB RB RB RB RB RB RE RE RE RG RG RG RE RE RA RA RG RG RF RF ENVREG VCAP RD RD RD RD RD RD RD RD RD dspicepmu RB/PGEC RB/PGED RA/Vref- RA/Vref+ A A RB RB RB RB RA RF RF RB RB RB RB RD RD RF RF U SOSCO/RC SOSCI/RC RD RD RD RD RD ASDA/RA ASCL/RA CLKO/RC CLKI/RC RA RA ASDA/RA ASCL/RA D+/RG D-/RG Vusb Vbus RF RF USBID/RF SOSCO SOSCI RD RD RD RD RD RA RA CLKO CLKI SDA-RA SCL-RA RF RF X X C pf.khz C pf C pf MHz C pf RB RB RB RB RB RB RB RD RD RD RD RA RA RD RC RD RB RG RG SCK-RG MISO-RG MOSI-RG -. HDR MX -. -. -. -. -. -. E C C C C C uf VREF-. RB 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 x 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 RB L left ch. RB R right ch. audio out RB RF RB RF RB RF PWM lines RB RF RB RF RD RA RD RA RD RE RD RE RA RD RA RD Digital I/O lines RD RD RC RG RD RG RB RF RG RF RG RD RD RX TX RG UART RG RA SCL RG 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. mm ( mils). mm ( mils). mm ( mils). mm ( mils). mm ( mils). mm ( mils). mm ( mils). mm ( mils). mm ( mils) Page. mm ( mils). mm ( 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. Connect shield BatteryBoost shield PROTO shield Gaming shield mikrobus shield Li-Polimer battery Wire Jumpers Page

What s next? You have now completed the journey through each and every feature of mikromedia for dspicep 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 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

Page Notes:

Notes: Page

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 Fusion, 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,, All Rights Reserved. Page

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 dspicep Manual ver..