Advertisement

Quick Links

mikrome ia
board for dsPIC33
Compact development system rich with on-board peripherals for
all-round multimedia development on dsPIC33FJ256GP710A

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for mikroElektronika mikromedia for dsPIC3

  • Page 1 mikrome ia board for dsPIC33 Compact development system rich with on-board peripherals for all-round multimedia development on dsPIC33FJ256GP710A...
  • 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 Programing with mikroProg™ programmer Package contains mikroProg Suite™ for PIC Software Key Features Programing with ICD2 or ICD3 programmer System Specification 5. microSD Card Slot 1. USB power supply 6. Flash Memory 2.
  • Page 4: Introduction To Mikromedia For Dspic33

    The central part of the system is a 16-bit dsPIC33FJ256GP710A microcontroller. The mikromedia for dsPIC33 features integrated modules such as stereo...
  • Page 5: Package Contains

    Damage resistant mikromedia for dsPIC33 CD with documentation protective box development system and examples mikromedia for mikromedia for USB cable dsPIC33 user’s guide dsPIC33 schematic Page 5...
  • Page 6: Key Features

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

    System Specification power supply Over a USB cable (5V DC) power consumption 50mA in idle state (when on-board modules are off) board dimensions 8 x 6cm (3.14 x 2.36 inch) weight ~50g (0.11 lbs) Page 7...
  • Page 8: Usb Power Supply

    Figure 1-1: Powering your mikromedia board with USB cable You can provide power supply to the board using provided miniUSB connector. On- board voltage regulator will make sure to generate the appropriate voltage levels to each part of the board. Power LED will indicate the presence of power supply. Page 8...
  • Page 9: Battery Power Supply

    Figure 2-2: Li-polymer battery connected to mikromedia R4 27 MOSI2-RG8 VCC-USB VCC-BAT Figure 2-1: Battery charger connection schematic RA12 PMEG3010ER RA13 DMP2160UW VSENSE dsPIC33FJ256GP710A PF VCC-BAT VCC-BAT VCC-SYS VCC-3.3 BAT CONN VSENSE VCC-3.3 VCC-3.3 VCC-3.3 VCC-BAT VCC-SYS VCC-3.3 STAT 10uF 2.2uF STAT PROG...
  • Page 10: Dspic33Fj256Gp710A Microcontroller

    mikromedia for PIC33 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

    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 Bootloader

    For programming, microcontroller use bootloader program which is preinstaled in to MCU memory. To transfer .hex file from a PC to Loader) which can be MCU you need bootloader softwer (ds30 downloaded from: http://www.mikroe.com/eng/products/view/586/ mikrommb-for-dspic33-board/ After software is downloaded uzip it to desired location and start ds30 Loader software.
  • Page 13: Identifying Device Com Port

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

    step 2 – Choosing device family step 3 – Choosing device Figure 4-5: Selecting Figure 4-4: Selecting MCU family 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 4-7: Pop-up window for .hex file choosing Select desired .hex file Folder list Figure 4-6: Browse for .hex file Click on Open button Click on Browse button and from pop-up window (figure 3-6) 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 4-9: Write program Figure 4-8: Seting baud rate From drop down list set baud rate value to 256000 First RESET mikromedia and then, within 5s click on Check Write program check box...
  • Page 17 If you accidently erase bootloader program from MCU memory it is posible to load it again with external programer. note mikromedia for dsPIC33 bootloader firmware.hex file is located in Firmware subfolder, Page 12. Figure 4-10: Program uploading Figure 4-11: Uploading is finished After uploading is finished you will get notice in ds30 Loader Progress bar indicates .hex file upload process history window...
  • Page 18: Programing With Mikroprog™ Programmer

    mikroProg programmer The microcontroller can be programmed with mikroProg Suite fo PIC software. The mikroProg programmer is connected to the development system via the CN6 connector, Figure 4-12. mikroProg™ is a fast USB 2.0 programmer with mikroICD hardware In-Circuit Debugger. Smart engineering allows mikroProg to support PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 and PIC32 devices in a single programmer.
  • Page 19: Mikroprog Suite™ For Pic Software

    mikroProg™ programmer requires special programming software called mikroProg Suite™ for PIC®. This software is used for programming ALL of Microchip® microcontroller families, including PIC10, PIC12, PIC16, PIC18, dsPIC30/33, PIC24 PIC32. Software has intuitive interface and SingleClick™ programming technology. Just by downloading the latest version of mikroProg Suite™...
  • Page 20: Programing With Icd2 Or Icd3 Programmer

    The microcontroller can be also programmed with ICD2 ICD3 programmer. These programmer is connected with mikromedia board via ICD2 CONNECTOR BOARD. Figure 4-15: Connecting ICD2 or ICD3 programmer In order to enable the ICD2 and ICD3 programmers to be connected to the development system, it is necessary to provide the appropriate connector such as the ICD2 CONNECTOR...
  • Page 21 10uF VCC-3.3 MCLR# MCLR# PGD1 dsPIC33FJ256GP710A PF PGC1 M1X6 RA12 RA13 VCC-3.3 PGC1 PGD1 MCLR# M1X5 VCC-3.3 Figure 4-16: ICD2 / ICD3 & mikroProg programmer connection schematic Page 21...
  • Page 22: Microsd Card Slot

    microSD card slot Board contains for using microSD cards in your projects. It enables you to store large ammounts of data externally, thus saving microcontroller memory. microSD cards use Serial Peripheral Interface (SPI) for communication with Figure 5-1: the microcontroller. microSD card 10uF VCC-MMC...
  • Page 23: Flash Memory

    10uF VCC-3.3 Figure 6-1: FLASH-CS# FLASH-CS# Flash memory module R5 27 SCK2-RG6 MISO2-RG7 SCK2-RG6 MOSI2-RG8 R4 27 MOSI2-RG8 dsPIC33FJ256GP710A PF Since multimedia applications getting increasingly demanding, it is MISO2-RG7 FLASH-CS# RA12 necessary to provide additional memory RA13 VCC-3.3 space to be used for storing more data. 100nF The flash memory module enables the 8Mbit...
  • Page 24: Touch Screen

    Figure 7-1: The development system features a Touch Screen 320x240 display covered with a resistive touch panel. Together they form a functional touch screen. unit called a It enables data to be entered and displayed at the same time. The TFT display is capable of showing data 262.000 diffe rent colors.
  • Page 25 BC846 VCC-SYS VCC-SYS 10uF LCD-BLED BAT43 VCC-3.3 BC846 BC846 VCC-3.3 T-D13 T-D14 T-D15 10uF LCD-RST LCD-CS# VCC-3.3 dsPIC33FJ256GP710A PF T-D5 T-D4 T-D3 T-D0 T-D2 RA12 RA13 300K 18nF VCC-3.3 300K 18nF VCC-3.3 Figure 7-2: Touch Screen connection schematic Page 25...
  • Page 26: Audio Module

    Figure 8-1: headphones connected with mikromedia The mikromedia for dsPIC33 features MP3 codec audio controller VS1053. This Figure 8-2: module enables audio reproduction by using stereo headphones connected to the Inserting 3.5mm system via a 3.5mm connector CN2. All functions of this module are controlled by headphones jack the microcontroller over Serial Peripheral Interface (SPI).
  • Page 27 LEFT VCC-3.3 RIGHT GBUF PHONEJACK VCC-3.3 VCC-1.8 MICP GPIO4 47nF MICN MP3-RST# XRESET GPIO1 DGND0 GPIO0 CVDD0 XTEST R5 27 SCK2-RG6 VS1053 MISO2-RG7 IOVDD0 CVDD3 R22 27 R4 27 MOSI2-RG8 MISO2-MP3 MISO2-RG7 CVDD1 dsPIC33FJ256GP710A PF MOSI2-RG8 MP3-DREQ DREQ SCK2-RG6 GPIO2 SCLK GPIO3 RA12...
  • Page 28: Usb-Uart Connection

    FTDI chip On-board enables you to exploit UART functionality of your mikromedia for dsPIC33 board over USB connection enabled through miniUSB connector which is positioned next to the battery connector. Before connecting the board, make sure that you have FTDI drivers installed on your computer.
  • Page 29 10uF USBDP USBDM USB MINI B VCC-USB FERRITE 10nF VCC-3.3 MCU-RX VCCIO MCU-TX VCC-USB RTS# dsPIC33FJ256GP710A PF USBDM CTS# USBDP DTR# FT232RL DSR# VCC-3.3 DCD# RA12 RA13 RESET# CBUS0 OSCI CBUS1 VCC-3.3 OSCO CBUS2 CBUS3 100nF 3V3OUT CBUS4 100nF VCC-3.3 Figure 9-2: USB UART connection schematic Page 29...
  • Page 30: Accelerometer

    ADXL345 On board 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 I 2 C over the interface.
  • Page 31: Crystal Oscillator

    Figure 11-1: Oscillators connected to MCU 10uF RG15 SOSCO T-D13 SOSCI 32.768kHz T-D14 T-D15 STAT LCD-RST RD10 VREF-1.8 LCD-CS# VCC-1.8 FLASH-CS# RA15 22pF 22pF R5 27 FERRITE SCK2-RG6 RA14 MISO2-RG7 10uF R4 27 CLKO MOSI2-RG8 MCLR# CLKI dsPIC33FJ256GP710A PF SD-CS# 8MHz Figure 11-2: T-D5...
  • Page 32: Pads

    10uF VCC-SYS HDR1 RG15 RD10 RA12 RA13 RA15 RA14 R5 27 SCK2-RG6 RA14 RD14 RA15 MISO2-RG7 RD15 MOSI2-RG8 R4 27 SCK1-RF6 dsPIC33FJ256GP710A PF RF12 MISO1-RF7 RF13 MOSI1-RF8 RG15 RA12 RX1-RF2 RA12 RD10 RA13 SCL1-RG2 TX1-RF3 SCK2-RG6 RA13 SDA1-RG3 SCL1-RG2 MISO2-RG7 SCK1-RF6 SDA1-RG3 MOSI2-RG8...
  • Page 33: 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 OC7/CN15 PGED1 SCK1/INT0 AN17/T3CK/T6CK SDI1 RF12 U2CTS SPI1...
  • Page 34: Dimensions

    80.90 mm (3.18”) 73.01 mm (2.87”) 69.85 mm (2.75”) 4.45 mm (0.17”) 2.54 mm (0.10”) 2.77 mm (0.11”) Page 34...
  • Page 35 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 36 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/en/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com...

Table of Contents