V
Amazingly compact, all-on-single-pcb development board
carring 7” TFT Touch Screen and lots of multimedia peripherals,
all driven by powerful STM32F407ZG microcontroller from
ARM® Cortex™-M4 family
for STM32F4
mikromedia 7
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.
To our valued customers
Nebojsa Matic
General Manager
Page 3
Table of Contents
Introduction to mikromedia 7 for STM32F4 4
System Specification 4
Package Contains 5
1. Power supply 6
2. STM32F407ZG microcontroller 8
Key microcontroller features 8
3. Programming the microcontroller 9
Using mikroProg™ programmer 10
mikroProg™ suite for ARM® software 12
Software installation wizard 13
4. RTC Battery and Reset Button 14
5. Crystal oscillators and 2.048V reference 16
6. MicroSD Card Slot 18
7. Touch Screen 20
8. Audio Module 22
9. USB DEVICE connection 24
10. USB HOST connection 26
11. Accelerometer 28
12. Flash Memory 30
13. RF transceiver 32
14. Wi-Fi 34
15. Ethernet transceiver 36
16. CAN communication 38
17. Buzzer 40
18. Other modules 42
19. Pads 44
What’s next 46
Page 4
Introduction to mikromedia 7 for STM32F4
The mikromedia 7 for STM32F4 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 ARM® Cortex™-M4 STM32F407ZG 144-pin microcontroller. The mikromedia 7 for STM32F4
features integrated modules such as stereo MP3 codec, 7” TFT 800x480 touch screen display. The increased screen size is ideal
for displaying larger amounts of data. The board also contains
an accelerometer, microSD card slot, buzzer, IR receiver, RGB
LED diode, PIN photodiode, temperature sensor, 2.4GHz RF, WiFi,
Ethernet and CAN transceivers, 8 Mbit flash memory, RTC battery,
Li-Polimer battery charger, etc. The board also contains MINI-B
USB connector, power screw terminals, 2x5 JTAG connector, two
1x26 connection pads, ON/OFF switch and other. It comes with
an onboard mikroProg™ for STM32 programmer and debugger,
but can also be programmed with external programmers, such
as ST-LINK programmer.
System Specification
power supply
Via USB cable (5V DC) or via connector
(5-12V DC)
power consumption
~108 mA with empty MCU via USB cable
(when on-board modules are disabled)
board dimensions
179 x 111 mm
~(7 x 4.37 inch)
weight
~250g
(0.55 lbs)
Page 5
Package Contains
Damage resistant protective box Development board
User’s guide Schematic
Roll USB and ethernet cables and headers
Distancers, plastic pen and microSD card
1 2 3
4 5 6
Page 6
1. Power Supply
Figure 1-3: Battery power supply
Figure 1-4: Adapterconnector power supply
Figure 1-1:mikroProg power supply
Figure 1-2:USB power supply
The mikromedia 7 for STM32F4 board can be powered in four different ways: via two USB connectors using MINI-B USB cable provided
with the board (CN4 or CN11), via battery connector using Li-Polymer battery (CN5) or via adapter connector using adapter power supply
(CN3). After you plug in the appropriate power supply turn the power switch ON (SW1). The USB connection can provide up to 500mA of
current which is more than enough for the operation of all on-board modules and the microcontroller as well. If you decide to use external
power supply via screw terminals, voltage values must be within 5-12V DC range. Power LED ON (GREEN) indicates the presence of power
supply. On-board battery charger circuit MCP73832 enables you to charge the battery over USB connection or via screw terminals. LED diode (RED) indicates when battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.
Page 7
Vusb_OUT
Vdc
Vbat_IN
Charging Current approx. 250mA
E10 10uF
321 STAT
VSSVBAT VDD
PROG
U11
MCP73832
Vbat_IN
CN5
R42
10K
R46
10K
R41100K
L2
1.5uH
R431K
C66
22uF
C71
100n
F C70
10pF
C67
22uF
C68
22uF
R4510K
R50100K
L3
1.5uH
R5212K C74
22uF
C77
100n
F C78
10pF
C75
22uF
C76
22uFR534K7
VCC-5V
VCC-3.3V
VCC-5V
R3810KR39
10K
USB-PSW
E710uF
1
2
3
OUT
GND
IN5
4 OCEN
U6
TPS2041B
VCC-3.3V
E810uF
USB-VBUS_ER
E910uF
USB-ID
USB-VBUS
R471K
Vusb_IN
D5B340A
D2B340A
D4
PMEG3010ERD
3PM
EG30
10ER
1098765
4321
PG
VINL1
ENPS
VAUXGND
FB
L2VOUT
PGND
U7
TPS63060
1098765
4321
PG
VINL1
ENPS
VAUXGND
FB
L2VOUT
PGND
U9
TPS63060
USB-IDUSB-VBUSUSB-PSWUSB-VBUS_ER VBUS_ER
PSWVBUSID
USB
R491M
R511M
R541M
BAT-VSENSE BAT-VSENSE
USB-CONN
R551K
C73
22uF
C6922uF
POWER
C72
100nF
C79
100nF
VCC-3.3V
12345GND
IDD+D-
VBUS
CN4
USB M INIB
C138100nF
PWR-EN
R101
100K
M1DMP2160UW
M2DMP2160UW
C139
1uF
C140
10nF
C141
100pF
C142
1uF
C143
10nF
C144
100pF
LD1
R44470R
1
23
R1
R2
Q1PDTC114EU
R210K
VCC-3.3V
DC-VBUS# DC-VBUS#
VIN
V_INPUT
FP5
R1321MC167
3.3nF
D9
ESDA5V3L
123
CN3
PJ-002AH-SMT
VCC-PROG
D10PMEG3010ER
R572K2
R6010K
BAT-STAT
R6110K
R591K
R5610K
VCC-3.3V
C81
10uF
LD2CHARGE
V_INPUT
V_INPUT
M5DMP2305U
D11
BAT43
1 2 3
4 5 6SW1
JS20
2011
AQN
USB-GND
12345GND
IDD+D-
VBUS
CN11
PROG USB MINIB
FP7
R1341M
C156
3.3nF
E1110uF
USB-STLink-GND
VCC-PROG
R623K9
5
4
C80
2.2uF C157
2.2uF
C159
2.2uF
1
2
3
VIN
GND
VOUT5
4 ENPWRGD
U21 MCP1755
C160
470pF
V_INPUTVCHG
D6PMEG3010ER
D7PMEG3010ER
Vusb_IN VCC-PROG
BAT-STAT
Figure 1-4: Power supply schematic
Page 8
2. STM32F407ZG microcontroller
APB2
84M
Hz
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
42M
Hz
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 1SRAM 16KB
USB OTG HSAHB BUS - MATRIX
POWER / RESET
GPIO PORT(A,B,C,D,E,F,G,H,I) ARM Cortex™-M4
STM32F407ZG
Key microcontroller features- Up to 210 DMIPS Operation (168MHz);
- 1 MB of Flash memory;
- 192 + 4 KB of SRAM memory;
- up to 140 I/O pins;
- 16/32-bit timers
- 16MHz internal oscillator, 32kHz RTCC, PLL;
- 4xUART, 3xSPI, 3xI2C, 2xCAN, 3xADC, 3XADC etc.
- Ethernet, USB etc.
The mikromedia 7 for STM32F4 development board comes
with the 144-pin ARM® Cortex™-M4 STM32F407ZG
microcontroller. This high-performance 32-bit microcontroller
with its integrated modules and in combination with other
onboard modules is ideal for multimedia applications.
Figure 3-1:STM32F407ZG ARM® Cortex™-M4 Microcontroller
The microcontroller can be programmed in two ways:
1. Using onboard mikroProg™ for STM32 programmer
2. Using external programmers for STM32 (like ST-LINK)
3. Programming the microcontroller
Page 9
Page 10
Figure 3-10:mikroProg™ JTAG connector
Using mikroProg™ programmer
The microcontroller can be programmed with onboard
mikroProg™ for STM programmer and mikroProg Suite™ for ARM® software. Connection with PC is established over an PROG
USB connector. For proper insertion of the MINI-B USB cable refer
to Figure 3-9. Signalization LED (LINK) is also provided on the
opposite side of the PROG USB connector. It is also possible to
program the microcontroler with external porogrammers, via 2x5
JTAG connector (CN1) with an appropriate adapter, Figure 3-10.
Figure 3-9:On-board mikroProg™ programmer
Page 11
VCC-3.3V
VCC-3.3V
R1402K2
LED_LINK
LINK
R126 22
R127 22
USB-PROG NUSB-PROG P
R133
100K
12345GND
IDD+D-
VBUS
CN11
PROG USB MINIB
FP7
R1341MC156
3.3nF
E1110uF
I/O11
GND2
I/O23
I/O16
I/O24VBUS5
U24 USBLC6-2SC6
USB-STLink-GND
ST-LINK
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
TMS-SWDI OTCK-SWCLK
RESET #
68109
75
1 23 4
CN1
JTAG
OSC32_I NO SC32_OU T
VCC -3.3V
O SC_ I NOSC_OU T
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
TMS-SWDI O
TCK-
SWC
LK
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
STM32F407ZG
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T VCC -3.3V
C11
810
0nF
C11
510
0nF
C11
610
0nF
C11
710
0nF
VCC -3.3V
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
VCC -3.3V
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
TCK/SWCLKRESET#TM S/SWDIO
Figure 3-11: mikroProg™ JTAG connector connection schematic
Page 12
mikroProg Suite™ for ARM® software
Figure 3-1: mikroProg Suite™ for ARM® window
mikroProg™ for STM32 programmer requires special programming software called
mikroProg Suite™ for ARM®. This software is used for programming ALL of STM32 ARM®
Cortex-M3™ and Cortex-M4™ microcontroller families. It features intuitive interface and
SingleClick™ programming technology. Software installation is available on following link:
www.mikroe.com/downloads/get/1809/mikroprog_suite_for_arm.zip
After downloading, extract the package and double click the executable setup file to start
installation.
Quick Guide
1. Click the Detect MCU button in order to recognize the device ID.
2. Click the Read button to read the entire microcontroller memory. You can click the Save button to save it to the target HEX file.
3. If you want to write the HEX file into the microcontroller, first make sure to load the
target HEX file using the Load button. Then click the Write button to begin programming.
4. Click the Erase button to clear the microcontroller memory.
Page 13
Software installation wizard
1. Start Installation
4. Choose destination folder
2. Accept EULA and continue
5. Installation in progress
3. Install for all users
6. Finish installation
Page 14
RTC Battery
Reset Button
The board is equipped with reset button, which is
located on the front side of the board. If you want to
reset the circuit, press the reset button. It will gen-
erate low voltage level on the microcontroller reset
pin (input). A reset can also be externally provided
through the pin 26 on the side headers.
4. RTC Battery and Reset Button
mikromedia 7 for STM32F4 features an RTC
battery holder for microcontroller RTC module.
Battery is used as alternate source of power, so
the RTC module can continue to keep time while
the primacy source of power is off or currently
unavailable. Three types of coin battery are
supported: CR1216, CR1220 and CR1225.
Page 15
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
RESET #
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
58575655545352463635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
HDR 2
M1X26
VdcVCC -3.3V
VCC -3.3V
R6910K
R70
220
C99100nF
RESETT1
RESET #
RESET #2728293031323334353637383940414243444546474849505152
STM32F407ZG
Figure 4-1: Reset circuit and RTC battery schematic
Page 16
Figure 5-1: Crystal oscillators and 2.048V reference
5. Crystal oscillators and 2.048V reference
The board is equipped with 1 25MHz crystal oscillator (X5) circuit that
provides external clock waveform to the
microcontroller OSCO and OSCI 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. The board also
contains 2 32.768 kHz crystal oscillator (X4) which provides external clock for
internal RTCC module. Microcontroller ADC
requires an accurate source of reference
voltage signal. That is why we provide the
external 3 voltage reference to the
microcontroller VREF pin which is 2.048V.
1 2 3
Page 17
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
1
23
VI N
VOU TVSS
REF1MAX6106EUR +
VCC -3.3V
C1051uF
C104100nF
123
J4
C11
310
nF
C11
21u
F
REF
VCC
-3.3
V
STM32F407ZG
Figure 5-2: Crystal oscillator and voltage reference schematic
Page 18
Figure 6-1: microSD card slot
6. microSD Card Slot
Board contains 1 microSD card slot for using 2 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. Ferrite and capcitor are provided to compensate the voltage and current
glitch that can occur when pushing-in and pushing-out microSD card into the socket.
Proper insertion of the microSD card is shown in Figure 6-1.
1
2
Page 19
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
SD-C
D#
SD-DAT 0SD-DAT 1
SD-D
AT2
SD-D
AT3
SD-C
MD
SD-C
LK
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C118
100n
F
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C120
100n
F
C12
110
0nF
C12
210
0nF
FP3
FERRIT E
VCC -3.3V VCC-MMC
VCC-MMC
SD-CD#
C106100nF
mic
roS
DC
AR
D S
LOT
3
8
12
4567
DAT 3CMD+3.3 VCLKGN DDAT 0
CD
GN
D
DAT 2
DAT 1
CN6
R7910K
SD-DAT 0SD-DAT 1
SD-DAT 2SD-DAT 3SD-CMD
SD-CLK
R80 27R81 27R82 27
R83 27
R84 27R85 27
C15222uF
STM32F407ZG
Figure 6-2: microSD Card Slot module connection schematic
The development system features a 7‘‘ TFT 800x480 display covered with a
resistive touch panel. Together they form
a functional unit called a touch screen, (Figure 7-1). It enables data to be entered
and displayed at the same time. The TFT
display is capable of showing graphics in
262K diffe rent colors.
Figure 7-1: Touch Screen
7. Touch Screen
Page 20
Page 21
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
TP-INT#
I2C
1_SC
LI2
C1_
SDA
TFT-
RST
#
TFT-
WR
#TF
T-R
D#
TFT-
D/C
#
TFT-
CS#
TFT-
GPI
O0
TFT-
D0
TFT-
D1
TFT-D2TFT-D3TFT-D4TFT-D5TFT-D6TFT-D7
TFT-
D8
TFT-
D9
TFT-
D10
TFT-
D11
TFT-
D12
TFT-
D13
TFT-
D14
TFT-
D15
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VDD
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3VVCC -3.3VVCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C120
100n
F
C12
110
0nF
C12
210
0nF
C3
1uF
C4
1uF
C5
1uF
C6
1uF
C7
1uF
C8
1uF
C9
1uF
C10
1uF
C11
1uF
C12
1uF
C13
1uF
C14
1uF
C15
1uF
C16
1uF
C17
1uF
C18
1uF
C19
1uF
VCC -1.2V
C21
100nF
C22
100nF
C23
100nF
C24
100nF
C25
100nF
C26
100nF
C27
100nF
C28
100nF
C29
100nF
VCC -3.3V
C30
100nF
C31
100nF
C32
100nF
C33
100nF
C34
100nF
C35
100nF
C36
100nF
C37
100nF
C38
100nF
VCC -3.3V
C20
1uF
C41
2.2uF R11100K
E110uF
R10100K
R12100K
VCC -3.3V VCC -1.2V
1
2
3
I N
GN D
OU T5
4EN AD J
U3
AP7331-ADJ
234
5 6 7
109
8
11112
13141516
Y-IN TA0SCLK
SDA
TVC
CSD
IN
C
ModeGN D
I N2I N3
X+Y+X- Vio
811STMP E
U22
VCC -3.3V
TP-INT#
R11710K
123
J5
VCC -3.3V
TP-ADR
C163
100nF
C164
100nF
VCC -3.3V
C165
1uF
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108
107
102
103
104
105
73
30292827
3433 58575655545352463635 42 43 44 4537 5 09
48 49
1112
32
72
6968676665
6463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47
71
31
51
702625
767574
SSD196381828384858687888990919293949596
979899100
LDA
TA17
VDD
LCD
VSS
VDD D
VDD
LCD
VSS
VSSVDD DD0D1
LDATA 9LDATA10LDATA11
VDD
D
LLIN
ELF
RA
ME
GA
MAS
0G
AM
AS1
VDD
LCD
VSS
LSH
IFT
VDD
D
D21D22D23
VDD D
D18D19
VDD LCDVSS
VDDI OVSS
D17
VDD
IO
VSSVDDI O
VSS
D20
VDDI O
LDATA23
VSSXTAL_I NVDD DVSSVSSPLLVDDP LL
LDATA 7LDATA 8
VSS
VDD D
D4D3
GPI
O2
D16
VDD
IO
VDD DVSS
VDD LCDVSSVDD DXTAL_OU T
LDEN
TE
VDD LCD
LDA
TA15
VSS
VDD
LCD
VSS
GPI
O3
GPI
O1
VDD
LCD
LDA
TA14
LDATA18
VSSVDDI OCLK
GPI
O0
VDD
D
LDA
TA16
VDD
D
LDATA19
LDATA20LDATA21LDATA22
VSS
D2
LDAT
A13
LDA
TA12
LDATA 6
LDATA 3
LDATA 5
VDD DVSS
VDD LCD
LDATA 4
LDATA 2LDATA 1LDATA 0
VDD D
VSS
D15
VDD
IOD
11D
12D
13D
14
VDD
D
RES
E T#
VDD
DV
SSVD
DIO
CS #
R/W
# (
WR
#)
VDD
D
CO
NF
D/C
#E
(RD
#)
D7
D9
VSS
VDD
DD
10D8
D6
D5
VDD
IOV
SS
101
PWM
U2
R5 10K
VCC -1.2V VCC -3.3V
R7
10K
TFT-
RST
#
LCD
-PW
M
LCD-B0LCD-B1LCD-B2LCD-B3LCD-B4LCD-B5
LCD-B6LCD-B7LCD-G0LCD-G1LCD-G2LCD-G3
LCD
-G4
LCD
-G5
LCD
-G6
LCD
-G7
LCD
-R0
LCD
-R1
LCD-R2LCD-R3
LCD-R4LCD-R5LCD-R6LCD-R7
LCD
-DC
LKLC
D-H
SYN
CLC
D-V
SYN
C
LCD
-DE
TFT-
WR
#TF
T-R
D#
TFT-
D/C
#TF
T-C
S#
TFT-
TE
TFT-D0TFT-D1TFT-D2TFT-D3TFT-D4
TFT-
D5
TFT-
D6
TFT-
D7
TFT-
D8
TFT-
D9
TFT-
D10
TFT-
D11
TFT-
D12
TFT-
D13
TFT-
D14
TFT-
D15
X1
10MHz
C3922pF
C4022pF
XTAL_I N
XTAL_OU T
R8 220
TFT-
GPI
O0
R9 100K
VCC -3.3V
LCD
-R0
LCD
-R1
LCD
-R2
LCD
-R3
LCD
-R4
LCD
-R5
LCD
-R6
LCD
-R7
LCD
-G0
LCD
-G1
LCD
-G2
LCD
-G3
LCD
-G4
LCD
-G5
L CD
-G6
LCD
-G7
LCD
-B0
LCD
-B1
LCD
-B2
LCD
-B3
LCD
-B4
LCD
-B5
LCD
-B6
LCD
-B7
LCD
-DC
LK
LCD
-HSY
NC
LCD
-VSY
NC
LCD
- DE
TP-X
+TP
-Y+
TP-X
-TP
-Y-
2 1512 3511 363 4 5 6 147 8 9 13 3310 37 38 39 403 41 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 0 31 32
VLED
+VL
ED-
1
2
3
SW
GN D
VI N5
4FBEN
U1
TPS61041
L1 10uH
C210uF
D1
PMEG3010E R
VCC-5V
DZ 1MMSZ5246B
R134
LCD
-PW
M
R30R
C1
100nF
FP1
FERRIT E
VLED
+VL
ED-
TFT-
TE
C942.2nF
C161
2.2nF
C162
2.2nF
C95
2.2nF
TP-X
-TP
-Y+
TP-X
+
TP-Y-
I 2C1_SCL
I2C
1_SC
L
VLED
-VL
ED+
GN
DVD
DR
0R
1R
2R
3R
4R
5R
6R
7G
0G
1
HSY
NC
DIS
PD
CLK
GN
DB7B6B5B4B3B2B1B0G
7G
6G
5G
4G
3G
2
VSYN
CD
EN
CG
ND
X_R
Y_B
X_L
Y_T
TFT 1 FRD070IF40-A-T
CN8
STM32F407ZG
Figure 7-2: Touch Screen connection schematic
Page 22
Figure 8-1: On-board VS1053
MP3 codec
8. Audio Module
mikromedia 7 for STM32F4 features stereo audio codec 1 VS1053. This module enables audio reproduction and
sound recording by using 2 stereo headphones with microphone connected to the system via a 3 3.5mm connector (CN2). All functions of this module are controlled
by the microcontroller over Serial Peripheral Interface (SPI).
IN and OUT channels are also provided on side headers (HDR2).
1
3
2
Page 23
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
SPI2_SCKSPI2_MISOSPI2_MOSI
MP3-CS#
MP3-DREQMP3-RST #
MP3-DCS
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VDD
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
R29
R10227
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3VVCC -3.3VVCC -3.3V
C118
100n
F
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C120
100n
F
C12
110
0nF
C12
210
0nF
LEFT
RIGH T
C48
10nF
C46
47nF
C47
10nF
GBUF
C65100nF
C64100nF
C63100nF
C57100nF
C58100nF
C56100nF
C60100nF
C61100nF
C62100nF
VCC -1.8V
C59
2.2uF
VCC -3.3V
E610uF
234567
1112
13 14
25
2423222118171615
8
1
19
910 27
26
20
282930313233343536
373839404142434445464748
MICP/LN1MICNXRESETDGND 0CVDD 0I OV DD 0CVDD 1DRE QGPIO2GPIO3GPIO6GPIO7
XDC
S/BS
YNC
IOVD
D1
VC0
DG
ND
1XT
AL0
XTA
L1IO
VDD
2D
GN
D2
DG
ND
3D
GN
D4
XCS
CVD
D2
GPIO5RXTX
SCLKSI
SOCVDD 3XTES TGPIO0GPIO1
GN DGPIO4
AG
ND
0A
VDD
0
AVD
D2
AG
ND
1A
GN
D2
AG
ND
3LN
2
LEFT
RC
AP
AVD
D1
GBU
F
RIG
HT
VS1053
U4
1
2
3
I N
GN D
OU T5
4EN AD J
U5
AP7331-ADJ
R35
100KR36
27K4
R37
1K
R23
10 R24
10 R25
10
R19 10
R22 10
VCC -1.8VVCC -3.3V
LEFT
RIG
HT
GBU
F
C44 1uF
R3310K
GPI
O
GPI
O
R2610K
VCC -3.3V
R28 27MP3-SOUT
MP3-SINMP3-SCLK
MP3
-DC
S
MP3-DREQ
MP3-RST #MICN
MP3
-CS#
X2
12.288MHz
R34 1M
C5522pF
C5422pF
R2710K
R3210K
VCC -3.3V
E5
10uF
VCC -3.3V VCC -1.8V
3
1
2
4
CN2
CUI_S J-43514-SMT
R17 1K
R181K
VCC -3.3V
LN-I
N_R
C49100nF
LN-IN _L
MIC P
LN-IN_R
C45 100nF
E3
10uF
E2
10uF
R15
470 C433.3nF
R16100K
R13
470 C423.3nF
R14100K
LINE- OU T_ L
LINE- O UT_ R
E4
10uF
C501uF
C511uF
C53
10nF
C52
10nF
R31470
R30470
MP3-DCSMP3-DREQMP3-RST #
MP3-CS#
LINE-IN _R
LINE-IN _L
R20
10 R21
10
123
J1
MIC/LN-IN_ LMIC P
LN-IN _L
MIC/LN-IN_ L
C132100nF
HDR 2
M1X26
Vdc
VCC -3.3V
SPI2_SCKSPI2_MOSISPI2_MISO
LINE- O UT_ RLINE- OU T_ L
LINE-IN _LLINE-IN _R
STM32F407ZG
2728293031323334353637383940414243444546474849505152
Figure 8-2: Audio module connection schematic
ARM® Cortex™-M4 STM32F407ZG
microcontroller has integrated USB
module, which enables you to implement
USB communication functionality to your
mikromedia board. Connection with target
USB host is establish over 1 MINI-B USB
connector. For proper insertion of the 2
MINI-B USB cable refer to Figure 9-1.
Figure 9-1:Connecting USB cable to
MINI-B USB connector
9. USB DEVICE connection
Page 24
1
2
Page 25
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
USB-D_NUSB-D_P
USB-I DUSB-VBUS
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
USB-D_NUSB-D_PUSB-ID
USB-VBUS
R471K
Vusb_IN
12345GND
IDD+D-
VBUS
CN4
USB MINIB
FP5
R1321MC167
3.3nF
D9
ESDA5V3L
I/O11
GND2
I/O23
I/O1 6
I/O2 4VBUS 5
U23 USBLC6-2SC6
USB-GND
R14522R
R14622R
STM32F407ZG
Figure 9-2: USB DEVICE module connection schematic
10. USB HOST connection
Figure 10-1: Connecting USB cable to MINI-B USB connector via USB adapter
mikromedia 7 for STM32F4 can also
be used as USB HOST which enables
microcontroller to establish a connection
with the target device (eg. USB keyboard,
USB mouse, etc). The board provides
necessary power supply to the target
via TPS2041B IC. In order to enable the 1 USB HOST cable to be connected
to the board, it is necessary to use the
appropriate 2 MINI-B USB to USB type
A adapter. For proper insertion refer to
Figure 10-1.
When the device is working in
USB HOST mode, it must not be
mounted to other USB HOST.
NOTE
Page 26
1
2
Page 27
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
USB-D_NUSB-D_P
USB-I DUSB-VBUS
USB
-PSW
USB
-VBU
S_ER
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C118
100n
F
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C120
100n
F
C12
110
0nF
C12
210
0nF
Vusb_OU T
VCC-5V
R3810KR39
10K
USB-PSW
E710uF
1
2
3
OU T
GN D
I N5
4O CEN
U6
TPS2041B
VCC -3.3V
E810uF
USB-VBUS_E R
E910uF D3
PMEG3010ER
VCC -3.3V
C138100nF
USB-D_NUSB-D_P
USB-ID
USB-VBUS
R471K
Vusb_IN
12345GND
IDD+D-
VBUS
CN4
USB MINIB
FP5
R1321M
C167
3.3nF
D9
ESDA5V3L
I/O11
GND2
I/O23
I/O1 6
I/O2 4VBUS 5
U23 USBLC6-2SC6
USB-GND
R14522R
R14622R
STM32F407ZG
Figure 10-2: USB HOST module connection schematic
Page 28
11. Accelerometer
Figure 11-1: Accelerometer module
Onboard ADXL345 accelerometer is used
to measure acceleration in three axis: x,
y and z. The accelerometer 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. There is an option to select the
alternate accel address with jumper J3.
Page 29
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
I2C
1_SC
LI2
C1_
SDA
ACC
EL-I
NT
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
C98100nF
ACCEL-ADR123
J3
VCC -3.3V
VCC -3.3V
ACCEL -I NT
VCC -3.3V
ACCEL -I NT
R6610K
VCC -3.3V
8
109
111213
14
123456
7
VCCGN DResGN DGN DVCC
CS INT 1
INT 2NCResAD DSDASC
L
U14
ADXL34 5
C133100nF
VCC -3.3V
I 2C1_SDAI 2C1_SCL
I 2C1_SDA
I 2C1_SCL
STM32F407ZG
Figure 11-2: Accelerometer connection schematic
Page 30
12. Flash Memory
Figure 12-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 31
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
SPI2_SCKSPI2_MISOSPI2_MOSI
O SC_ I NOSC_OU T
SF_C
S
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
R2927
R10227
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
C11
810
0nF
C11
510
0nF
C11
610
0nF
C11
710
0nF
VCC -3.3V
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
VCC -3.3V
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
123
54678
CSSDOWPGN D SDI
SCKHOLD
VCC
U20
EN25F80
R100 27
VCC -3.3VVCC -3.3V
R9910K
C128100nF
SF_CSSPI2_MISO
SPI2_MOSISPI2_SCK
STM32F407ZG
Figure 12-2: Flash memory module connection schematic
mikromedia 7 for STM32F4 board features RF transceiver chip with
2.4GHz chip antenna. It is suitable for wireless operation in the world
wide ISM frequency band at 2.400 - 2.4835 GHz with air data rate up
to 2Mbps. RF transceiver module is connected to the microcontroller
via the Serial Peripheral Interface (SPI). This RF transceiver module
is widely used for wireless PC peripherals, remote controllers,
VoIP headsets, game controllers, sensors, home and commercial
automation, active RFID, toys and many more.
13. RF Transceiver
Figure 13-1:RF transceiver antenna
Figure 13-2: RF transceiver module
Page 32
Page 33
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
SPI2_SCKSPI2_MISOSPI2_MOSI
RF-
CS#
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
R2927
R10227
RF-
INT#
RF-
CE
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
R4022K
C82
33nF
C91 22pF
C92 22pF
R641M
A1Rufa_2.4 GHz _LE FT
C852.2nF
C864.7pF
C83
1.5pF
C84NP
L58.2nH
L6
2.7nH
L4
3.9nHRF-CS#
RF-INT#
R4810K
R6310K
RF-CE2345
6 7 1098
1
1112131415
1617181920
CECSNSCKMOSIMISO
IRQ
VDD
VSS
XC2
XC1
VDD _PAANT1ANT2
VSSVD D
VSS
DV
DD
VSS
VDD
IREF
nRF24L01P
U8
X3 16MHz
VCC-RF
R610K
C90
100n
F
C88
100n
F
C89
100n
F
VCC-RF
C87
10uF
FP2
FERRIT E
VCC -3.3V
R103 27
SPI2_MISOSPI2_MOSISPI2_SCK
STM32F407ZG
Figure 13-3: RF transceiver module schematic
Page 34
mikromedia 7 for STM32F4 is equipped with SPWF01SA, a WiFi
module with an integrated antenna from STMicroelectronics. The
module packs a 2.4 GHz IEEE 802.11 b/g/n transceiver and its
own STM32 ARM Cortex-M3 MCU that offloads the workload from
the main microcontroller on the mikromedia. Full featured TCP/
IP protocol stacks are also integrated. A BOOT jumper (zero ohm
resistor) for updating the firmware on the WiFi module is located
nearby, between the module itself and the WiFi silkscreen markings.
14. Wi-Fi
Figure 14-2: Wi-Fi 802.11b/g network porocessor
Figure 14-1: 2.4GHz ceramic chip antenna
Page 35
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
OSC_INOSC_OUT
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
C11
810
0nF
C11
510
0nF
C11
610
0nF
C11
710
0nF
VCC -3.3V
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
VCC -3.3V
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
PADSHDR-GPIO1HDR-GPIO2 HDR-GPIO1
HDR-GPIO2
123 J17
123 J16
WiFi-CTS
WiFi-RTS
HDR-GPIO1
HDR-GPIO2GPIO2
GPIO1
GN
D25 26 27 28 29 30
GPIO31BOOT02RESETn3GPIO84GPIO105TXD16GPIO97RXD18CTS1_DN9RTS1_DP10GPIO1111GPIO7
13GPIO12
12
GPIO1414
GPIO1315
GPIO016
GPIO117
GPIO418
GPIO219
GPIO520
GPIO1521
GPIO622
GND23
3V324
U25SPWF01SA
LD8
LD10
R143470
R1442K2
WiFi-RX
WiFi-TX
WiFi-RESET
VCC-3.3V
R1414K7
BOOT
VCC-3.3V
R13510K
WiFi-RTSWiFi-CTS
C158
100nF
VCC-3.3VVCC-3.3V
GPIO1
GPIO2
123
J14
123
J15
PC7-HDR-UART2_RX
PC6-HDR-UART2_TX
HDR-UART2_RX
HDR-UART2_TX
WiFi-RX
WiFi-TX
PC7-HDR-UART2_RXPC6-HDR-UART2_TX
E12
10uF
STM32F407ZG
Figure 14-3: Wi-Fi connection schematic
Page 36
Figure 15-2: Ethernet RJ-45
connector
The development board features an Ethernet transceiver module
LAN8720A. It is ideal for local area networking (LAN). If you want to
establish connection with a computer, router or other devices, the
development board also contains a standard RJ-45 connector.
Communication over Ethernet is based on data packets called
frames. Each frame contains source and destination addresses
and error-checking data so that damaged data can be detected
and retransmitted. Signalization LEDs (green and yellow) are on
the opposite side of the board.
15. Ethernet transceiver
Figure 15-1: Ethernet transceiver module
(LAN8720A)
Page 37
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
LAN-RST #LAN-I NT#
LAN
-CR
S_D
V
LAN-CLK
LAN
-RXD
1LA
N-R
XD0
LAN-MDIO
LAN
-TXD
0
LAN
-TXE
N
LAN-MDC
LAN
-TXD
1
LAN-CLK
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG1 0
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
O SC_ I NOSC_OU T
VCC -3.3V
C118
100n
F
C11
510
0nF
C11
610
0nF
C11
710
0nF
VCC -3.3V
C11
910
0nF
C120
100n
F
C12
110
0nF
C12
210
0nF
VCC -3.3V
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C130
10nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
23456
7 11 12
1314
24 23 22 21
18171615
8
1
19
9 1020
VDD 2A
LED 1LED 2
XTAL 2XTAL 1VDD CR
RXD
1R
XD0
VDD
IOR
XER
CR
S_D
VM
DIO
MDCnIN TnRSTTXE NTX D0TX D1
TXP
RXP
Rbi
as
RXN TX
NV
DD
1A
LAN8720AGN D
U19
LAN
-TX_
PLA
N-T
X_N
LAN
-RX_
PLA
N-R
X_N
R88
12K1
FP4
LAN-LED 1LAN-LED 2
LAN-TX D1LAN-TX D0LAN-T XENLAN-RST #LAN-I NT#
LAN
-RXD
1LA
N-R
XD0
LAN
-CR
S_D
V
LAN-MDC
LAN
-MD
IO
C137100nF
C1362.2uF
R95 1.5K
R96
27R
9727
R98
27
R9027R9127R9227
LAN-CLK
R9410K
C135
100nF
VCC -3.3V
VCC -3.3V
LD6
LD5
R89220
R93220
VCC -3.3V
ACTIVE
LINK
R10749.9
R10849.9
R10949.9
R11049.9
FP6
C9610nF
C9710nF
VCC-3.3V
LAN-RX_P
LAN-RX_N
LAN-TX_P
LAN-TX_N
TO+1
TBO2
TO-3
RO+6
RBO7
RO-8
TI+ 16
TPI 15
TI- 14
RI+ 11
RBI 10
RI- 9
T2
LP1102NL
A11
K12
A23
K24 A3 5K3 6A4 7K4 8U12
SLVU2.8-4
RJ45-TX_P
RJ45-TX_N
RJ45-RX_N
RJ45-RX_P
R11275
C1451000pF 1210
RJ45-GNDR
115
1M 1
206
RJ45-GND
C129
4700
pF 1
812
R11175
R11475
R11375
TX+1
TX-2
RX+3
T1A4
T1B5
RX-6
T2A7
T2B8
S
CN9 LPJE8801DNL
STM32F407ZG
Figure 15-3: Ethernet transceiver module schematic
16. CAN communication
Controller Area Network (CAN or CAN bus) is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. CAN is a message-based protocol, designed specifically for automotive applications but now also used in other areas such as industrial automation and medical equipment. mikromedia 7 for STM32F4 is equipped with SN65HVD230 – a 3.3V CAN transceiver and a pair of screw terminals which provide microcontrollers with integrated CAN controller with the necessary physical interface for CAN communication. Make sure to correctly connect negative and positive differential communication lines before using this module.
Node termination jumperIf the board is the first and the last node of the CAN network, then TERMINATION jumper should be placed. If the board is a node in the middle, the jumper should be removed.
Figure 16-2: CAN transceiver with Node
TERMINATION jumper
Figure 16-1: CAN connector
Page 38
Page 39
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
VCC -3.3V
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
VCC -3.3V
C11
810
0nF
C11
510
0nF
C11
610
0nF
C11
710
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
PD0-
HD
R-C
AN_R
XPD
1-H
DR-
CAN
_TX
123 J13
123 J12
CAN_RX
CAN_TX
HDR-GPIO3
HDR-GPIO4
PD0-HDR-CAN_RX
PD1-HDR-CAN_T X
CANLCANH
123
54678
TXDVSSVDDRXD Vref
CANLCANH
Rs
U10
SN65HVD230 R6510C93
100nF
VCC-3.3V
R106
100R
CANHCANL TERMINATION
CAN_RX
CAN_TX
CN14
GND
3.3V
VCC-3.3V
CN7
0R
PADSHDR-GPIO3HDR-GPIO4 HDR-GPIO3
HDR-GPIO4
STM32F407ZG
Figure 16-3: CAN connection schematic
Page 40
17. Buzzer
Figure 17-1:Buzzer module
The board is also equipped with a piezo buzzer. It is an electric
component which can be used to create sound waves when
provided with electrical signal. Microcontroller can create sound
by generating a PWM signal. Frequency of the signal determines
the pitch of the sound and duty cycle of the signal can be used to
increase or decrease the volume.
Page 41
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu BU
ZZER
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
R741K
VCC-5V
BUZZE R
PZ1BUZZE R
1
23
R1
R2
Q8PDT C114EU
STM32F407ZG
Figure 17-2: Buzzer module schematic
Page 42
The board also contains additional peripherals that can be very
useful, such as 1 PIN photodiode, 2 IR receiver, 3 RGB led
diode and 4 analog temperature sensor. PIN photodiode is a
type of photo detector capable of converting light into the voltage
with high sensitivity and speed of response. It is connected to the
microcontroller analog pin. IR receiver is used for infrared remote
control systems. The demodulated output signal obtained from IR
module can be directly decoded by a microcontroller. Many of existing
standard data formats are supported. RGB (Red, Green , Blue) diode is suitable for light indication in your design. Each of colour is driven
separately by transistor. The analog temperature sensor converts
temperature to analog voltage and it is directly connected to the
microcontroller analog pin. Temperature measurement range of
mikromedia 7 for STM32F4 board is from -20°C to 70°C.
18. Other modules
1
4
2
3
Page 43
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
RC
5_TX
AN-PD
LED
_RLE
D_G
LED
_B
AN-TEM P
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
58575655545352463635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
BAT 13000T R
OSC32_I NO SC32_OU T
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
VCC -3.3V
C1004.7uF
1
23
R1
R2
Q5PDT C114EU
1
23
R1
R2
Q6PDT C114EU
1
23
R1
R2
Q7PDT C114EU
R712K2
R723K3
R732K2
VCC-5V
VCC-5V
VCC-5V
1
23
VD D
VOU TGN D
U15
MCP9700A
VCC -3.3V
C102100nF
C103100nF
VCC -3.3V
4321
U16
TSO P6238
C101100nF
R75
100
LD4
PD15
12
38
4
U17ALM358
R7727K4
VCC -3.3V
5
67
U17BLM358
R76100K
R781M
C149100nF
R4150K
LD3
LD3
LD3
LED_B
LED_G
LED_R
RC5_T X
AN-TEM P
AN-PD
STM32F407ZG
Figure 18-1: Other modules schematic
Page 44
19. Pads
Many microcontroller pins are available for further connectivity via two 1x26 rows of connection pads
on both sides of the board. They are designed to match with mikromedia 7 SHIELD for STM32F4.
26. GNDVDC25. 3.3VGND
20. PB5PC6
23. NCPB6
19. PA6PC718. PA5PF0
21. PF7PA3
17. PA15PF116. PD1PF3
24. NC.PB7
22. PF2PD5
15. PD0PE214. PB14PE113. PB15PE0
1. 5VRST
12. PB13PE611. PB12PE510. PC13PD159. PE4PD148. PC3PD137. PC2PD126. PC0R5. PB1L4. PB0R3. PA4L2. GND3.3V
Reset pin3.3V pwr.Audio out
Audio in
PWM lines
Interrupt lines
I2C2 lines
UART6 lines
UART2 lines
I2C1 linesGround
5-12V input 52.51.
46.
49.
45.44.
47.
43.42.
50.
48.
41.40.39.
27.
38.37.36.35.34.33.32.31.30.29.28.
5V pwr.Ground
Analog lines
GPIO
SPI2 lines
GPIO
SPI1 lines
GPIO
3.3V pwr.Ground
NC
PWM Interrupt I2C UART Analog lines SPI
Page 45
X5
25MHz
C11122pF
C11022pF
X4
32.768KHz
C10810pF
C10910pF
OSC32_I NO SC32_OU T
O SC_ I NOSC_OU T
VCC -3.3V
VCC -3.3V
VCC -3.3V
C11
810
0nF
C12
310
0nF
C12
410
0nF
C12
510
0nF
C12
610
0nF
C12
710
0nF
C13
010
nF
C13
11u
F
C13
44.
7uF
VCC -3.3V
C11
510
0nF
C11
610
0nF
C11
710
0nF
C11
910
0nF
C12
010
0nF
C12
110
0nF
C12
210
0nF
MP3HD R-LN_ O UT_ LHDR-LN_OUT_ R
HDR-LN_IN_ RHD R-LN_IN_ L
LINE-OUT_LLINE-OUT_RLINE-IN_LLINE-IN_R
R87 100K
R86 100K
C1072.2uF
C114 2.2uF
VCC -3.3VVbat_m cu
HD
R-I
NT0
HD
R-I
NT1
HD R-INT 2HD R-INT 3
HD
R-A
N0
HD
R-A
N1
HD
R-A
N2
HDR-AN 3
HDR-AN 4HDR-AN 5
HD R-PWM0HD R-PWM1
HD R-PWM2HD R-PWM3
HD R-PWM4HD R-PWM5
HD
R-C
AN
_RX
HD
R-C
AN
_TX
HD
R-U
AR
T1_R
X
HD
R-U
AR
T1_T
X
HDR-UART2_R XHDR-UART2_T X
HDR-I2C2_SCLHDR-I2C2_SDA
HDR-GPIO 1
HDR-GPIO 2
HD
R-S
PI1_
SS
HD R-SPI2_SS
O SC_ I NOSC_OU T
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
117
118
119
120
116
115
114
113
112
111
110
109
106
108107
102103104105
73
30292827
3433
5857565554535246
3635
42 43 44 4537 50
9
48 49
1112
32
7269686766656463
43
7877
2423
181716151413
5678
10
7980
12
22212019
6261605938 39 40 41 47 71
31
51 70
2625
767574
81828384858687888990919293949596979899100
PA1PA0VDD AVRE F+
PA6
PA5
PE6VBATPC13PC14
PB10
PE15
PE14
PG0
PC4
PA7
VDD
PF13
PF14
PF15
PC5
PB0
PG6PG5PG4
PG8
PG3PG2
VD DVSS
PE5PE4
PC8PC7PC6
VD DVSS
PG7
PF2
PC2
PH0PF10PF9PF8PF7PF6
VCA
P1PB
11
PE12
PF4
PF1PF0
VSS
PC9PA8
PE2PE3
PC1PC0NRSTPH1
PF11
PF12
PE13
PE9
PB1
PB2
PG1
VDD
PA3
PE7
VSS
PD15
VD DVSSPF5
PA2
PA4
PE8
PE11
PD14
VSSAVD DPC3
PF3
PC15
VDD
PE10
VDD
PD9
PB15
PB12PB13PB14
PD8
PD10PD11PD12PD13
PA9
PA11
VD DVSS
VCAP2PA13PA12
PA10
PG12
PG11
PG10
PG14
PG9
PD7
VSS
PD5
PB4
PB3
PG15
VD
DV
SS
PG13
PB5
PB6
PD6
VD
D
PD0
PC11
PA14
PA15
PC10
PC12
PD1
PD2
PD3
PD4
PB7
PB8
VD
DPD
R_O
NPE
1PE
0PB
9
BOO
T0
101
VSS
U18
R2927
R10227
BAT 13000T R
OSC32_I NO SC32_OU T
HD R-RST#
HD
R-I
2C1_
SCL
HD
R-I
2C2_
SDA
HD
R-SP
I1_S
CK
HD
R-SP
I1_
MIS
O
HD
R-SP
I1_
MO
SI
HDR-SPI2_SC KHDR-SPI2_ MISOHDR-SPI2_ MO SI
HDR-RST#
HDR-LN_OUT_LHDR-LN_OUT_R
HDR-LN_IN_RHDR-LN_IN_L
HDR2
M1X26
HDR-I2C1_SCLHDR-I2C1_SDA
HDR-UART1_RXHDR-UART1_TX
HDR-UART2_RXHDR-UART2_TX
HDR-PWM 0HDR-PWM 1HDR-PWM 2HDR-PWM 3HDR-PWM 4HDR-PWM 5
HDR-INT0HDR-INT1HDR-INT2HDR-INT3
HDR-I2C2_SCLHDR-I2C2_SDA
R68
4K7
R67
4K7
VCC-3.3V
VdcVCC-3.3V
VCC-3.3V
VCC-5V
HDR1
M1X26
HDR-GPIO3HDR-GPIO4
HDR-SPI1_SCKHDR-SPI1_M ISOHDR-SPI1_M OSI
HDR-SPI1_SS
HDR-AN0HDR-AN1HDR-AN2HDR-AN3HDR-AN4HDR-AN5
HDR-SPI2_SCK
HDR-SPI2_M ISOHDR-SPI2_M OSI
HDR-SPI2_SS
HDR-GP IO1HDR-GP IO2
HDR-GPIO5HDR-GPIO6
STM32F407ZG
1234567891011121314151617181920212223242526
2728293031323334353637383940414243444546474849505152
Figure 19-1: Connecting pads schematic
Page 46
Compiler
You still don’t have an appropriate
compiler? Locate ARM® compiler that
suits you best on our website:
www.mikroe.com/arm/compilers
Choose between mikroC™, mikroBasic™
and mikroPascal™ and download a fully
functional demo version, so you can
start building your first applications.
Visual TFT
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 enables you to quickly create
your GUI. It will automatically generate code
compatible with MikroElektronika compilers.
Visual TFT is rich with examples, which are
an excellent starting point for your future
projects. Download it from the link bellow:
www.mikroe.com/visualtft
You have now completed the journey
through each and every feature of
mikromedia 7 for STM32F4 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.
Find useful projects and tutorials on the
Libstock website (www.libstock.com).
Join our Forum (www.mikroe.com/
forum) and get help from a large
ecosystem of users.
What’s next?
DISCLAIMERAll 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.
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 hazardous 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.
TRADEMARKS
The MikroElektronika name and logo, mikroC™, mikroBasic™, mikroPascal™, Visual TFT™, Visual GLCD™, mikroProg™, Ready™, MINI™, mikroBUS™, EasyPIC™, EasyAVR™, Easy8051™, click™ boards 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.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.
Copyright © 2015 MikroElektronika. All Rights Reserved.
mikromedia 7 for STM32F4 manualver 1.02a
0100000078419
∫ 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,
do not hesitate to contact us at [email protected]
Designed by
MikroElektronika Ltd.