mikromedia STM32F407VGT6 3 For Stm Resistive
for STM32 RESISTIVE
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.
mikromedia 3 for STM32 RESISTIVE is a compact development board designed as a complete solution for the rapid development of multimedia and GUI-centric applications. By featuring a 3.5” resistive 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 STM32F407VGT6 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 3 for STM32 RESISTIVE (“mikromedia 3” in the following text) features USB, digital
motion sensor, battery charging functionality, SD-Card reader, and much more, expanding its use beyond the multimedia. Two standardized 1×26 pin headers expose the available MCU pins to the user, adding another layer of expandability. By using mikromedia 3 shield, connectivity can be further expanded with several mikroBUS™ sockets, additional connectors, peripherals, and so on.
The usability of mikromedia 3 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 (2mm/0.080”) 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 3 development board into a fully functional, high-performance, feature-rich design.
STM32F407VGT6 microcontroller
At its core, mikromedia 3 for STM32 uses the STM32F407VGT6 MCU (1), based on 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
- 1MB of Flash memory
- 192 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
- 210 DMIPS / 1.25 DMIPS / MHz (Dhrystone 2.1)
For the complete list of MCU features, please refer to the STM32F407VGT6 datasheet
Program/debug header
The host MCU can be programmed and debugged over the JTAG/SWD compatible 2×5-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 JP6 and JP7 (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.
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 1×26 pin header (5), allowing an external signal to reset the device.
Power supply unit
The power supply unit (PSU) provides clean and regulated power, necessary for proper operation of the mikromedia 3 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 3. It is equipped with two different power supply inputs, offering all the flexibility that mikromedia 3 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.
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 USB power source is used in combination with the battery.
Detailed description
The PSU has a very demanding task of providing power for the host MCU and all the peripherals onboard, as well as for the externally connected peripherals. One of the key requirements is to provide enough current, avoiding the voltage drop at the output. Also, the PSU must be able to support multiple power sources with different nominal voltages, allowing switching between them by priority. The PSU design, based on a set of high-performance power switching ICs produced by Microchip, ensures a very good quality of the output voltage, high current rating, and reduced electromagnetic radiation.
At the input stage of the PSU, the MIC2253, a high-efficiency boost regulator IC with overvoltage protection ensures that the voltage input at the next stage is well-regulated and stable. It is used to boost the voltage of low-voltage power sources (a Li-Po/Li-Ion battery and USB), allowing the next stage to deliver well-regulated 3.3V and 5V to the development board. A set of discrete components are used to determine if the input power source requires a voltage boost. When multiple power sources are connected at once, this circuitry is also used to determine the input priority level: USB has priority over the Li-Ion/Li- Po battery. The transition between available power sources is designed to provide uninterrupted operation of the development board.
The next PSU stage uses two MCP16331, highly integrated, high-efficiency, fixed frequency, step-down DC-DC converters, capable of providing up to 1A. Each of the two buck regulators is used to supply power to the corresponding power supply rail (3.3V and 5V), throughout the entire development board and connected peripherals.
Voltage reference
The MCP1501, a high-precision buffered voltage reference from Microchip is used to provide a very precise voltage reference with no voltage drift. It can be used for various purposes: the most common uses include voltage references for A/D converters, D/A converters, and comparator peripherals on the host MCU. The MCP1501 can provide up to 20mA, limiting its use exclusively to voltage comparator applications with high input impedance. Depending on the specific application, either 3.3V from the power rail, or 2.048V from the MCP1501 can be selected. An onboard SMD jumper labeled as REF SEL offers two voltage reference choices:
- REF: 2.048V from the high-precision voltage reference IC
- 3V3: 3.3V from the main power supply rail
PSU connectors
As explained, the advanced design of the PSU allows two types of power sources to be used, offering unprecedented flexibility: when powered by a Li-Po/Li-ION battery, it offers an ultimate degree of autonomy. Power is not an issue even if it is powered over the USB cable. It can be powered over the USB-C connector, using power supply delivered by the USB HOST (i.e. personal computer), USB wall adapter, or a battery power bank.
There are two power supply connectors available, each with its unique purpose
- CN5: USB-C connector (1)
- CN6: Standard 2.5mm pitch XH battery connector (2)
USB-C connector
The USB-C connector (labeled as CN5 on) provides power from the USB host (typically PC), USB power bank, or USB wall adapter. When powered over the USB connector, the available power will depend on the source capabilities.
Maximum power ratings, along with the allowed input voltage range in the case when the USB power supply is used, are given on the following page:
USB Power Supply | ||||
Input Voltage [V] | Output Voltage [V] | Max Current [A] | Max Power [W] | |
MIN | MAX | 3.3 | 1 | 3.3 |
4.4 | 5.5 | 5 | 1 | 5 |
3.3 & 5 | 0.6 & 0.6 | 4.98 |
Figure 5: USB power supply table
When using a PC as the power source, the maximum power can be obtained if the host PC supports the USB 3.2 interface, and is equipped with USB-C connectors. If the host PC uses the USB 2.0 interface, it will be able to provide the least power, since only up to 500 mA (2.5W at 5V) is available in that case. Note that when using longer USB cables or USB cables of low quality, the voltage may drop outside the rated operating voltage range, causing unpredictable behavior of the development board.
NOTE
If the USB host is not equipped with the USB-C connector, a Type A to Type C USB adapter may be used (included in the package).
Li-Po/Li-Ion XH battery connector
Powering mikromedia 3 by a single-cell Li-Po/Li-Ion battery allows complete autonomy, allowing it to be used in some very specific situations: hazardous environments, agricultural applications, etc.
The battery connector is a standard 2.5mm pitch XH connector. It allows a range of single-cell Li-Po and Li-Ion batteries to be used. The PSU of mikromedia 3 offers the battery charging functionality, from the USB connector. The battery charging circuitry of the PSU manages the battery charging process, allowing the optimal charging conditions and longer battery life.
The charging process is indicated by BATT LED indicator, located on the front of mikromedia 3.
The PSU module also includes the battery charger circuit. Depending on the operational status of the mikromedia 3 development board, the charging current can be either set to 100mA or 500mA. When the development board is powered OFF, the charger IC will allocate all available power for the battery charging purpose. This results in faster charging, with the charging current set to approximately 500mA. While powered ON, the available charging current will be set to approximately 100 mA, reducing the overall power consumption to a reasonable level.
Maximum power ratings along with the allowed input voltage range when the battery power supply is used, are given in the table below
Battery Power Supply | ||||
Input Voltage [V] | Output Voltage [V] | Max Current [A] | Max Power [W] | |
MIN | MAX | 3.3 | 0.8 | 2.64 |
3.5 | 4.2 | 5 | 0.8 | 4 |
3.3 & 5 | 0.6 & 0.6 | 4.98 |
NOTE: Using low-quality USB hubs, and too long or low-quality USB cables, may cause a significant USB voltage drop, which can obstruct the battery charging process.
Power redundancy and uninterrupted power supply (UPS)
The PSU module supports power supply redundancy: it will automatically switch to the most appropriate power source if one of the power sources fails or becomes disconnected. The power supply redundancy also allows for an uninterrupted operation (i.e. UPS functionality, the battery will still provide power if the USB cable is removed, without resetting mikromedia 3 during the transition period).
Powering up the mikromedia 3 board
After a valid power supply source is connected in our case with a single-cell Li-Po/Li-Ion battery (1), mikromedia 3 can be powered ON. This can be done by a small switch at the edge of the board, labeled as SW1 (2). By switching it ON, the PSU module will be enabled, and the power will be distributed throughout the board. A LED indicator labeled as PWR indicates that the mikromedia 3 is powered ON.
Resistive display
A high-quality 3.5” TFT true-color display with a resitive touch panel is the most distinctive feature of the mikromedia 3. The display has a resolution of 320 by 240 pixels, and it can display up to 16.7M of colors (24-bit color depth). The display of mikromedia 3 features a reasonably high contrast ratio of 500:1, thanks to 6 high-brightness LEDs used for the backlighting.
The display module is controlled by the SSD1963 (1) graphics driver IC from Solomon Systech. This is a powerful graphics coprocessor, equipped with 1215KB of frame buffer memory. It also includes some advanced features such as the hardware accelerated display rotation, display mirroring, hardware windowing, dynamic backlight control, programmable color and brightness control, and more.
The resistive panel allows the development of interactive applications, offering a touch-driven control interface. The touch panel controller uses the I2C interface for the communication with the host controller.
Equipped with high-quality 3.5” display (2) mikromedia 3 represents a very powerful hardware environment for building various GUI-centric Human Machine Interface (HMI) applications.
Data storage
The mikromedia 3 development board is equipped with two types of storage memory: with a microSD card slot and a
Flash memory module.
External flash storage
mikromedia 3 is equipped with the SST26VF064B Flash memory (2). The Flash memory module has a density of 64 Mbits. Its storage cells are arranged in 8-bit words, resulting in 8Mb of non-volatile memory in total, available for various applications. The most distinctive features of the SST26VF064B Flash module are its high speed, very high endurance, and very good data retention period. It can withstand up to 100,000 cycles, and it can preserve the stored information for more than 100 years. It also uses the SPI interface for the communication with the MCU.
microSD card slot
The microSD card slot (1) allows storing large amounts of data externally, on a microSD memory card. It uses the Secure digital input/output interface (SDIO) for communication with the MCU. The microSD card detection circuit is also provided on the board. The microSD card is the smallest SD Card version, measuring only 5 x 11 mm. Despite its small size, it allows tremendous amounts of data to be stored on it. In order to read and write to the SD Card, a proper software/firmware running on the host MCU is required.
Connectivity
mikromedia 3 includes support for USB(HOST/DEVICE). Besides that, it also offers two 1×26 pin headers, which are used to directly access the MCU pins.
USB
The host MCU is equipped with the USB peripheral module, allowing simple USB connectivity. USB (Universal Serial Bus) is a very popular industry standard that defines cables, connectors, and protocols used for communication and power supply between computers and other devices. mikromedia 3 supports USB as HOST/DEVICE modes, allowing the development of a wide range of various USB-based applications. It is equipped with the USB-C connector, which offers many advantages, compared to earlier types of USB connectors (symmetrical design, higher current rating, compact size, etc).
The USB mode selection is done using a monolithic controller IC. This IC provides Configuration Channel (CC) detection and indication functions. To set up mikromedia 3 as the USB HOST, the USB_PSW pin should be set to a LOW logic level (0) by the MCU. If set to a HIGH logic level (1), mikromedia 3 acts as a DEVICE. While in HOST mode, mikromedia 3 provides power over the USB-C connector (1) for the attached DEVICE. The USB_PSW pin is driven by the host MCU, allowing the software to control the USB mode.
mikromedia 3 for STM32 U S E R M A N U A L
The USB ID pin is used to detect the type of the device attached to the USB port, according to the USB OTG specifications: the USB ID pin connected to GND indicates a HOST device, while the USB ID pin set to a high impedance state (HI-Z) indicates that the connected peripheral is a DEVICE.
Note: When mikromedia 3 is working in USB HOST mode, it must not be mounted to another USB HOST (such as PC).
1×26 pin headers
Most of the host MCU pins are routed to the two 1×26 pin headers (1), making them available for further connectivity. In addition to MCU pins, some additional peripheral pins are also routed to this header.
Besides the ability to connect various external devices and peripherals by using wire jumpers, these pins also allow using shields with the additional mikroBUS™ sockets. This allows mikromedia 3 to be interfaced with a huge base of different Click boards™ adding many different functionalities and options, including motor drivers, buck/boost converters, sensors, and much more. For the complete list of all the Click boards™ in our offer, please visit the following link: www.mikroe.com/click
mikromedia 3 features powerful VS1053B IC. It is an Ogg Vorbis/MP3/AAC/WMA/FLAC/WAV/MIDI audio decoder, and a PCM/IMA ADPCM/Ogg Vorbis encoder, both on a single chip. It features a powerful DSP core, high-quality A/D and D/A converters, stereo headphones driver capable of driving a 30Ω load, zero-cross detection with the smooth volume change, bass and treble controls, and much more.
Audio CODEC
Resource-demanding and complex audio processing tasks can be offloaded from the host MCU by utilizing a dedicated audio CODEC IC, labeled as VS1053B (1). This IC supports many different audio formats, commonly found on various digital audio devices. It can encode and decode audio streams independently while performing DSP-related tasks in parallel. The VS1053B has several key features that make this IC very popular choice when it comes to audio processing.
By offering high-quality hardware compression (encoding), the VS1053B allows the audio to be recorded taking up much less space compared to the same audio information in its raw format. In combination with high-quality ADCs and DACs, headphones driver, integrated audio equalizer,
volume control, and more, it represents an all-around solution for any type of audio application. Along with the powerful graphics processor, the VS1053B audio processor completely rounds-up the multimedia aspects of the mikromedia 3 development board.
Audio connectors
The mikromedia 3 board is equipped with the 3.5mm four-pole headphones jack (2), allowing to connect a headset with a microphone. Two line-level audio outputs are also available over the 1×26 pin header (3).
The microphone input from the 3.5mm four-pole headset jack is multiplexed with two line-level audio inputs. By using an SMD jumper (4) located near the headphone jack, it is possible to select which audio input will be used by the VS1053B. The choices are
- LIN: two line-level inputs form the 1×26 pin header
- MIC: electret microphone, connected over the 3.5mm headphone jack
Additional sensors and other peripherals
A set of additional onboard sensors and devices adds yet another layer of usability to the mikromedia 3 development board.
Ambient light sensor
An ambient light sensor (ALS) (1) can be used for dimming the screen intensity in low-light conditions, allowing for the lower power consumption. It can also be used to detect the proximity and turn on the screen or increase its brightness when the user approaches. The ALS sensor on the mikromedia 7 can be utilized in many ways. The LTR-329ALS-01 sensor uses the I2C interface to communicate with the host MCU.
Digital motion sensor
The FXOS8700CQ, an advanced integrated 3-axis accelerometer and 3-axis magnetometer, can detect many different motion-related events, including the orientation event detection, freefall detection, shock detection, as well as tap, and double-tap event detection. These events can be reported to the host MCU over two dedicated interrupt pins, while the data transfer is performed over the I2C communication interface. The FXOS8700CQ sensor can be very useful for display orientation detection. It can also be used to turn mikromedia 3 into a complete 6-axis e-compass solution. The I2C slave address can be changed by using two SMD jumpers grouped under the ADDR SEL label (2).
Temperature sensor
The MCP9700A (3), an integrated low-power linear active thermistor allows measurement of the ambient temperature. This sensor provides an analog voltage which changes linearly with the applied temperature. This voltage can be sampled by the A/D converter on the host MCU, making it available for various user applications. The MCP9700A can measure the temperature within the range from -40°C to +125°C, but the actual measurement range is limited by the thermal endurance of the mikromedia 3 board itself. Nevertheless, having a thermal sensor on board is very useful, allowing the development of thermal monitoring applications, weather stations, and similar.
PICK NECTO DESIGNER
FOR GUI APPS
Build Smart GUI apps easily with NECTO Studio designer and LVGL Graphics Library.
What’s Next?
You have now completed the journey through each and every feature of mikromedia 3 for STM32 RESISTIVE development 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.
- NECTO Studio
NECTO Studio is a complete, cross-platform integrated development environment (IDE) for embedded applications providing everything necessary to start developing, and prototyping, including Click board™ applications and GUIs for embedded devices. Rapid software development is easily achieved as developers do not need to consider low-level code, freeing them up to focus on the application code itself. This means that changing the MCU or even the whole platform will not require developers to redevelop their code for the new MCU or platform. They can simply switch to the desired platform, apply the correct board definition file, and the application code will continue to run after a single compiling. www.mikroe.com/necto - GUI PROJECTS
Once you have downloaded NECTO Studio, and since you already got the board, you are ready to start writing your first GUI projects. Choose between several compilers for the specific MCU which is on the mikromedia device, and start using one of the most popular graphics library in the embedded industry – LVGL graphics library, an integral part of NECTO Studio. This makes an excellent starting point for future GUI projects. - Embedded Wiki
Your project starts on EmbeddedWiki – world’s largest embedded projects platform, with over 1M+ ready-for-use projects, made with pre-designed and standardized hardware and software solutions that serves as a starting point for developing customized products or applications. The platform covers 12 topics and 92 applications. Simply choose the MCU you require, select the application, and receive 100% valid code. Whether you’re a novice working on your first project or a seasoned professional on your one 101st, EmbeddedWiki ensures project completion with satisfaction, eliminating unnecessary time wastage. www.embeddedwiki.com - SUPPORT
MIKROE offers free Tech Support to the end of its life span, so if anything goes wrong, we are ready and willing to help. We know how important it is to be able to rely on someone in the moments when we are stuck with our projects for any reason, or facing a deadline. This is why our Support Department, as one of the pillars upon which our company is based, now also offers the Premium Technical Support to business users, ensuring even shorter time-frame for solutions. www.mikroe.com/support
DISCLAIMER
All the products owned by MIKROE 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, must be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MIKROE. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited.
MIKROE 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.
MIKROE shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MIKROE, 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 MIKROE has been advised of the possibility of such damages. MIKROE
reserves the right to change information contained in this manual at any time without prior notice, if necessary.
HIGH RISK ACTIVITIES
The products of MIKROE 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’). MIKROE and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.
TRADEMARKS
The MIKROE name and logo, the MIKROE logo, mikroC, mikroBasic, mikroPascal, mikroProg, mikromedia, Fusion, Click boards™ and mikroBUS™ are trademarks of MIKROE. 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.
Copyright © MIKROE, 2024, All Rights Reserved.
- 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 office@mikroe.com
Documents / Resources
![]() |
mikromedia STM32F407VGT6 3 For Stm Resistive [pdf] Instruction Manual STM32F407VGT6 3 For Stm Resistive, STM32F407VGT6, 3 For Stm Resistive, For Stm Resistive, Stm Resistive, Resistive |