background image

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 tradmarks are the property of their respective owners.
Unauthorised 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  STM32®
development system

mikromedia for STM32® 
user’s guide

mikromedia for STM32® 
schematics

DVD with documentation 
and examples

USB cable and ST-LINK V2 
to mikroProg™ adapter

Summary of Contents for mikromedia for STM32

Page 1: ...Compact multimedia development system rich with on board peripherals for all round development on STM32F207VGT6 and STM32F407VGT6 devices for STM32 mikromedia ...

Page 2: ...any is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs The STM32 ARM and Windows logos and product names are trademarks of STMicroelectronics ARM Holdings and Microsoft in the U S A and other countries TO OUR VALUED CUSTOMERS Nebojsa Matic General Manager ...

Page 3: ...nnecting mikromedia 14 step 2 Browsing for hex file 15 step 3 Selecting hex file 15 step 4 Uploading hex file 16 step 5 Finish upload 17 Programming with mikroProg programmer 18 mikroProg Suite for ARM Software 19 Programming with ST LINK V2 programmer 20 4 Reset buttons 22 5 Oscillators 24 6 MicroSD Card Slot 25 7 Touch Screen 26 8 Audio Module 28 9 USB connection 30 10 Accelerometer 32 11 Flash ...

Page 4: ...troller The mikromedia for STM32 features integrated modules such as stereo MP3 codec TFT 320x240 touch screen display accelerometer USB connector MMC SD card slot 8 Mbit flash memory 2x26 connection pads and other It comes pre programmed with USB bootloader but can also be programmed with external programmers such as mikroProg for STM32 or ST LINK Mikromedia is compact and slim and perfectly fits...

Page 5: ...marks are the property of their respective owners Unauthorised 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 STM32 development system mikromedia for STM32 user s guide mikromedia for STM32 schematics DVD with documentation and examples USB cable and ST LINK V2 to mikroProg a...

Page 6: ...connector Charge indication LED LI Polymer battery connector 3 5mm headphone connector Power supply regulator Crystal oscillator VS1053 Stereo mp3 coder decoder RESET button STM32F207VGT6 or STM32F407VGT6 microcontroller Accelerometer Serial Flash memory microSD Card Slot Power indication LED JTAG SWD programmer connector ...

Page 7: ...ion power supply Via USB cable 5V DC board dimensions 81 2 x 60 5 mm 3 19 x 2 38 inch weight 45 g 0 10 lbs power consumption 46 5 mA with erased MCU when on board modules are inactive 03 06 07 08 09 11 10 12 13 14 15 04 05 16 ...

Page 8: ...presence of power supply You can also power the board using Li Polymer battery via on board battery connector On board circuit MCP73832 enables you to charge the battery over USB connection LED diode RED will indicate battery charging Led is off when battery is full Charging current is 250mA and charging voltage is 4 2V DC Battery power supply USB power supply Figure 1 1 Connecting USB power suppl...

Page 9: ...T VDD PROG U5 MCP73832 Q4 BC846 Q5 BC846 C28 10nF FP2 FERRITE 1 2 3 4 5 GND ID D D VBUS CN3 USB MINIB VCC USB C29 2 2uF VCC 3 3 R46 22K E10 10uF R47 120K VCC 1 8 VCC 1 8 R50 12K1 1 2 3 5 4 Vin GND EN ADJ Vout U3 AP7331 ADJ DATA BUS LD2 CHARGE LD1 POWER VCC BAT 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 HDR1 M1X26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46...

Page 10: ...CAN 3 x I2C 2 x SPI 2 x UART 2 x USART 5 x TIMER 16 bit 2 x TIMER 32 bit A P B 1 3 0 M H z 2 x DAC 3 x TIMER 16 bit WWDG RTC IWDG SRAM 112KB FLASH 1MB EXT MEM CONTR DMA 2 ETH MAC 10 100 JTAG SW USB OTG FS CAM INTERFACE RNG DMA 1 SRAM 16KB USB OTG HS AHB BUS MATRIX POWER RESET GPIO PORT A B C D E F G H I ARM Cortex M3 STM32F207VGT6 The mikromedia for STM32 M3 development system comes with the STM32...

Page 11: ... USART 5 x TIMER 16 bit 2 x TIMER 32 bit A P B 1 4 2 M H z 2 x DAC 3 x TIMER 16 bit WWDG RTC IWDG SRAM 176 KB FLASH 1MB EXT MEM CONTR DMA 2 ETH MAC 10 100 JTAG SW USB OTG FS CAM INTERFACE RNG DMA 1 SRAM 16KB USB OTG HS AHB BUS MATRIX POWER RESET GPIO PORT A B C D E F G H I ARM Cortex M4 STM32F407VGT6 The mikromedia for STM32 M4 development system comes with the STM32F407VGT6 microcontroller which ...

Page 12: ...3 Programming the microcontroller Figure 3 1 STM32F207VGT6 Microcontroller Figure 3 2 STM32F407VGT6 Microcontroller Page 12 ...

Page 13: ...Prog programmer 03 Using external ST LINK V2 programmer The mikromedia for STM32 development system can be programmed in three different ways 01 Using bootloader which is pre programmed into device by default or via external programmers 02 mikroProg or 03 ST LINK V2 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ...

Page 14: ...After software is downloaded unzip it to desired location and start mikroBootloader USB HID software http www mikroe com eng products view 853 mikromedia for stm32 Figure 3 3 USB HID mikroBootloader window step 1 Connecting mikromedia 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 ...

Page 15: ...ile Figure 3 4 Browse for HEX Figure 3 5 Selecting HEX 01 Click the Browse for HEX button and from a pop up window Figure 3 5 choose the HEX file which will be uploaded to MCU memory 01 02 Select HEX file using open dialog window Click the Open button 01 01 01 ...

Page 16: ...16 step 4 Uploading HEX file Figure 3 6 Begin uploading Figure 3 7 Progress bar 01 01 01 01 To start HEX file bootloading click the Begin uploading button You can monitor HEX file uploading via progress bar ...

Page 17: ...h upload Figure 3 8 Restarting MCU Figure 3 9 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 18: ...ing with mikroProg programmer mikroProg is a fast USB 2 0 programmer with mikroICD hardware In Circuit Debugger It supports over 180 ARM Cortex M3 and Cortex M4 microcontrollers from STM32 family Outstanding performance easy operation and elegant design are it s key features Figure 3 10 Connecting mikroProg to mikromedia 01 02 Via JTAG interface Via Serial wire debug SWD interface Before attaching...

Page 19: ...he microcontroller first make sure to load the target HEX file You can drag n drop the file onto the software window or use the Load button to open Browse dialog and point to the HEX file location Then click the Write button to begin programming After downloading extract the package and double click the executable setup file to start installation DVD download eng software development tools arm mik...

Page 20: ...t the ST LINK V2 programmer to be connected to the development system it is necessary to provide the appropriate adapter such as the mikroProg to ST LINK V2 adapter 2x5 male headers should be first soldered on the CN5 connector pads Then you should plug adapter into the ST LINK V2 programmer 2x10 male header and plug IDC10 flat cable in male headers Figure 3 13 Figure 3 13 Connecting ST LINK V2 pr...

Page 21: ...3 PE12 PB13 PB14 PB15 PD8 PE14 PE15 PB5 PB4 PB3 PB7 PD7 PD6 PE5 PE4 PE1 PE0 PB9 PB8 BOOT0 PB6 OSC_IN PA0 WKUP VDDA VREF GNDA VDD PC3 PA12 PA11 PB12 PC8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD PA15 PC11 PC12 PD0 PA6 PA5 PC4 PA7 PC5 PB0 GND VDD PA3 P...

Page 22: ...ant to reset the circuit press either of two buttons 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 4 Reset Buttons Figure 4 2 Frontal reset button Figure 4 1 Reset button located at the backside of the board Do not press the reset buttons during programming NOTE ...

Page 23: ...6 VBAT PC13 TAMPER_RTC PC14 OSC32_IN PA10 PA9 PA8 PD9 PE13 PE12 PB13 PB14 PB15 PD8 PE14 PE15 PB5 PB4 PB3 PB7 PD7 PD6 PE5 PE4 PE1 PE0 PB9 PB8 BOOT0 PB6 OSC_IN PA0 WKUP VDDA VREF GNDA VDD PC3 PA12 PA11 PB12 PC8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD...

Page 24: ...8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 10 PE11 PE10 PE6 VBAT PC13 TAMPER_RTC PC14 OSC32_IN PA10 PA9 PA8 PD9 PE13 PE12 PB13 PB14 PB15 PD8 PE14 PE15 PB5 PB4 PB3 PB7 PD7 PD6 PE5 PE4 PE1 PE0 PB9 PB8 BOOT0 PB6 OSC_IN PA0 WKUP VDDA VREF GNDA VDD PC3 PA12 PA11 PB12 PC8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC...

Page 25: ...A VREF GNDA VDD PC3 PA12 PA11 PB12 PC8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD PA15 PC11 PC12 PD0 PA6 PA5 PC4 PA7 PC5 PB0 GND VDD PA3 PA4 PD1 PD2 PD3 PD4 U1 MISO3 PC11 R4 27 R5 27 SCK3 PC10 MOSI3 PC12 VREF 1 8 R65 100K C41 2 2uF C42 2 2uF R66 100K ...

Page 26: ...vered 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 7 Touch Screen Figure 7 1 Touch Screen ...

Page 27: ...46 Q2 BC846 Q1 BC846 T D0 LCD BLED PMWR PMRD LCD RS T D2 T D3 T D6 DRIVEA DRIVEB CS LCD RST T D4 T D7 T D5 LCD XL LCD YD T D1 T D5 T D7 T D4 T D3 T D2 T D1 T D0 T D6 30 29 28 27 34 33 46 36 35 42 43 44 45 37 50 9 48 49 11 12 32 4 3 7 7 24 23 18 17 16 15 14 13 5 6 7 8 10 7 8 1 2 22 21 20 19 38 39 40 41 47 31 26 25 7 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 10 PE11 PE10 PE6 VBAT PC13 TAMPER_RTC PC14 OS...

Page 28: ...o 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 29: ...GPIO0 GPIO1 GND GPIO4 AGND0 AVDD0 AVDD2 AGND1 AGND2 AGND3 LN2 LEFT RCAP AVDD1 GBUF RIGHT VS1053 U2 VCC 1 8 VCC 3 3 MP3 CS MP3 RST VCC 3 3 AVCC MP3 DCS MP3 DCS MP3 RST MP3 DREQ MP3 CS MISO3 PC11 SCK3 PC10 MOSI3 PC12 30 29 28 27 34 33 46 36 35 42 43 44 45 37 50 9 48 49 11 12 32 4 3 7 7 24 23 18 17 16 15 14 13 5 6 7 8 10 7 8 1 2 22 21 20 19 38 39 40 41 47 31 26 25 7 8 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 ...

Page 30: ...ule 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 9 USB connection Figure 9 1 Connecting USB cable to programming connector ...

Page 31: ...13 PB14 PB15 PD8 PE14 PE15 PB5 PB4 PB3 PB7 PD7 PD6 PE5 PE4 PE1 PE0 PB9 PB8 BOOT0 PB6 OSC_IN PA0 WKUP VDDA VREF GNDA VDD PC3 PA12 PA11 PB12 PC8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD PA15 PC11 PC12 PD0 PA6 PA5 PC4 PA7 PC5 PB0 GND VDD PA3 PA4 PD1 PD...

Page 32: ...PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD PA15 PC11 PC12 PD0 PA6 PA5 PC4 PA7 PC5 PB0 GND VDD PA3 PA4 PD1 PD2 PD3 PD4 U1 VREF 1 8 R65 100K C41 2 2uF C42 2 2uF R66 100K decoupling capacitors C5 100nF C6 100nF C7 100nF C8 100nF E8 10uF VCC 3 3 VCC 3 3 VCC 3 3 VCC 3 3 VC...

Page 33: ...8 NRST VDD GND PE7 PDR_ON RFU VDD PE2 PE3 PA2 PA1 VCAP VDD PC9 PD13 PB10 PB11 PD10 PE8 PB2 PD11 PD14 PD5 PC2 PC1 PC0 PB1 PE9 PD12 PC7 OSC_OUT PC15 OSC32_OUT PD15 PC6 PA13 PC10 PA14 VCAP GND VDD PA15 PC11 PC12 PD0 PA6 PA5 PC4 PA7 PC5 PB0 GND VDD PA3 PA4 PD1 PD2 PD3 PD4 U1 MISO3 PC11 R4 27 R5 27 SCK3 PC10 MOSI3 PC12 VREF 1 8 R65 100K C41 2 2uF C42 2 2uF R66 100K decoupling capacitors C5 100nF C6 100...

Page 34: ...1 8 PD0 PA7 PA8 PA10 PD14 PC1 PC2 PC3 PC4 PC5 SCL2 PB10 SDA2 PB11 PB12 SCK2 PB13 MISO2 PB14 MOSI2 PB15 PB5 PD1 PD2 PD4 PD8 PD9 PD10 PD11 PD12 PD13 R65 100K C41 2 2uF C42 2 2uF R66 100K RST RX TX SCK SDI SDO SDA SCL AN INT PWM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 HDR1 M1X26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 HDR2 M1X26 VCC 3...

Page 35: ...A10 PA6 PD14 PC0 PB5 PC1 PD1 PC2 PD2 PC3 PD4 PC4 PD8 PC5 PD9 PB10 PD10 PB11 PD11 PB12 PD12 PB13 PD13 PB14 PE13 PB15 PE14 PD0 PD6 PC10 PD5 PC11 PB6 PC12 PB7 3 3V 3 3V 3 3V power supply GND GND Reference Ground Pin functions Pin functions audio out 13 Pinout Digital I O lines SPI Lines Interrupt Lines Analog Lines RX TX SCK SCL SDI SDA SDO UART Lines I2 C Lines PWM lines Digital I O lines 3 3V power...

Page 36: ...73 66 mm 81 15 mm 63 5 mm 2 67 mm 2 54 mm 36 58 mm 55 88 mm 60 45 mm 2 03 mm 3195 mils 2900 mils 2380 mils 2200 mils 2500 mils 1440 mils 105 mils 100 mils 80 mils 8 89 mm 350 mils 7 62 mm 300 mils 14 Dimensions ...

Page 37: ...ble 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 05 06 07 02 03 Gaming shield Connect shield Li Polimer battery Wire Jumpers Stacking headers BatteryBoost shield PROTO shield ...

Page 38: ...ich 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 STM32 board You got to know it s modules a...

Page 39: ...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 mikroBUS Click Boards EasyMx PRO and mikromedia are trademarks of MikroElektronika All ...

Page 40: ...eriencing 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 STM32 M3 M4 Manual ver 1 00 0 100000 019511 ...

Reviews: