![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg1.png)
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
USER MANUAL
for STM32 CAPACITIVE
P A G E 1
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg2.png)
Thank you for choosing Mikroe!
We present you the ultimate multimedia solution for embedded development.
Elegant on the surface, yet extremely powerful on the inside, we have designed it to inspire outstanding achievements.
And now, it’s all yours.
Enjoy premium.
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg3.png)
Table of contents
Introduction 5
1.Key microcontroller features 6
1.1 MCU programming/debugging 8
1.2 MCU reset 8
2. Power supply unit 10
2.1 Detailed description 11
2.2 Voltage reference 11
2.3 PSU connectors 12
2.4 Power redundancy & UPS 15
2.5 Powering up the board 15
3. Capacitive display 16
4. Data storage 18
4.1 microSD card slot 18
4.2 External flash storage 18
5. Connectivity 19
5.2 RF 20
5.3 USB 21
5.4 1x26 pin headers 22
6. Sound-related peripherals 24
6.1 Piezo buzzer 24
6.2 Audio CODEC 25
6.3 Audio connectors 25
7. Sensors and other peripherals 26
7.1 Ambient light sensor 26
7.2 Digital motion sensor 27
7.3 IR receiver module 27
7.4 RGB LED 27
7.5 Temperature sensor 28
7.6 Real-time clock (RTC) 28
What’s next 30
5.1 Ethernet 19
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg4.png)
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg5.png)
mikromedia 4 for STM32 CAPACITIVE is a compact
USB, Ethernet, RF connectivity options, digital motion
development board designed as a complete solution for
the rapid development of multimedia and GUI-centric
applications. By featuring a 4.3” capacitive touch screen
driven by the powerful graphics controller that can display
the 24-bit color palette (16.7 million colors), along with a
DSP-powered embedded sound CODEC IC, represents a
perfect solution for any type of multimedia application.
At its core, there is a powerful 32-bit STM32F407ZGT6 or
STM32F746ZGT6 microcontroller (referred to as “host MCU”
in the following text), produced by STMicroelectronics,
which provides sufficient processing power for the most
demanding tasks, ensuring fluid graphical performance and
glitch-free audio reproduction.
However, this development board is not limited to
multimedia-based applications only: mikromedia 4 for STM32
sensor, piezo-buzzer, battery charging functionality, SD-
Card reader, RTC, and much more, expanding its use beyond
the multimedia. Two standardized 1x26 pin headers expose
the available MCU pins to the user, adding another layer of
expandability. By using mikromedia 4 shield, connectivity
can be further expanded with several mikroBUS
™
sockets,
additional connectors, peripherals, and so on.
The usability of mikromedia 4 does not end with its ability
to accelerate the prototyping and application development
stages: it is designed as the complete solution which can
be implemented directly into any project, with no additional
hardware modifications required. Four mounting holes
(3.2mm / 0.126”) at all four corners allow simple installation
with mounting screws. For most applications, a nice stylish
casing is all that is needed to turn the mikromedia 4
development board into a fully functional, high-performance,
CAPACITIVE (“mikromedia 4” in the following text) features
feature-rich design.
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg6.png)
1. Key microcontroller features
APB2 84MHz
3 x ADC
temperature sensor
1 x SPI
2 x USART
3 x TIMER 16-bit
2 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
2 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
POWER / RESET
AHB BUS - MATRIX
GPIO PORT
(A,B,C,D,E,F,G,H,I)
ARM
Cortex ™-M4
STM32F 407ZG
At its core, mikromedia 4 for STM32 CAPACITIVE uses the STM32F407ZGT6 or STM32F746ZGT6 MCU.
STM32F407ZGT6 is the 32-bit RISC ARM® Cortex®-M4 core.
This MCU is produced by STMicroelectronics, featuring a
dedicated floating-point unit (FPU), a complete set of DSP
functions, and a memory protection unit (MPU) for elevated
application security. Among many peripherals available on
the host MCU, key features include:
∫ 1 MB of Flash memory
STM32F407ZGT6
∫ 192 + 4 KB of SRAM (including 64 KB of Core Coupled Memory)
∫ Adaptive real-time accelerator (ART Accelerator
allowing 0-wait state execution from Flash memory
∫ Operating frequency up to 168 MHz
P A G E 6
∫ 210 DMIPS / 1.25 DMIPS/MHz (Dhrystone 2.1)
For the complete list of MCU features, please refer to the
STM32F407ZGT6 datasheet
™
)
Figure 1: STM32F407ZGT6 MCU block schematic
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg7.png)
APB2 84MHz
3 x ADC
temperature sensor
4 x SPI
2 x USART
3 x TIMER 16-bit
2 x TIM/PWM 16-bit
SDIO/MMC
2 x CAN
4 x I2C
2 x SPI
4 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 240 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
POWER / RESET
AHB BUS - MATRIX
GPIO PORT
(A,B,C,D,E,F,G,H,I)
ARM
Cortex ™-M7
STM32F 746ZGT6
STM32F746ZGT6 is the 32-bit RISC ARM® Cortex®-M7 core.
This MCU is produced by STMicroelectronics, featuring a
dedicated floating-point unit (FPU), a complete set of DSP
functions, and a memory protection unit (MPU) for elevated
application security. Among many peripherals available on
the host MCU, key features include:
∫ 1 MB Flash memory
∫ 320 KB of SRAM
∫ Adaptive real-time accelerator (ART Accelerator
allowing 0-wait state execution from Flash memory
∫ Operating frequency up to 216 MHz
∫ 462 DMIPS / 2.14 DMIPS/MHz (Dhrystone 2.1)
For the complete list of MCU features, please refer to the
STM32F746ZGT6 datasheet
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
MCUs FEATURES
™
)
P A G E 7
Figure 2: STM32F746ZGT6 MCU block schematic
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg8.png)
1.1 Microcontroller programming/debugging
The host MCU can be programmed and debugged over the JTAG/SWD
compatible 2x5 pin header (2), labeled as PROG/DEBUG. This header
allows an external programmer (e.g. CODEGRIP or mikroProg) to be used.
To enable the JTAG interface, two SMD jumpers labeled as JP5 and JP6 (3)
must be populated. These jumpers are unpopulated by default, optimizing
the pin count so that more pins could be used for a large number of
onboard modules and peripherals.
Programming the microcontroller can also be done by using the bootloader
which is preprogrammed into the device by default. All the informations
about the bootloader software can be found on the following page:
www.mikroe.com/mikrobootloader
1
MCUs FEATURES
P A G E 8
1.2 MCU reset
The board is equipped with the Reset button (4), which is located on the
front side of the board. It is used to generate a LOW logic level on the
microcontroller reset pin. The reset pin of the host MCU is also routed to
the pin 1 of the 1x26 pin header (5), allowing an external signal to reset
the device.
5
4
3
2
Figure 2: Front and back partial view
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bg9.png)
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
P A G E 9
![](/html/ba/bac6/bac62952114870914a35cb5cd1f5e7f8bce2e674f4fe4ad722ed4805cd2b785a/bga.png)
2. Power supply unit
The power supply unit (PSU) provides clean and regulated
power, necessary for proper operation of the mikromedia 4
development board. The host MCU, along with the rest of the
peripherals, demands regulated and noise-free power supply.
Therefore, the PSU is carefully designed to regulate, filter,
and distribute the power to all parts of mikromedia 4. It is
equipped with three different power supply inputs, offering all
the flexibility that mikromedia 4 needs, especially when used
on the field or as an integrated element of a larger system. In
the case when multiple power sources are used, an automatic
power switching circuit with predefined priorities ensures that
the most appropriate will be used.
P A G E 10
Figure 3: Power supply unit view
The PSU also contains a reliable and safe battery charging
circuit, which allows a single-cell Li-Po/Li-Ion battery to be
charged. Power OR-ing option is also supported, providing
an uninterrupted power supply (UPS) functionality when an
external or USB power source is used in combination with the
battery.
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L