MikroElektronika mikromedia for STM32 User guide

mikromedia
for STM32
Compact multimedia development system rich with on-board peripherals for all-round development on STM32F207VGT6 and STM32F407VGT6 devices
®
Page 3
TO OUR VALUED CUSTOMERS
condence 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.
Nebojsa Matic
General Manager
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.
Table of Contents
Introduction to mikromedia for STM32® 4
Package Contains 5
Key Features 6
System Specication 7
1. Power supply 8
USB power supply 8
Battery power supply 8
2. Key microcontrollers features 10
STM32F207VGT6 10
STM32F407VGT6 11
3. Programming the microcontroller 12
Pro gramming with mikroBootloader 14
step 1 – Connecting mikromedia 14
step 2 – Browsing for .hex le 15
step 3 – Selecting .hex le 15
step 4 – Uploading .hex le 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 Memory 33
12. Pads 34
13. Pinout 35
14. Dimensions 36
15. Mikromedia Accessories 37
16. What’s Next 38
Page 3
Page 5
Introduction to mikromedia for STM32®
The 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. 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 ash
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 ts in the palm of the hand, which
makes it convenient platform for mobile devices.
Page 4
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
Damage resistant
01
protective box
mikromedia for STM32®
04 05
user’s guide
mikromedia for STM32®
02
development system
mikromedia for STM32® schematics
Page 5
DVD with documentation
03
and examples
USB cable and ST-LINK V2
06
to mikroProg™ adapter
Page 7
Key Features
01
Connection Pads
02
TFT 320x240 display
03
USB MINI-B connector
Charge indication LED
04
LI-Polymer battery connector
05
3.5mm headphone connector
06
Power supply regulator
07
Crystal oscillator
08
VS1053 Stereo mp3 coder/decoder
09
RESET button
10
STM32F207VGT6 or STM32F407VGT6
11
microcontroller
Accelerometer
12
Serial Flash memory
13
microSD Card Slot
14
Power indication LED
15
JTAG/SWD programmer connector
16
01
02
Page 6
03
04
05
15
11
07
13
08
16
10
12
14
09
06
System Specication
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)
Page 7
Page 9
1. Power supply
Battery 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 o when battery is full. Charging current
is ~250mA and charging voltage is 4.2V DC.
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
power supply.
Figure 1-1: Connecting USB power supply
Figure 1-2: Connecting Li-Polymer battery
Page 8
2 3
5
4
1
VCC-SYS VCC-3.3
E3
10uF
E4 10uF
R26
2K2
3
1
2
GND
Vin
Vout
REG1
LD29080DT33
VCC-BAT
D1
PMEG3010ER
R44 3K9
Charging Current approx. 250mA
R39 4K7
VCC-3.3
E7
10uF
C40
2.2uF
R34 4K7
R6 4K7
VCC-BAT
VSENSE
VCC-SYS
VCC-SYS
R43 10K
R37
10K
R36 10K
VCC-3.3
STAT
R38 10K
R45 1K
VCC-3.3
E5 10uF
R35 10K
VCC-3.3
R49 4K7
+
-
CN1 BATT CONN
M1
DMP2160UW
STAT VSS VBAT 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 47 48 49 50 51 52
HDR2
M1X26
VCC-3.3 VCC-3.3
VCC-SYS
VCC-1.8VREF-1.8
FP3
VCC-3.3AVCC
FP4
C25 100nF
C30
2.2uF
C34 100nF
C36
2.2uF
Figure 1-3: Power supply schematics
Page 9
Page 11
2. Key microcontrollers features
APB2 60MHz
3 x ADC
temperature sensor
1 x SPI
1 x USART
3 x TIMER 16-bit
3 x TIM/PWM 16-bit
SDIO/MMC
2 x CAN
3 x I2C
2 x SPI
2 x UART
2 x USART
5 x TIMER 16-bit
2 x TIMER 32-bit
APB1 30MHz
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 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;
- 1 Mbyte Flash memory;
- 128 + 4 Kbytes of SRAM;
- 83 I/O pins;
- SPI, I2C, CAN, USB, Ethernet;
- USART, UART
- 16-bit and 32-bit Timers, up to 120Mhz;
- Internal Oscillator 16MHz, 32kHz, PLL;
- ADC, DAC, etc.
Page 10
APB2 84MHz
3 x ADC
temperature sensor
1 x SPI
1 x USART
3 x TIMER 16-bit
3 x TIM/PWM 16-bit
SDIO/MMC
2 x CAN
3 x I2C
2 x SPI
2 x UART
2 x USART
5 x TIMER 16-bit
2 x TIMER 32-bit
APB1 42MHz
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 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;
- 1 Mbyte Flash memory;
- 192 + 4 Kbytes of SRAM;
- 83 I/O pins;
- SPI, I2C, CAN, USB, Ethernet;
- USART, UART
- 16-bit and 32-bit Timers, up to 168Mhz;
- Internal Oscillator 16MHz, 32kHz, PLL;
- ADC, DAC, etc.
Page 11
Page 13
3. Programming the microcontroller
STM32F407VGT6
Microcontroller
Figure 3-1:
STM32F207VGT6
Microcontroller
Figure 3-2:
Page 12
Loading...
+ 28 hidden pages