MOD-MP3-X and MOD-MP3-X-BAT
development boards
Users Manual
All boards produced by Olimex are ROHS compliant
Revision D, March 2012
Copyright(c) 2011, OLIMEX Ltd, All rights reserved
Page 1
INTRODUCTION:
MOD-MP3-X is MP3 player module based on VS1053 Ogg
Vorbis/MP3/AAC/-WMA/MIDI audio decoder and an IMA ADPCM and user-
loadable Ogg Vorbis encoder; supports VBR (variable bit rate) for MP3; Supports
streaming. It also employs an on-board STM32F103RBT6 CORTEX-M3 microcon-
troller for smart control via UEXT.
MOD-MP3-X has three modes of operation:
–
Standalone mode – compatible with the old revision MOD-MP3 player. In
this mode VS1053 controls the playback of files written on a micro SD card inserted
in the board. The user is provided with controls on volume, sound effects, starting,
stopping and sequencing of files to play.
- UEXT playback mode – in this mode the board can be connected as slave device to
host microcontroller which streams data to the codec via SPI.
- UEXT smart control mode – in this mode the on-board microcontroller manages
playback of files written to the micro SD card. The microcontroller acts as a slave
device and accepts user commands via UART. Commands include SD card direct-
ory listing, selecting of a file to play and playback and volume control.
STM32F103RBT6 firmware has an extra - Mass storage device, through
which you can save MP3 files to the SD card.
Note that, while the board works as mass storage device, it can not work in
UEXT smart control mode. If you want to use the board in UEXT smart control
mode, then the USB must not be plugged in and the board has to be power supplied
via external power supply (PWR_JACK or BATTERY).
MOD-MP3-X ships in two variants – with and without battery. The battery
variant employs a Li-ion 3.7 V, 1200 mAh rechargeable battery and an on-board bat-
tery charger.
BOARD FEATURES:
•
•
•
•
•
•
•
•
•
•
On-board STM32F103RBT6 ARM 32-bit Cortex™-M3 microcontroller
Based on VS1053 hardware decoder
3.7 V Li-ion battery and battery charger (for MOD-MP3-X-BAT)
UEXT to connect to host microcontroller (standard connector on our
ARM development boards)
Three modes of operation
EEPROM with firmware for standalone mode
micro SD card holder
USB
Stereo Audio microphone jack, Stereo Audio headphones jack
Can be used to record and playback
Page 2
•
•
•
•
•
Triple action joystick: Forward, Reverse, Play/Pause action
Wake-up button
Two status leds
FR-4, 1.5 mm, soldermask, component print
Dimensions: 60 x 60 mm ( 2.36 x 2.36")
ELECTROSTATIC WARNING:
The
MOD-MP3-X
board is shipped in protective anti-static packaging. The board
must not be subject to high electrostatic potentials. General practice for working
with static sensitive devices should be applied when working with this board.
BOARD USE REQUIREMENTS:
Cables:
The cable you will need depends on the programmer/debugger you use. If
you use
ARM-JTAG-EW,
you will need USB A-B cable, for all types programmers
you will need ARM-JTAG-20to10 adapter.
Hardware:
Programmer/Debugger
ARM-JTAG-EW
,
ARM-USB-OCD
,
ARM-
USB-TINY
,
ARM-USB-TINY-H
, ARM-USB-OCD-H or other compatible
programming/debugging tool. For EEPROM programming you can use
PICkit 2
development programmer/debugger from Microchip, because we don't offer a
suitable programmer, yet.
PROCESSOR FEATURES:
MOD-MP3-X
board use
STM32F103RBT6
microcontroller from
STMicroelectronics with these features:
−
Core: ARM 32-bit Cortex™-M3 CPU
−
−
−
−
−
−
−
−
−
−
−
−
72 MHz, 90 DMIPS with 1.25 DMIPS/MHz
Single-cycle multiplication and hardware division
Nested interrupt controller with 43 maskable interrupt channels
Interrupt processing (down to 6 CPU cycles) with tail chaining
Memories
128 Kbytes of Flash memory
20 Kbytes of SRAM
Clock, reset and supply management
2.0 to 3.6 V application supply and I/Os
POR, PDR, and programmable voltage detector (PVD)
4-to-16 MHz quartz oscillator
Internal 8 MHz factory-trimmed RC
Page 3
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
−
Internal 32 kHz RC
PLL for CPU clock
Dedicated 32 kHz oscillator for RTC with calibration
Low power
Sleep, Stop and Standby modes
VBAT supply for RTC and backup registers
2 x 12-bit, 1 μs A/D converters (16-channel)
Conversion range: 0 to 3.6 V
Dual-sample and hold capability
Synchronizable with advanced control timer
Temperature sensor
DMA
7-channel DMA controller
Peripherals supported: timers, ADC, SPIs, I
2
Cs and USARTs
Debug mode
Serial wire debug (SWD) & JTAG interfaces
49 fast I/O ports
49 5 V-tolerant I/Os
All mappable on 16 external interrupt vectors
Atomic read/modify/write operations
4 timers
3 general purpose timers
1 advanced control timer
Up to 9 communication interfaces
2 I
2
C interfaces (SMBus/PMBus)
3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
2 SPIs (18 Mbit/s)
CAN interface (2.0B Active)
USB 2.0 full speed interface
Page 4
BLOCK DIAGRAM:
Page 5