U S ER MAN UAL PAGE 1 fo r ST M 3 2 C A PAC I T I V E mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
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.
Ta b l e o f c o n t e n t s Introduction 5 5.2 RF 20 1.Key microcontroller features 6 5.3 USB 21 1.1 MCU programming/debugging 8 5.4 1x26 pin headers 22 1.2 MCU reset 8 6. Sound-related peripherals 24 10 6.1 Piezo buzzer 24 2.1 Detailed description 11 6.2 Audio CODEC 25 2.2 Voltage reference 11 6.3 Audio connectors 25 2.3 PSU connectors 12 2.4 Power redundancy & UPS 15 7.1 Ambient light sensor 26 2.5 Powering up the board 15 7.2 Digital motion sensor 27 3.
mikromedia 4 for STM32 CAPACITIVE is a compact USB, Ethernet, RF connectivity options, digital motion development board designed as a complete solution for sensor, piezo-buzzer, battery charging functionality, SD- the rapid development of multimedia and GUI-centric Card reader, RTC, and much more, expanding its use beyond applications. By featuring a 4.3” capacitive touch screen the multimedia.
1. Key microcontroller features At its core, mikromedia 4 for STM32 CAPACITIVE uses the STM32F407ZGT6 or STM32F746ZGT6 MCU. STM32F407ZGT6 is the 32-bit RISC ARM® Cortex®-M4 core. the host MCU, key features include: SRAM 16KB AHB BUS - M GPIO PORT (A,B,C,D,E,F,G ,H,I) SDIO/MMC ∫ 1 MB of Flash memory ∫ 192 + 4 KB of SRAM (including 64 KB of Core Coupled Memory) allowing 0-wait state execution from Flash memory ∫ Operating frequency up to 168 MHz ∫ 210 DMIPS / 1.25 DMIPS/MHz (Dhrystone 2.
STM32F746ZGT6 is the 32-bit RISC ARM® Cortex®-M7 core. SRAM 240 KB DMA 1 SRAM 16KB application security. Among many peripherals available on the host MCU, key features include: AHB BUS - M GPIO PORT (A,B,C,D,E,F,G ,H,I) ∫ 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.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.
PAGE 9 mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L
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.
2.1 Detailed description The next PSU stage uses two MCP16331, highly integrated, high-efficiency, fixed frequency, step-down DC-DC converters, capable of providing up to 1.2A. Each of the two buck regulators is used to supply power to the The PSU has a very demanding task of providing power for the host MCU corresponding power supply rail (3.3V and 5V), throughout the entire and all the peripherals onboard, as well as for the externally connected development board and connected peripherals.
2.3 PSU connectors As explained, the advanced design of the PSU allows several 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. For situations where the power is an issue, it can be powered by an external 12VDC power supply, connected over the 5.5mm barrel connector or over the two-pole screw terminal. Power is not an issue even if it is powered over the USB cable.
Maximum power ratings, along with the allowed input voltage range in the supply unit can be easily exchanged with another, while its power and case when the USB power supply is used, are given in the table below: operating characteristics can be decided per application. The development board allows a maximum current of 1.2A per power rail (3.3V and 5V) when using an external 12V power supply. The screw terminal is a good choice Input Voltage [V] MIN 4.
2.3.3 Li-Po/Li-Ion XH battery connector When powered by a single-cell Li-Po/Li-Ion battery, mikromedia 4 offers an Maximum power ratings along with the allowed input voltage range when option to be operated remotely. This allows complete autonomy, allowing the battery power supply is used, are given in the table below: 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.
2.5 Powering up the mikromedia 4 board The PSU module supports power supply redundancy: it will automatically After a valid power supply source is connected (1) in our case with a single- switch to the most appropriate power source if one of the power sources cell Li-Po/Li-Ion battery, mikromedia 4 can be powered ON. This can be fails or becomes disconnected. The power supply redundancy also allows done by a small switch at the edge of the board, labeled as SW1 (2).
3. Capacitive display A high-quality 4.3” TFT true-color display with a capacitive with the host controller. This advanced multi-touch panel touch panel is the most distinctive feature of the mikromedia 4. controller supports gestures, including zoom and swipe in all The display has a resolution of 480 by 272 pixels, and it can four directions. C APACIT I VE D ISP LAY display up to 16.7M of colors (24-bit color depth).
2 1 Figure 9: Display and SSD1963 view
Figure 9: MicroSD card slot view P A G E 18 DATA STORAGE 4. Data storage The mikromedia 4 development board is equipped with two types of storage memory: with a microSD card slot and a Flash memory module. 2 1 4.1 microSD card slot 4.2 External flash storage 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.
5. Connectivity mikromedia 4 offers a huge number of connectivity options. It allows mikromedia 4 to connect to an Ethernet network over its shield as It includes support for the Ethernet, RF and USB (HOST/ TX and RX lines are routed to the 1x26 pin headers (2). mikromedia 4 is DEVICE). Besides those options, it also offers two 1x26 pin equipped with two LED indicators, which are located on the front side. They are used to signal status and data traffic.
5.2 RF mikromedia 4 offers communication over the world-wide ISM radio band. The ISM band covers a frequency range between 2.4GHz and 2.4835GHz. This frequency band is reserved for industrial, scientific, and medical use (hence the ISM abbreviation). In addition, it is globally available, making it a perfect alternative to WiFi, when the M2M communication over a short distance is required. mikromedia 4 uses the nRF24L01+ (1), a single-chip 2.
5.3 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 4 supports USB as HOST/DEVICE modes, allowing the development of a wide range of various USB-based applications.
5.4 1x26 pin headers Most of the host MCU pins are routed to the two 1x26 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.
P A G E 23 CO N N ECT IVIT Y 1 Figure 13: mikromedia 4 back view mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L 1
6. Sound-related peripherals By offering a pair of sound-related peripherals, mikromedia 4 rounds-up its multimedia concept. It features a piezo-buzzer, which is extremely easy to program but can produce only the simplest sounds, useful only for alarms or notifications. The second audio option is the powerful VS1053B IC (1). It is AU D IO an Ogg Vorbis/MP3/AAC/WMA/FLAC/WAV/MIDI audio decoder, and a PCM/IMA ADPCM/Ogg Vorbis encoder, both on a single chip.
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.
7. Sensors and other peripherals A set of additional onboard sensors and devices adds yet Figure 15: mikromedia 4 partial front view another layer of usability to the mikromedia 4 development OT HER PE RIP HE RALS board. 7.1 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.
7.4 RGB LED Figure 16: mikromedia 4 partial back view 2 mikromedia 4 for STM32 CAPACITIVE U S E R M A N U A L A high-brightness RGB LED (4) option can be used to provide visual feedback in a very simple way. There are three pre-biased bipolar transistors on each of the RGB LED segments (red, blue, and green), allowing them to be individualy dimmed by PWM pins of the host MCU.
7.5 Temperature sensor The MCP9700A, 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.
What’s Next? You have now completed the journey through each and every feature of mikromedia 4 for STM32 CAPACITIVE 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.
DISCLAIMER All 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, must be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
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 mikromedia 4 for STM32 CAPACITIVE Manual v.