40
Compact development system rich with on-board peripherals for all-round multimedia development on dsPIC33EP512MU810 device. for dsPIC33EP ® mikromedia

Mikromedia Dspic33ep Manual

Embed Size (px)

DESCRIPTION

Manual Do Dspic 33EP

Citation preview

  • Compact development system rich with on-board peripherals for all-round

    multimedia development on dsPIC33EP512MU810 device.

    for dsPIC33EPmikromedia

  • Page 3

    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.

    The dsPIC and Windows logos and product names are trademarks of Microchip Technology and Microsoft in the U.S.A. and other countries.

    TO OUR VALUED CUSTOMERS

    Nebojsa Matic

    General Manager

  • Page 3

    Introduction to mikromedia for dsPIC33EP 4

    Package Contains 5

    Key Features 6

    System Specification 7

    1. Power supply 8

    USB power supply 8

    Battery power supply 8

    2. dsPIC33EP512MU810 microcontroller 10

    Key microcontroller features 10

    3. Programming the microcontroller 11

    Programming with mikroBootloader 12

    step 1 Connecting mikromedia 12

    step 2 Browsing for .HEX file 13

    step 3 Selecting .HEX file 13

    step 4 Uploading .HEX file 14

    step 5 Finish upload 15

    Programming with mikroProg programmer 16

    mikroProg Suite for PIC Software 17

    Programming with ICD2 or ICD3 programmer 18

    4. Reset Button 20

    5. Crystal Oscillator 22

    6. MicroSD Card Slot 23

    7. Touch Screen 24

    8. Audio Module 26

    9. USB connection 28

    10. Accelerometer 30

    11. Flash Memory 31

    12. Pads 32

    13. Pinout 33

    14. Dimensions 34

    15. mikromedia Accessories 35

    16. Whats Next 36

    Table of Contents

  • Page 4 Page 5

    Introduction to mikromedia for dsPIC33EP

    The mikromedia for dsPIC33EP 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 dsPIC33EP512MU810 microcontroller. The mikromedia for dsPIC33EP

    features integrated modules such as stereo

    MP3 codec, TFT 320x240 touch screen display, accelerometer, USB connector, audio

    connector, MMC/SD card slot, 8 Mbit flash memory, 2x26 connection pads and other. It comes pre-

    programmed with USB HID bootloader, but can

    also be programmed with external programmers,

    such as mikroProg or ICD2/3. Mikromedia is

    compact and slim, and perfectly fits in the palm of the hand, which makes it convenient platform

    for mobile devices.

  • Page 4 Page 5

    Package Contains

    Copyright 2011 Mikroelektronika.

    All rights reserved. Mikroelektronika, Mikroelektronika logo and other

    Mikroelektronika trademarks are the property of Mikroelektronika.

    All other trademarks are the property of their respective owners.

    Unauthorized copying, hiring, renting, public performance and

    broadcasting of this DVD prohibited.

    20122011 www.mikroe.com

    01 02

    04 05

    03

    06

    Damage resistant

    protective box

    mikromedia for dsPIC33EP

    development system

    mikromedia for dsPIC33EP

    users guide

    mikromedia for dsPIC33EP

    schematic

    DVD with documentation

    and examples

    USB cable

  • Page 6 Page 7

    Key Features

    01

    16

    02

    01

    02

    03

    04

    05

    06

    07

    08

    09

    10

    11

    12

    13

    14

    15

    Connection Pads

    TFT 320x240 display

    USB MINI-B connector

    CHARGE indication LED

    LI-Polymer battery connector

    3.5mm headphone connector

    Power supply regulator

    Serial Flash memory

    RESET button

    VS1053 Stereo mp3 coder/decoder

    dsPIC33EP512MU810 microcontroller

    Accelerometer

    Crystal oscillator

    Power indication LED

    microSD Card Slot

    ICD2/3 connector

    mikroProg connector17

    09

  • Page 6 Page 7

    System Specification

    power supply

    Via USB cable (5V DC)

    board dimensions

    81.2 x 60.5mm (3.19 x 2.38 inch)

    weight

    ~50 g (0.11 lbs)

    power consumption

    75 mA with erased MCU

    (when on-board modules are inactive)

    03

    06

    07

    08

    11

    10

    12

    13

    14

    15

    16

    04 05

    17

  • Page 8 Page 9

    1. 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.

    You can also power the board using Li-Polymer battery, via on-board battery connector. On-board battery charger

    circuit MCP73832 enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging. Charging current is ~250mA

    and charging voltage is 4.2V DC.

    Battery power supply

    USB power supply

    Figure 1-1: Connecting USB power supply

    Figure 1-2: Connecting Li-Polymer battery

  • Page 8 Page 9

    23

    5

    4

    1

    VCC-SYS VCC-3.3

    E310uF E4

    10uF

    R26

    2K22

    31GND

    Vin

    Vout

    REG1

    LD29080DT33

    VCC-BAT

    D1PMEG3010ER

    R443K9

    Charging Current approx. 250mA

    R394K7

    VCC-3.3

    E7

    10uF

    C40

    2.2uF

    R344K7

    R64K7

    VCC-BAT

    VSENSE

    VCC-SYS

    VCC-SYS

    R4310K

    R37

    10K

    R3610K

    VCC-3.3

    STAT

    R3810K

    R451K

    VCC-3.3

    E510uF

    R3510K

    VCC-3.3

    R494K7

    M1DMP2160UW

    STATVSSVBAT VDD

    PROG

    U5

    MCP73832Q4BC846

    Q5BC846

    C2810nF

    FP2FERRITE

    12345 GND

    IDD+D-VBUS

    CN3

    USB MINIB

    VCC-USB

    C29

    2.2uF

    VCC-3.3

    R46100K

    E10

    10uF

    R47220K

    VCC-1.8

    VCC-1.8

    R500R

    123

    5

    4

    VinGNDEN ADJ

    Vout

    U3

    MIC5205-ADJ

    DAT

    A BU

    S

    LD2CHARGE

    LD1POWER

    VCC-BAT

    1234567891011121314151617181920212223242526

    HDR1

    M1X26

    2728293031323334353637383940414243444546474849505152

    HDR2

    M1X26

    VCC-3.3 VCC-3.3

    VCC-SYS

    VCC-1.8VREF-1.8

    E1110uF

    FP3

    FERRITE

    CN1BATT CONN

    Figure 1-3: Power supply schematics

  • Page 10 Page 11

    2. dsPIC33EP512MU810 microcontroller

    The mikromedia for dsPIC33EP development system comes with the dsPIC33EP512MU810 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 70 MIPS Operation;

    - 16-bit architecture;

    - 512KB of program memory, 24KB of auxiliary flash;

    - 53.248 Bytes of RAM memory;

    - 83 I/O pins;

    - Internal Oscillator 7.37 MHz, 32kHz; RTCC

    - nanoWatt features: Fast Wake/Fast Control;

    - 4-UART, 4-SPI, 2-I2C, 2-CAN, USB 2.0 OTG;

    - DAC, ADC, etc.

    Address Bus

    Data Bus

    70 MIPS16-bit

    16-bit ALU 17x17 MPY JTAG

    PMP

    PORT (A,B,C,D,E,F)

    AnalogComp. Input

    Capture PWMComp Output

    ADC UART SPI I2C

    Flash(512KB) RAM

    (53,248 KB) DMA

    AddressGeneration

    Register File16x16

    BarrelShifter

    USBOTG

    dsPIC33EP

    Timers RTCC

    ECAN

    Compare

  • Page 10 Page 11

    The microcontroller can be programmed in three ways:

    01

    02

    03

    Over USB HID mikroBootloader

    Using mikroProg external programmer

    Using ICD2/3 external programmer

    3. Programming the microcontroller

    Figure 3-1: dsPIC33EP512MU810 microcontroller

  • Page 12 Page 13

    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:

    After software is downloaded unzip it to desired location and

    start mikroBootloader USB HID software.

    http://www.mikroe.com/eng/downloads/get/1859/mikrobootloader_dspic33ep_usbhid_v200.zip

    Figure 3-2: USB HID mikroBootloader window

    step 1 Connecting mikromedia

    01

    01

    To start, connect the USB cable, or if already connected press the Reset button on your mikromedia board. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.

  • Page 12 Page 13

    step 3 Selecting .HEX file step 2 Browsing for .HEX file

    Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX

    01 01

    02

    01

    01

    02

    Click the Browse for HEX button and from a pop-up window (Figure 3.4) choose the .HEX file which will be uploaded to MCU memory.

    Select .HEX file using open dialog window.

    Click the Open button.

  • Page 14 Page 15

    step 4 Uploading .HEX file

    Figure 3-5: Begin uploading Figure 3-6: Progress bar

    01

    01

    01 01To start .HEX file boot loading click the Begin uploading button.

    You can monitor .HEX file uploading via progress bar

  • Page 14 Page 15

    step 5 Finish upload

    Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job

    01

    01

    Click the OK button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute.

  • Page 16 Page 17

    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 3-9.

    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. It supports over

    570 microcontrollers from Microchip. Outstanding performance,

    easy operation and elegant design are its key features.

    Programming with mikroProg

    programmer

    Figure 3-9: Connecting mikroProg to mikromedia

  • Page 16 Page 17

    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 PIC10, PIC12,

    PIC16, PIC18, dsPIC30/33, PIC24

    and PIC32. 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 3-10: Main Window of mikroProg Suite for PIC programming software

  • Page 18 Page 19

    Figure 3-11:Placing ICD2

    connector

    The microcontroller can be also programmed with ICD2 or ICD3 programmer. These programmers connects with mikromedia board via ICD2 CONNECTOR BOARD.

    Programming with

    ICD2 or ICD3 programmer

    In order to enable the ICD2 and ICD3 programmers to be connected to the

    mikromedia board, it is necessary to provide the appropriate connector such as the

    ICD2 CONNECTOR BOARD. This connector should be first soldered on the CN5 connector. Then you should plug the ICD2 or ICD3 programmer into it, Figure 3-11.

    Figure 3-12: Connecting ICD2

    or ICD3 programmer

  • Page 18 Page 19

    decoupling capacitors

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    R7 100

    VCC-3.3

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    PGC

    1PG

    D1

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    VCC-3.312345

    CN6

    M1X5

    MCLR#

    PGD1PGC1

    VCC-3.3

    MCLR#PGD1PGC1

    654321

    CN5

    M1X6

    Figure 3-13: mikroProg & ICD2 / ICD3 programmer connection schematic

  • Page 20 Page 21

    4. Reset Button

    Figure 4-2: Frontal reset buttonFigure 4-1: Location of additional reset button

    Board is equipped with reset button, which is located

    at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will

    generate low voltage level on microcontroller reset pin

    (input). In addition, a reset can be externally provided

    through pin 27 on side headers (Figure 4-3).

    You can also solder additional reset button on the appropriate place at the back side of the board, Figure 4-1.

    NOTE

  • Page 20 Page 21

    Figure 4-3: Reset circuit schematic

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    706

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    R7 100

    VCC-3.3

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    R810K

    VCC-3.3

    C3100nF

    T1T2

    RST

    VCC-3.3

    2728293031323334353637383940414243444546474849505152

    HDR2

    M1X26

  • Page 22 Page 23

    Board is equipped with 8MHz crystal oscillator (X1) circuit that provides external clock waveform to the microcontroller CLKO and CLKI pins. This base

    frequency is suitable for further clock multipliers and ideal

    for generation of necessary USB clock, which ensures proper

    operation of bootloader and your custom USB-based applications.

    Board also contains 32.768kHz Crystal oscillator (X3) which provides external clock for internal RTCC module.

    5. Crystal oscillator

    Figure 5-1:External crystal oscillator (X1)

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    The use of crystal in all other schematics is implied even if it is purposely left out because of the schematics clarity.

    NOTE :

    Figure 5-2:Crystal oscillator schematic

  • Page 22 Page 23

    6. MicroSD Card Slot

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    R5 27

    R4 27

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    SD-C

    D#

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    SD-CS#

    MISO2-RG7MOSI2-RG8

    SCK2-RG6

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0 decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    SD-CS#

    R1110K

    R1010K

    VCC-MMC

    R910K

    SD-CD#

    VCC-MMC

    R16

    27

    VCC-3.3

    E610uF

    C38100nF

    FP1

    FERRITE

    CSDin+3.3VSCKGNDDout

    CD

    GN

    D

    CN4

    MOSI2-RG8

    SCK2-RG6

    MISO2-RG7

    VCC-MMC

    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.

    Figure 6-3:Inserting microSD card

    Figure 6-1: microSD card slot

    Figure 6-2:microSD Card Slot module connection schematic

  • Page 24 Page 25

    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

    graphics in 262.144 diffe rent colors.

    7. Touch Screen

    Figure 7-1: Touch Screen

  • Page 24 Page 25

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 772423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    711

    51

    70

    6

    2576

    757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    PMR

    DPM

    WR

    PMD

    4PM

    D3

    PMD

    2

    PMD

    1PM

    D0

    LCD

    -BLE

    D

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    LCD

    -RS

    LCD

    -CS#

    LCD

    -YU

    LCD

    -XL

    LCD

    -YD

    LCD

    -XR

    LCD-RST

    PMD5PMD6PMD7

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2R

    B15

    RB1

    4

    RF8VbusVusb

    D-/RG3G

    ND

    VCC

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0R

    F4R

    F5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCCEN

    VREG

    RE8RA0VCC

    GN

    D

    RF1

    2RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    R23

    1K

    VCC-SYS

    VCC-3.3

    E1310uF

    R2510K

    VCC-3.3

    R2410K

    LCD-RSTLCD-CS#

    VCC-3.3

    LCD-BLED

    R4012

    VCC-SYS

    D2

    BAT43

    2

    15

    12

    35

    11

    36

    3456

    14

    789

    13

    43

    33

    10

    37383940

    444546

    34

    1

    47

    1617181920212223242526272829303132

    4142

    DB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17ENABLEDOTCLKHSYNCVSYNCRESET

    IM0IM1IM2IM3

    LED-A1LED-A2LED-A3LED-A4

    LED-K

    SDOSDIRDWR/SCLRSCSFMARKVCC-IOVCCVCC-IGNDXRYDXLYU

    TFT1

    MI0283QT2

    VCC-3.3

    LCD-YULCD-XL

    Q3BC846

    Q2BC846

    Q1BC846

    C22

    47nF

    R42300K

    C21

    47nF

    R41300K

    LCD-RST

    LCD-RSLCD-CS#

    LCD-YULCD-XLLCD-YDLCD-XR

    PMRDPMWR

    PMD0PMD1PMD2PMD3PMD4PMD5PMD6PMD7

    VCC-3.3 VCC-3.3

    Figure 7-2: Touch Screen connection schematic

  • Page 26 Page 27

    Figure 8-2: Inserting 3.5mm headphones jack

    The mikromedia for dsPIC33EP features 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).

    8. Audio Module

    Figure 8-1: On-board VS1053

    MP3 codec

  • Page 26 Page 27

    Figure 8-3: Audio module connection schematic

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    272

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    711

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910U1

    VCC-3.3

    R5 27

    R4 27

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    MP3

    -DC

    S

    MP3

    -CS#

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    MP3-DREQMP3-RST#

    MISO2-RG7MOSI2-RG8

    SCK2-RG6

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCCEN

    VREG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    MP3-CS#

    R2010K

    R21

    10K

    MP3

    -DREQ

    MP3-RST#

    R210K

    R1910K

    C13

    1uF

    VCC-3.3

    GPI

    O

    VCC-3.3

    LEFT

    RIGHT

    GBUF

    E1 10uF

    E2 10uF

    CN2

    PHONEJACK

    LEFT

    RIGHT

    C16

    10nF

    C14

    47nF

    C15

    10nF

    R2710

    R3020

    R3120

    R28 10

    R29 10

    R32

    470 C173.3nF

    R17100K

    R33

    470 C183.3nF

    R18100K

    L

    R

    R2227

    2345671112

    1314

    25

    24232221

    18171615

    8 1

    19

    9102726

    20

    28 29 30 31 32 33 34 35 36

    373839404142434445464748M

    CP/

    LN1

    MIC

    NXR

    ESET

    DG

    ND

    0C

    VDD

    0IO

    VDD

    0C

    VDD

    1D

    REQ

    GPI

    O2

    GPI

    O3

    GPI

    O6

    GPI

    O7

    XDCS/BSYNCIOVDD1VC0DGND1XTAL0XTAL1IOVDD2DGND2DGND3DGND4XCSCVDD2

    GPI

    O5

    RX

    TX SCLK

    SI SO CVD

    D3

    XTES

    TG

    PIO

    0G

    PIO

    1G

    ND

    GPI

    O4

    AGND0AVDD0

    AVDD2

    AGND1AGND2

    AGND3LN2

    LEFT

    RCAPAVDD1

    GBUF

    RIGHT

    VS1053

    U2

    VCC-1.8 VCC-3.3

    MP3-CS#

    MP3

    -RST#

    MP3-DCS

    MO

    SI2-

    RG

    8SC

    K2-R

    G6

    MIS

    O2-

    RG

    7

    C20 22pF

    C19 22pF

    R11MX

    2

    12.2

    88M

    Hz

    decoupling capacitors

    C4

    100nF

    C9

    100nF

    VCC-1.8 VCC-1.8

    C11

    100nF

    C10

    100nF

    VCC-1.8 VCC-1.8

    C12

    100nF

    C23

    100nF

    VCC-3.3

    C24

    100nF

    VCC-3.3

    C26

    100nF

    VCC-3.3 VCC-3.3

    C27

    100nF

    VCC-3.3

  • Page 28 Page 29

    9. USB connection

    Figure 9-1: Connecting USB cable to MINI-B

    USB connector

    dsPIC33EP512MU810 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.

  • Page 28 Page 29

    Figure 9-2: USB module connection schematic

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    706

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    USB-DET

    USBDPUSBDM

    SOSCOSOSCI

    USB-ID

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2R

    F13

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    decouplingcapacitors

    C5

    100nF

    C6

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3VCC-3.3

    C7

    100nF

    VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    USBDPUSBDM

    VCC-USB

    C2810nF

    FP2FERRITE

    USB-DET

    R14100

    12345 GND

    IDD+D-VBUS

    CN3

    USB MINIB

    USB-ID

  • Page 30 Page 31

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    SDA2-RA3SCL2-RA2

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    C32100nF

    C33100nF

    VCC-3.3

    R1210K

    R1310K

    VCC-3.3

    1 2 3

    J1

    ACC ADDRESS123456

    7

    8910111213

    14

    VCCGNDResGNDGNDVCC

    CS INT1

    INT2NCResADDSDASC

    L

    U9

    ADXL345

    VCC-3.3

    VCC-3.3 VCC-3.3

    SCL2-RA2

    SDA2-RA3

    10. Accelerometer

    On board ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The

    accelerometers function is defined by the user in the program loaded into the microcontroller. Communication

    between the accelerometer and the microcontroller is performed

    via the I2C interface.

    You can set the accelerometer

    address to 0 or 1 by re-soldering the

    SMD jumper (zero-ohm resistor) to the

    appropriate position. Jumper is placed

    in address 1 position by default.

    Figure 10-2: Accelerometer connection schematic

    Figure 10-1: Accelerometer

    module

  • Page 30 Page 31

    11. Flash Memory

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76757473

    8182838485868788899091929394959697989910

    U1

    VCC-3.3

    R5 27

    R4 27

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    MISO2-RG7

    FLASH-CS#

    MOSI2-RG8

    SCK2-RG6

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GNDR

    D2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    FLASH-CS#

    C37

    100nF

    R4810K

    VCC-3.3

    VCC-3.3

    VCC-3.3

    123

    54678CS

    SDOWPGND SDI

    SCKHOLD

    VCC

    U10

    M25P80

    MOSI2-RG8SCK2-RG6

    MISO2-RG7

    Figure 11-2:Flash memory module connection schematic

    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).

    Figure 11-1:Flash memory module

  • Page 32 Page 33

    0987 43

    58575655545352

    665 2 3 4 57 0

    9

    8 9

    1112

    2

    72

    69686766656463

    43

    78 77

    2423

    181716151413

    5678

    10

    7980

    12

    22212019

    62616059

    8 9 0 1 7

    71

    1

    51

    70

    6

    25

    76

    757473

    8182838485868788899091929394959697989910

    U1

    R7 100

    VCC-3.3

    R5 27

    R4 27

    VREF-1.8

    C30

    22pF

    C31

    22pF

    X3 32.768KHz

    C2

    22pF

    C1

    22pF

    X1 8MHz

    RG

    14

    RX-

    RD

    3

    RG

    13

    TX-R

    D1

    RD

    7R

    D6

    RD

    13R

    D12

    RG

    0R

    G1

    RF0

    RF1

    E9

    10uF

    CLKOCLKI

    SOSCOSOSCI

    RD11

    RD8

    SDA2-RA3SCL2-RA2

    RD9

    RF8RF2

    RA14RA15

    RD0

    RD10

    RB9

    RF4

    RF5

    RB1

    4

    RF1

    3R

    A1

    RC4

    MISO2-RG7

    RB4RB5

    RB3RB2RB1RB0

    RE9

    RA0RE8

    MOSI2-RG8

    SCK2-RG6

    3222 33 433 4 4 4 43 54 43 3 3 4 4 432

    dsPIC33EP512MU810

    0

    RB1

    1R

    B10

    RB9

    RB8

    RB13

    RB1

    2

    RE7RC1RC2RC3

    ASDA1/RA15

    D+/RG2

    RB1

    5R

    B14

    RF8VbusVusb

    D-/RG3

    GN

    DVC

    C

    RA

    6R

    G0

    RG

    1

    RE0 RF1

    RF0

    RD

    7R

    D6

    RE6RE5

    RE2

    RG

    13R

    G12

    RG

    14R

    E1

    RA

    7

    RG8/SDO2

    RA

    9/Vr

    ef-RB1

    RB2RB3RB4RB5RE9

    RD9RD8

    RF2USBID/RF3

    GND

    RG7/SDI2RG6/SCK2

    RA

    1

    RE3

    RE4

    RG15VDD

    RB7

    /PG

    ED1

    RB6

    /PG

    EC1

    RB0

    RF4

    RF5

    ASCL1/RA14

    RA5

    RD

    14R

    D15

    ASCL2/RA2

    RF1

    3

    VCC

    ASDA2/RA3

    VCC

    ENVR

    EG

    RE8RA0VCC

    GN

    D

    RF1

    2

    RA4

    GND

    VCA

    P

    AG

    ND

    AVC

    CR

    A10

    /Vre

    f+

    MCLR

    RC4

    CLKI/RC12CLKO/RC15

    RD10

    RD

    3

    RD

    1

    SOSCI/RC13SOSCO/RC14

    GND

    RD

    2

    RD

    12R

    D13

    RD

    4R

    D5

    RG9

    RD11RD0

    RST

    decoupling capacitors

    C5

    100nF

    C6

    100nF

    C7

    100nF

    E8

    10uF

    VCC-3.3 VCC-3.3 VCC-3.3VCC-3.3

    C8

    100nF

    VCC-3.3

    C34

    100nF

    VCC-3.3

    VCC-3.3

    VCC-3.3

    VCC-SYS

    RB4

    RB9RB5

    RB3RB2RB1

    RG14RG13

    RD7RD6

    RD13RD12

    MOSI2-RG8MISO2-RG7

    RD0

    RD10RC4

    RB14

    RB0

    RA14RA15

    SCK2-RG6

    RE9

    RA0

    RE8

    RF4RF5

    RX-RD3

    RD11

    RD8

    TX-RD1

    RST

    RD9

    RF13

    RA1

    LR

    RG0RG1RF0RF1

    RF8

    RF2

    SDA2-RA3SCL2-RA2

    HDR1

    M1X26

    HDR2

    M1X26

    1234567891011121314151617181920212223242526

    2728293031323334353637383940414243444546474849505152

    12. Pads

    Most microcontroller pins are available for further connectivity via two 1x26 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.

    Pads HDR2 Pads HDR1

    Figure 12-1: Connection pads schematic

  • Page 32 Page 33

    13. Pinout5V RST Reset pin5V power supply

    GND GND Reference GroundReference GroundRB0 LRB1 R

    left ch.right ch.

    RB2 RF2RB3 RF4RB4 RF5RB5 RF8RB9 RF13RD6 RA0RD7 RA1

    RD12 RE8RD13 RE9RA14 RD8RA15 RD9RD10 RD11

    RC4 RG0RD0 RG1

    RB14 RF0RG13 RF1RG14 RD3

    RG6 RD1RG7 RA2RG8 RA33.3V 3.3V 3.3V power supply3.3V power supplyGND GND Reference GroundReference Ground

    Pin functions Pin functions

    audio out

    UART

    I2CSPI2SCK2SDI2

    SDO2

    RXTXSCL2SDA2

    Analog Lines

    Interrupt Lines

    Digital I/O lines

    PWM lines

    Digital I/O lines

    SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines

  • Page 34 Page 35

    73.66 mm

    81.15 mm

    63.5 mm

    2.67 mm2.54 mm

    36.5

    8 m

    m

    55.8

    8 m

    m

    60.4

    5 m

    m

    2.03

    mm

    (3195 mils)

    (2900 mils)

    (238

    0 m

    ils)

    (220

    0 m

    ils)

    (2500 mils)

    (144

    0 m

    ils)

    (105 mils)(100 mils)

    (80

    mils

    )

    8.89

    mm

    (350

    mils

    )7.

    62 m

    m(3

    00 m

    ils)

    14. Dimensions

  • Page 34 Page 35

    15. mikromedia accessories

    We have prepared a set of

    extension boards pin-compatible

    with your mikromedia, which

    enable you to easily expand

    your board basic functionality.

    We call them mikromedia

    shields. But we also offer other accessories, such as Li-polymer

    battery, stacking headers, wire

    jumpers and more.

    04

    01 02 03

    Gaming shield

    Connect shield BatteryBoost shield PROTO shield

    06 07Li-Polimer battery Wire Jumpers05 mikroBUS shield

  • Page 36 Page 37

    You still dont have an appropriate compiler? Locate dsPIC compiler that suits you best on

    the Product DVD provided with the package:

    Choose between mikroC, mikroBasic and mikroPascal and download fully functional

    demo version, so you can begin building your first applications.

    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.

    You have now completed the journey through each and every feature of mikromedia for dsPIC33EP 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. 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

    Projects

    DVD://download/eng/software/compilers/

    Whats next?

  • Page 36 Page 37

    Notes:

  • Page 38 Page 39

    Notes:

  • Page 38 Page 39

    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.

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

    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 hazard-ous 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.

  • 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 [email protected] for dsPIC33EP Manual

    ver. 1.00

    0 100000 020432