mikroElektronika mikromedia MIKROE-606 Manual

mikroElektronika mikromedia MIKROE-606 Manual

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

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the mikromedia MIKROE-606 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for mikroElektronika mikromedia MIKROE-606

  • Page 1 mikromedia ™ for dsPIC33 ® Compact development system rich with on-board peripherals for all-round multimedia development on dsPIC33FJ256GP710A device.
  • 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 dsPIC33 Programming with mikroProg programmer ® ™ Package contains mikroProg Suite for PIC Software ™ Key features Programming with ICD2 or ICD3 programmer System specification 4. Reset buttons 1. Power supply 5. Crystal oscillator USB power supply 6.
  • Page 4: Introduction To Mikromedia For Dspic33

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

    Package contains Damage resistant protective box mikromedia for dsPIC33 development system ® 5V power supply Reset pin Reference Ground Reference Ground SCHEMATICS AN10 left ch. audio out AN2/SS1/CN4 mikromedia right ch. AN3/CN5 ™ AN4/CN6 AN5/CN7 OC5/CN13 mikromedia AN20/INT1 RA12 for dsPIC33 OC6/CN14 ®...
  • 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 FTDI chip Serial flash memory RESET button VS1053 Stereo mp3 coder/decoder dsPIC33FJ256GP710A microcontroller Accelerometer Crystal oscillator Power indication LED microSD card slot ICD2/3 connector mikroProg connector...
  • Page 7: System Specification

    System specification power supply Via USB cable (5V DC) power consumption 77 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 in the package. On-board voltage regulators provide the appropriate voltage levels to each component of the board. Power LED (GREEN) Figure 1-1: Connecting USB will indicate the presence of power supply...
  • Page 9: Power Supply

    VCC-SYS VCC-USB VCC-SYS PMEG3010ER FERRITE HDR1 HDR2 VBUS DMP2160UW 10nF VCC-BAT USB MINIB VCC-BAT BATT CONN VCC-3.3 VCC-1.8 VCC-1.8 VSENSE 10uF 2.2uF VREF-1.8 VCC-1.8 Vout 120K FERRITE MIC5205-ADJ 10uF VCC-3.3 VCC-3.3 VCC-3.3 M1X26 M1X26 VCC-3.3 VCC-3.3 VCC-3.3 VCC-BAT VCC-SYS VCC-SYS VCC-3.3 CHARGE STAT...
  • Page 10: Dspic33Fj256Gp710A Microcontroller

    2. dsPIC33FJ256GP710A microcontroller mikromedia for dsPIC33 development system comes with the ® dsPIC33FJ256GP710A 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 - Up to 40 MIPS Operation; - 16-bit architecture;...
  • Page 11: Programming The Microcontroller

    3. Programming the microcontroller The microcontroller can be programmed in three ways: Over UART bootloader Using mikroProg external programmer ™ Using ICD2/3 external programmer Page 11...
  • Page 12: Programming With Mikrobootloader

    Programming with mikroBootloader You can program the microcontroller with the bootloader which is preprogrammed into the device by default. To transfer .HEX file from a PC to MCU you need bootloader software (ds30 Loader) which can be downloaded from: www.mikroe.com/eng/downloads/get/1493/ mikrommb_dspic33_bootloader.zip Upon download, unzip the file to the desired location and start ds30 Loader software.
  • Page 13: Step 1 - Choosing Com Port

    Identifying device COM port step 1 – Choosing COM port Figure 3-2: Identifying COM port Figure 3-3: Selecting COM port In Device Manager you can see which COM port From drop down list select USB COM port which is used note is assigned to mikromedia (in this case COM5) for communication with a PC (in this case COM5)
  • Page 14: Step 2 - Choosing Device Family

    step 2 – Choosing device family step 3 – Choosing device Figure 3-5: Figure 3-4: Selecting MCU family Selecting MCU chip From drop down list select MCU family (dsPIC33FJ) From drop down list select MCU chip (256GP710A) Page 14...
  • Page 15: Step 4 - Browse For .Hex File

    step 4 – Browse for .HEX file Figure 3-7: Pop-up window for .HEX file choosing Select desired .HEX file Folder list Figure 3-6: Browse for .HEX file Click on Open button Click on Browse button and from pop-up window (figure 3-7) select .HEX file which will be uploaded to MCU memory Page 15...
  • Page 16: Step 5 - Set Baud Rate

    step 5 – Set Baud rate step 6 – Uploading .HEX file Figure 3-8: Seting baud rate Figure 3-9: Write program From drop down list set baud rate value to 256000 First RESET mikromedia and then, within 5s Check Write program check box click on Write button Page 16...
  • Page 17 If you accidently erase bootloader program from MCU memory it is possible to load it again with external programer. note mikromedia for dsPIC33 bootloader firmware.hex file is located in Firmware subfolder, Page 12. ® Figure 3-10: Program uploading Figure 3-11: Uploading is finished Progress bar indicates .HEX file upload process After uploading is finished you will get a notice in ds30 Loader history window...
  • Page 18: Programming With Mikroprog ™ Programmer

    Programming with mikroProg programmer ™ The microcontroller can be programmed with mikroProg programmer and mikroProg Suite fo PIC software. ™ ™ ® The mikroProg programmer is connected to the development system via the CN6 connector, Figure 3-12. ™ mikroProg is a fast USB 2.0 ™...
  • Page 19: 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 all Microchip microcon- ® troller families, including PIC10 , PIC12 ® ® PIC16 , PIC18 , dsPIC30/33...
  • Page 20: Programming With Icd2 Or Icd3 Programmer

    Programming with ICD2 or ICD3 ® ® programmer The microcontroller can be also programmed with ICD2 ® or ICD3 programmer. These ® programmers connects with Figure 3-15: mikromedia board via ICD2 Connecting ICD2 ® CONNECTOR BOARD. or ICD3 programmer ® In order to enable the ICD2 and ICD3 programmers to be connected to the development system, it is...
  • Page 21 10uF VCC-3.3 PGC1 VCC-3.3 PGD1 MCLR# M1X5 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF RA15 RG6/SCK2 RA14 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A MCLR# CLKI 8MHz MCLR CLKI/RC12 22pF RA12 RA13 SCL1/RG2 VCC-3.3 SDA1/RG3 SCK1/RF6 SDI1/RF7 MCLR# RB2/AN2 SDO1/RF8 U1RX/RF2...
  • Page 22: Reset Buttons

    4. Reset buttons Board is equipped with a 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 a low voltage level on the microcontroller reset pin (input).
  • Page 23 VCC-3.3 10uF HDR2 VCC-3.3 100nF 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF RA15 RG6/SCK2 RA14 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A 8MHz CLKI VCC-3.3 MCLR CLKI/RC12 M1X26 22pF RA12 RA13 SCL1/RG2 SDA1/RG3 SCK1/RF6 SDI1/RF7 RB2/AN2 SDO1/RF8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 U1RX/RF2...
  • Page 24: Crystal Oscillator

    5. Crystal oscillator Figure 5-1: Crystal oscillator module (X1) Board is equipped with an 8MHz crystal oscillator (X1) circuit that provides external clock to the microcontroller OSC pins. This base frequency is suitable for further clock multipliers and ideal for generation of the necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications.
  • Page 25 VCC-3.3 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF RA15 RG6/SCK2 RA14 22pF RG7/SDI2 CLKO RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A 8MHz CLKI MCLR CLKI/RC12 22pF RA12 RA13 SCL1/RG2 SDA1/RG3 SCK1/RF6 SDI1/RF7 RB2/AN2 SDO1/RF8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 U1RX/RF2 U1TX/RF3 10uF 100nF 100nF...
  • Page 26: Microsd Card Slot

    6. microSD card slot Figure 6-1: microSD card slot Board contains a 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 26...
  • Page 27 10uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 10uF 100nF 100nF 100nF 100nF decoupling capacitors 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF VCC-MMC VCC-3.3 RA15 SCK2-RG6 RG6/SCK2 RA14 MISO2-RG7 FERRITE 22pF RG7/SDI2 MOSI2-RG8 CLKO RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A CLKI 8MHz MCLR CLKI/RC12...
  • Page 28: 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 data in 262.144 diffe rent colors.
  • Page 29 10uF VCC-3.3 VCC-SYS TFT1 L ED- K BC846 VCC-3.3 L ED- A1 L ED- A2 VCC-SYS L ED- A3 L ED- A4 LCD-BLED BAT43 BC846 LCD-RST RESET VSYNC 22pF RG15 SOSCO BC846 HSYNC SOSCO/RC14 32.768KHz T-D13 SOSCI DOTCL K SOSCI/RC13 T-D14 T-D15 DB17...
  • Page 30: Audio Module

    8. Audio module mikromedia for dsPIC33 features a 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). Figure 8-1: On-board VS1053 MP3 codec Figure 8-2: 3.5mm...
  • Page 31 10uF VCC-3.3 VCC-1.8 VCC-1.8 VCC-1.8 VCC-1.8 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 MP3-CS# MP3-RST# 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF decoupling capacitors RG15 22pF SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 VCC-1.8 VCC-3.3 10uF RD11 RD10 22pF 3.3nF 100K RA15 SCK2-RG6 RG6/SCK2...
  • Page 32: Usb-Uart Connection

    9. USB-UART connection Mikromedia contains a USB MINI-B connector which is positioned next to the battery connector. FT232RL USB-UART IC enables you to implement UART serial communication functionality via USB cable, since dsPIC33FJ256GP710A does not support USB protocol. Figure 9-1: Connecting USB cable to programming...
  • Page 33 10uF VCC-3.3 22pF RG15 SOSCO VCC-3.3 VCC-3.3 SOSCO/RC14 SOSCI 32.768KHz SOSCI/RC13 RD11 MCU-RX OSCO RD10 DTR# OSCI 22pF RTS# TEST VCCIO AGND TX/RX RA15 MCU-TX RG6/SCK2 RA14 CBUS0 22pF RG7/SDI2 VCC-USB CLKO CBUS1 RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A CLKI 8MHz MCLR CLKI/RC12 DSR# DCD# RESET#...
  • Page 34: Accelerometer

    10. Accelerometer Figure 10-1: Accelerometer module On board ADXL345 accelerometer is used to measure acceleration in three axes: 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 2 C interface.
  • Page 35 VCC-3.3 10uF VCC-3.3 VCC-3.3 22pF RG15 SCL1-RG2 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 SDA1-RG3 ACC ADDRESS RD11 RD10 22pF VCC-3.3 INT2 RA15 INT1 RG6/SCK2 RA14 22pF RG7/SDI2 CLKO ADXL345 RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A 8MHz CLKI VCC-3.3 VCC-3.3 MCLR CLKI/RC12 22pF 100nF 100nF RA12 SCL1-RG2 RA13...
  • Page 36: 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 37 10uF VCC-3.3 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 22pF FLASH-CS# VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 RA15 SCK2-RG6 RG6/SCK2 RA14 MISO2-RG7 22pF RG7/SDI2 MOSI2-RG8 CLKO RG8/SDO2 CLKO/RC15 dsPIC33FJ256GP710A 8MHz 10uF 100nF 100nF 100nF 100nF CLKI MCLR CLKI/RC12 decoupling capacitors 22pF RA12 RA13...
  • Page 38: Pads

    12. Pads 10uF VCC-3.3 VCC-SYS HDR2 HDR1 RG15 22pF RG15 SOSCO SOSCO/RC14 32.768KHz SOSCI SOSCI/RC13 RD11 RD10 RD10 22pF RA15 RA15 SCK2-RG6 RA14 RA12 RG6/SCK2 RA14 MISO2-RG7 RA13 22pF RG7/SDI2 MOSI2-RG8 CLKO RA14 RG8/SDO2 dsPIC33FJ256GP710A CLKO/RC15 8MHz RD14 CLKI RA15 MCLR CLKI/RC12 RD15...
  • Page 39: Pinout

    13. Pinout 5V power supply Reset pin Reference Ground Reference Ground AN10 left ch. audio out AN2/SS1/CN4 right ch. AN3/CN5 AN4/CN6 AN5/CN7 OC5/CN13 AN20/INT1 RA12 OC6/CN14 AN21/INT2 RA13 INT3 RA14 INT4 RA15 RD14 IC7/U1CTS/CN20 PGEC1/AN6/OCFA RD15 IC8/U1RTS/CN21 PGED1 OC7/CN15 SCK1/INT0 AN17/T3CK/T6CK SDI1 RF12...
  • Page 40: Dimensions

    14. Dimensions 81.15 3195 73.66 2900 63.5 2500 2.54 2.67 Legend 57.6 2268 69.3 2728 Page 40...
  • Page 41: 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 42: What's Next

    What’s next? You have now completed the journey through each and every feature of mikromedia for dsPIC33 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 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 If you want to learn more about our products, please visit our website at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support If you have any questions, comments or business proposals, mikromedia for dsPIC33 Manual ver.
  • Page 45 Общество с ограниченной ответственностью «МосЧип» Адрес: 107023, г.Москва, Семеновский переулок, д.6, офис 409 Данный компонент на территории Российской Федерации Вы можете приобрести в компании MosChip. Для оперативного оформления запроса Вам необходимо перейти по данной ссылке: http://moschip.ru/get-element Вы можете разместить у нас заказ для любого Вашего проекта, будь то серийное производство...

Table of Contents