mikroElektronika mikromedia Series Manual

mikroElektronika mikromedia Series Manual

For stm32, compact multimedia development system rich with on-board peripherals for all-round development on stm32f207vgt6 and stm32f407vgt6 devices
Hide thumbs Also See for mikromedia Series:

Advertisement

Quick Links

mikromedia
for STM32
®
Compact multimedia development system rich with on-board peripherals for
all-round development on STM32F207VGT6 and STM32F407VGT6 devices

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for mikroElektronika mikromedia Series

  • Page 1 mikromedia ™ for STM32 ® Compact multimedia development system rich with on-board peripherals for all-round development on STM32F207VGT6 and STM32F407VGT6 devices...
  • 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 STM32 Programming with mikroProg programmer ® ™ Package contains mikroProg Suite for ARM software ™ ® Key features Programming with ST-LINK V2 programmer System specifications 4. Reset button 1. Power supply 5. Oscillators USB power supply 6.
  • Page 4: Introduction To Mikromedia For Stm32

    Introduction to mikromedia for STM32 ® mikromedia for STM32 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 32-bit STM32F207VGT6 or STM32F407VGT6 microcontroller.
  • Page 5: Package Contains

    Package contains Damage resistant protective box mikromedia for STM32 development system ® System power supply VSYS Reset pin Reference Ground Reference Ground left ch. audio out right ch. Analog Lines PWM lines PA10 PD14 Interrupt Lines Digital I/O lines PB10 PD10 PB11 PD11...
  • Page 6: Key Features

    Key features RESET button Connection Pads TFT 320x240 display USB MINI-B connector Charge indication LED LI-Polymer battery connector 3.5mm headphone connector Power supply regulator Crystal oscillator VS1053 Stereo mp3 coder/decoder STM32F207VGT6 or STM32F407VGT6 microcontroller Accelerometer Serial flash memory microSD card slot Power indication LED JTAG/SWD programmer connector Page 6...
  • Page 7: System Specifications

    System specification power supply Via USB cable (5V DC) power consumption 46.5 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 ~45 g (0.10 lbs) 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 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 Figure 1-1: power supply.
  • Page 9 VCC-SYS VCC-SYS VCC-USB AVCC VCC-3.3 PMEG3010ER HDR1 HDR2 FERRITE VBUS DMP2160UW 2.2uF 100nF 10nF VCC-BAT USB MINIB BATT CONN VCC-3.3 VCC-1.8 VCC-BAT VCC-1.8 VREF-1.8 VCC-1.8 10uF 2.2uF Vout VSENSE 120K 2.2uF 100nF VCC-3.3 VCC-3.3 AP7331-ADJ M1X26 M1X26 12K1 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-BAT...
  • Page 10: Key Microcontrollers Features

    2. Key microcontrollers features The mikromedia for STM32 M3 development system comes ® with the STM32F207VGT6 microcontroller. This high- performance 32-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications. STM32F207VGT6 - 1.25 DMIPS/MHz, 32-bit Cortex -M3 Core;...
  • Page 11: Stm32F407Vgt6

    The mikromedia for STM32 M4 development system comes ® with the STM32F407VGT6 microcontroller, which can deliver even more processing power. With up to 168MHz operation, this 32-bit microcontroller with other on-board modules is a perfect choice for performance-demanding applications. STM32F407VGT6 - 1.25 DMIPS/MHz, 32-bit Cortex -M4 Core;...
  • Page 12: Programming The Microcontroller

    3. Programming the microcontroller Figure 3-1: STM32F207VGT6 Microcontroller Figure 3-2: STM32F407VGT6 Microcontroller Page 12...
  • Page 13 The microcontroller can be programmed in three ways: Using external ST-LINK V2 Via USB mikroBootloader Using external mikroProg ™ ™ programmer programmer The mikromedia for STM32 development system can be programmed in three different ways. Using the bootloader which is ®...
  • Page 14: Programming With Mikrobootloader

    Programming with mikroBootloader step 1 – Connecting mikromedia You can program the microcontroller with bootloader which is preprogrammed 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: www.mikroe.com/downloads/get/1849/ mikrobootloader_mikromedia_stm32_v210b.zip Upon download, unzip it to desired location and start the...
  • Page 15: Step 2 - Browsing For .Hex File

    step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 3-4: Browse for HEX Figure 3-5: Selecting HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. pop-up window (Figure 3.5) choose the .HEX file Click Open.
  • Page 16: Step 4 - Uploading .Hex File

    step 4 – Uploading .HEX file Figure 3-6: Begin uploading Figure 3-7: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file Begin uploading button. uploading. Page 16...
  • Page 17: Step 5 - Finish Upload

    step 5 – Finish upload Figure 3-8: Restarting MCU Figure 3-9: mikroBootloader ready for next job Click OK after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute. Page 17...
  • Page 18: Programming With Mikroprog ™ Programmer

    Programming with mikroProg programmer ™ The microcontroller can be programmed with external mikroProg for STM32 programmer and mikroProg Suite for ARM software. ™ ® ™ ® The mikroProg programmer is connected to the development system via the CN5 (JTAG) connector. You can choose between two ways ™...
  • Page 19: Mikroprog Suite ™ For Arm ® Software

    mikroProg Suite for ARM software ™ ® On-board mikroProg programmer requires special programming software called mikroProg Suite ™ ™ for ARM . This software is used for programming of all supported microcontroller families with ® Cortex -M3 and Cortex -M4 cores. The software has an intuitive interface and SingleClick ®...
  • Page 20: Programming With St-Link V2 Programmer

    Programming with ST-LINK V2 programmer The microcontroller can also be programmed with the ST-LINK V2 programmer and mikroProg Suite for ARM software, Figure 3-11. This programmer ™ ® connects with mikromedia board via mikroProg to ST-LINK V2 adapter. In order to adjust the ST-LINK V2 programmer Figure 3-12: ™...
  • Page 21 VCC-3.3 2.2uF VCC-3.3 TMS/ SWDIO TCK/ SWCLK AVCC TRST 100K RESET# JTAG (SWD) Jumper J3 NOTE is soldered VREF-1.8 PB12 PB13 by default PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA VCC-3.3 VCC-3.3 VCC-3.3 PD10 PD11 PD12 PD13 10uF 100nF 100nF PD14 STM32F207VGT6 RESET#...
  • Page 22: Reset Button

    4. Reset button 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 microcontroller reset pin (input).
  • Page 23 VCC-3.3 2.2uF VCC-3.3 HDR2 AVCC 100K 100nF VREF-1.8 PB12 PB13 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA PD10 PD11 PD12 PD13 PD14 STM32F207VGT6 PD15 NRST OSC_OUT R7 100 STM32F407VGT6 OSC_IN 22pF VCC-3.3 OSC32_OUT PC15/OSC32_OUT 32.768KHz OSC32_IN PC14/OSC32_IN M1X26 PA10 PC13/TAMPER_RTC PA11 VBAT 22pF...
  • Page 24: Oscillators

    5. Oscillators STM32F207VGT6 and STM32F407VGT6 microcontrollers are equipped with an internal 16MHz RC oscillator that provides Figure 5-1: a stable clock signal. Since the chips have Crystal oscillator an integrated PLL, this base frequency is module (X1) suitable for further clock multiplication. Board also contains a 32.768kHz Crystal oscillator (X1) which provides an external clock for internal RTCC module.
  • Page 25 2.2uF VCC-3.3 AVCC 100K VREF-1.8 PB12 PB13 VCC-3.3 VCC-3.3 VCC-3.3 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA 10uF 100nF 100nF PD10 PD11 PD12 PD13 PD14 VCC-3.3 VCC-3.3 VCC-3.3 STM32F207VGT6 PD15 NRST OSC_OUT STM32F407VGT6 OSC_IN 100nF 100nF 100nF OSC32_OUT PC15/OSC32_OUT OSC32_IN PC14/OSC32_IN PA10 PC13/TAMPER_RTC...
  • Page 26: Microsd Card Slot

    6. 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 2.2uF VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 AVCC 100K 10uF 100nF 100nF 100nF 100nF 100nF decoupling capacitors VREF-1.8 PB12 PB13 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA PD10 PD11 PD12 PD13 PD14 SD-CD# STM32F207VGT6 PD15 NRST OSC_OUT STM32F407VGT6 OSC_IN VCC-MMC VCC-3.3 PC15/OSC32_OUT...
  • 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 graphics in 262.144 diffe rent colors.
  • Page 29 VCC-SYS VCC-3.3 VCC-3.3 TFT1 2.2uF VCC-3.3 L ED- K L ED- A1 L ED- A2 AVCC 100K L ED- A3 BC846 L ED- A4 LCD-BLED BC846 LCD-RST RESET VSYNC VREF-1.8 PB12 HSYNC VCC-3.3 PB13 DOTCL K BC846 PB14 PA0-WKUP VCC-3.3 T-D7 PB15 VDDA...
  • Page 30: Audio Module

    8. Audio module Figure 8-1: On-board VS1053 MP3 codec mikromedia for STM32 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).
  • Page 31 2.2uF VCC-3.3 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 AVCC 100K MP3-CS# 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF 100nF MP3-RST# decoupling VREF-1.8 PB12 capacitors PB13 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA PD10 PD11 PD12 PD13 PD14 STM32F207VGT6...
  • Page 32: Usb Connection

    9. USB connection Figure 9-1: Connecting USB cable to programming connector STM32F207VGT6 and STM32F407VGT6 microcontrollers have an integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over a Mini-B USB connector which is positioned next to the battery connector.
  • Page 33 2.2uF VCC-3.3 AVCC 100K VCC-3.3 VCC-3.3 VCC-3.3 VREF-1.8 PB12 PB13 PB14 PA0-WKUP VCC-3.3 10uF 100nF 100nF PB15 VDDA VREF+ GNDA PD10 PD11 VCC-3.3 VCC-3.3 VCC-3.3 PD12 PD13 PD14 STM32F207VGT6 PD15 NRST 100nF 100nF 100nF OSC_OUT STM32F407VGT6 OSC_IN PC15/OSC32_OUT decoupling USB-DET PC14/OSC32_IN capacitors PA10...
  • Page 34: Accelerometer

    10. Accelerometer Figure 10-1: Accelerometer module On board ADXL345 accelerometer is used to measure You can set the accelerometer address acceleration in three axes: x, y and z. The acceleromer’s to 0 or 1 by re-soldering the SMD function is defined by the user in the program loaded into the jumper (zero-ohm resistor) to the microcontroller.
  • Page 35 2.2uF VCC-3.3 AVCC 100K VREF-1.8 PB12 PB13 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 GNDA PD10 PD11 PD12 10uF 100nF 100nF 100nF 100nF 100nF PD13 PD14 STM32F207VGT6 PD15 NRST OSC_OUT STM32F407VGT6 decoupling OSC_IN capacitors PC15/OSC32_OUT PC14/OSC32_IN PA10 PC13/TAMPER_RTC...
  • 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 2.2uF VCC-3.3 AVCC 100K VREF-1.8 PB12 PB13 PB14 PA0-WKUP VCC-3.3 PB15 VDDA VREF+ GNDA PD10 PD11 PD12 PD13 PD14 STM32F207VGT6 PD15 NRST VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 VCC-3.3 OSC_OUT STM32F407VGT6 OSC_IN PC15/OSC32_OUT 10uF 100nF 100nF 100nF 100nF 100nF PC14/OSC32_IN PA10 PC13/TAMPER_RTC PA11 VBAT...
  • Page 38: Pads

    12. Pads 2.2uF VCC-3.3 VCC-SYS AVCC 100K HDR2 HDR1 PB12 VREF-1.8 PB12 PA10 SCK2-PB13 PB13 PD14 MISO2-PB14 PB14 PA0-WKUP VCC-3.3 MOSI2-PB15 PB15 VDDA VREF+ GNDA PD10 PD10 PD11 PD11 PD12 PD12 PD10 PD13 SCL2-PB10 PD13 PD11 PD14 SDA2-PB11 PD14 PD12 STM32F207VGT6 PB12 PD15...
  • Page 39: Pinout

    13. Pinout VSYS System power supply Reset pin Reference ground Reference ground left ch. audio out right ch. Analog lines PWM lines PA10 PD14 Interrupt lines Digital I/O lines PB10 PD10 PB11 PD11 PB12 PD12 Digital I/O lines PB13 PD13 PB14 PE13 PB15...
  • Page 40: Dimensions

    14. Dimensions 81.15 mm (3195 mils) 73.66 mm (2900 mils) 63.5 mm (2500 mils) 2.54 mm 2.67 mm (100 mils) (105 mils) Page 40...
  • Page 41: Mikromedia Accessories

    15. mikromedia accessories We have prepared a set of ex- tension boards pin-compatible with your mikromedia, which enable you to easily expand your board’s basic functional- ity. We call them mikromedia shields. But we also offer other accessories, such as a Li-poly- mer battery, stacking headers, wire jumpers and more.
  • Page 42: What's Next

    16. What’s next? You have now completed the journey through each and every feature of mikromedia for STM32. 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 STM32 M3/M4 manual do not hesitate to contact us at office@mikroe.com...
  • Page 45 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: MikroElektronika MIKROE-1101 MIKROE-1102 MIKROE-1397 MIKROE-1398 MIKROE-1575...

Table of Contents