The mikromedia for STM32 M4 is a compact development system with lots of on-board peripherals which allow development of hand-held devices with multimedia content. The central part of the system is the 32-bit STM32F407VGT6 ARM Cortex-M4 microcontroller. The mikromedia for STM32 features integrated modules such as stereo MP3 codec, TFT 320×240 touch screen display, accelerometer, USB connector, MMC/SD card slot, 8 Mbit Flash memory, and more. The board features a front-facing reset button, battery charger circuit for Li-Polymer batteries, crystal oscillator, and connection pads for all other available pins. It is compatible with all mikromedia shields (see options below).
A color user manual is included, and software examples are available to download. The board comes pre-programmed with a USB bootloader, so you won't have to spend a penny more on external programmers. If you do want to, pins pads are available for using a mikroProg for STM32 or ST-LINK/V2 (with included adapter).
All unused microcontroller pins are available via pads along the sides of the board. The board measures 81.2 × 60.5 mm (3.19 × 2.38 inches).
STM32 ARM Cortex-M4 Multimedia Board Features
STM32F407VGT6 microcontroller This high-performance 32-bit microcontroller with its integrated modules in combination with the on-board modules is ideal for multimedia applications.
- 1.25 DMIPS/MHz, 32-bit ARM Cortex-M4 core
- 1 MByte of Flash memory
- 192 + 4 KBytes of SRAM
- 83 I/O pins
- SPI, I2C, CAN, USB, Ethernet
- USART, UART
- 16-bit and 32-bit timers, up to 168 MHz
- Internal oscillator 16 MHz, 32 kHz, PLL
- ADC, DAC, etc.
USB power supply You can apply power to the board using the provided Mini-B USB cable. On-board voltage regulators will provide the appropriate voltage levels to each part of the board. The Power LED will indicate the presence of power supply.
Battery power supply You can also power the board using a Li-Polymer battery via the on-board battery connector. An MCP73832 battery charger circuit enables you to charge the battery over USB connection. A red LED indicates when the battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.
Programming with bootloader For programming the microcontroller, you can use a bootloader program which is pre-installed in the MCU memory. To transfer a .hex file from a PC to the MCU, you can use the free mikroBootloader application. The board has a mini-USB connector and ships with a cable to connect to your PC.
Programming with external programmer/debugger In case you want to remove the USB bootloader, need to re-install it, or want to perform in-circuit debugging, the microcontroller can be programmed with an external in-circuit programmer/debugger (not included). The board has pads for installing programming headers compatible with the mikroProg for STM32. An adapter from that header to an ST-LINK/V2 header is included.
Reset Buttons The board is equipped with one reset button on the LCD side so it can be available to the user if the mikromedia is placed in an enclosure or has a shield attached. The back side of the board has pads where you can install another reset button if you desire.
Crystal Oscillator The STM32F407VGT6 has an internal 16 MHz RC oscillator that provides a stable clock signal. The chip has an integrated PLL, so this base frequency is suitable for clock multiplication. The board is equipped with its own 32.768 kHz crystal provides an external clock for the internal RTCC module.
microSD Card Slot The board contains a microSD card slot for using 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.
Touch Screen The development system features a TFT 320×240 display covered with a resistive touch panel. Together they form a functional unit called a touch screen. It enables data to be entered and displayed at the same time. The TFT display is capable of showing data in 262,144 different colors. A stylus is sold separately; see the options below.
Audio Module mikromedia for STM32 features a VS1053 audio controller. This module enables audio reproduction by using stereo headphones connected to the system via the 3.5mm connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI).
USB Connection The STM32F407VGT6 has an integrated USB module which enables you to implement USB communication functionality to the mikromedia board. Connection to a target USB host is achieved with a Mini-B USB connector.
Accelerometer The on-board ADXL345 accelerometer can be used to measure acceleration in three axes: x, y, and z. The accelerometer's function is defined by the program loaded into the microcontroller. Communication between the accelerometer and the microcontroller is performed via the I2C interface. You can set the accelerometer address to 0 or 1 by re-soldering the SMD jumper (zero-ohm resistor) to the appropriate position. This jumper is placed in address 1 position by default.
Flash Memory The M25P80 Flash memory module enables the microcontroller to use an additional 8Mbits of Flash memory. It is connected to the microcontroller via the Serial Peripheral Interface (SPI).
Software Examples The Software Examples ZIP file that you can download below contains the following software, both as ready-to-load compiled code and as source code written in mikroC, mikroBASIC and mikroPascal. The source codes provide detailed explanatory comments.
- Demonstration of ADXL345 three-axis accelerometer. Values from accelerometer are shown on the TFT display.
- Demonstration of microSD card slot and MMC FAT16 library.
- Demonstration of communicating with VS1053 codec. Reads MP3 file from MMC and sends it to VS1053E for decoding and playback.
- Demonstration of MIO283QT2 LCD with Touch Panel. Creates a simple calculator.
- Demonstration of USB module. Creates USB HID communication, and echoes back any message sent to it.
- Demonstration of M25P80 Serial Flash. Connects via SPI, writes a byte and an array of bytes, then reads them back.
- mikromedia for STM32 M4 Board with touchscreen LCD
- USB cable
- mikroProg to ST-LINK/V2 adapter
- Printed documentation
STM32 ARM Cortex-M4 Multimedia Board Resources
Optional Recommended Products for this Item