MicroElektronika Mikromedia User Manual

Compact multimedia development system rich with on-board peripherals for all-round development on LM3S9B95 device
for Stellaris® M3
mikromedia
I want to express my thanks to you for being interested in our products and for having
condence in MikroElektronika.
The primary aim of our company is to design and produce high quality electronic products
and to constantly improve the performance thereof in order to better suit your needs.
The Stellaris®, ARM® and Windows® logos and product names are trademarks of Texas Instruments®, ARM® Holdings and Microsoft® in the U.S.A. and other countries.
TO OUR VALUED CUSTOMERS
Nebojsa Matic
General Manager
Introduction to mikromedia for Stellaris® M3 4
Package Contains 5
Key Features 6
System Specication 7
1. Power supply 8
USB power supply 8
Battery power supply 8
2. LM3S9B95 microcontroller 10
Key microcontroller features 10
3. Programming the microcontroller 11
Programming with mikroBootloader 12
step 1 – Connecting mikromedia 12
step 2 – Browsing for .HEX le 13
step 3 – Selecting .HEX le 13
step 4 – Uploading .HEX le 14
step 5 – Finish upload 15
Programming with mikroProg™ programmer 16
4. Reset Button 18
5. Crystal Oscillator 20
6. MicroSD Card Slot 21
7. Touch Screen 22
8. Audio Module 24
9. USB connection 26
10. Accelerometer 28
11. Flash Memory 29
12. Pads 30
13. Pinout 31
14. Dimensions 32
15. Mikromedia Accessories 33
16. What’s Next? 34
Table of Contents
The mikromedia for Stellaris® M3 is a compact development system with lots of on-board peripherals which allow development of devices with multimedia contents. The central part of the system is a 32-bit
ARM® Cortex™-M3 LM3S9B95 microcontroller. The
mikromedia for Stellaris® M3 features integrated modules such as stereo MP3 codec, TFT 320x240 touch screen display, accelerometer, MMC/SD card
slot, 8 Mbit ash memory, battery charger. The
board also contains MINI-B USB connector, two 1x26 connection pads and other. It comes pre-programmed with USB HID bootloader, but can also be programmed with external programmers, such as mikroProg™ for
Stellaris® or JTAG programmer. Mikromedia is compact
and slim, and perfectly ts in the palm of your hand,
which makes it a convenient platform for mobile devices.
Introduction to mikromedia for Stellaris® M3
01
02
04 05
03
06
Damage resistant protective box
mikromedia for Stellaris
® M3
development system
mikromedia for Stellaris
®
M3
user’s guide
mikromedia for Stellaris® M3 schematic
DVD with documentation and examples
USB cable
Package Contains
Copyright ©2011 Mikroelektronika.
All rights reserved. Mikroelektronika, Mikroelektronika logo and other
Mikroelektronika trademarks are the property of Mikroelektronika.
All other trademarks are the property of their respective owners.
Unauthorized copying, hiring, renting, public performance and
broadcasting of this DVD prohibited.
20122011
www.mikroe.com
01
02
10
Key Features
16
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
Connection Pads
TFT 320x240 display
USB MINI-B connector
Charge indication LED
LI-Polymer battery connector
3.5mm headphone connector
Power supply regulator
Serial Flash memory
VS1053 Stereo mp3 coder/decoder
RESET button
Stellaris
®
ARM® Cortex™-M3 LM3S9B95
Accelerometer
Crystal oscillator
microSD Card Slot
Power indication LED
JTAG/SWD programmer connector
System Specication
power supply
Via USB cable (5V DC)
board dimensions
81.2 x 60.5 mm (3.19 x 2.38 inch)
weight
~45 g (0.10 lbs)
power consumption
77 mA with erased MCU
(when on-board modules are inactive)
03
06
07
08
09
11
12
13
14
15
04
05
16
1. Power supply
You can apply power supply to the board using MINI-B USB cable provided with the board. On-board voltage regulators provide the appropriate voltage levels to each component on the board. Power
LED (GREEN) will indicate the presence of
power supply.
You can also power the board using Li-Polymer battery, via on-board battery connector. On-board battery charger circuit MCP73832 enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging. Charging current is ~250mA and charging voltage is 4.2V DC.
Battery power supply
USB power supply
Figure 1-1: Connecting USB power supply
Figure 1-2: Connecting Li-Polymer battery
VCC-1.8VREF-1.8
E11
10uF
FP3
FERRITE
VCC-3.3
AVCC
FP4
FERRITE
C25
100nF
VCC-SYS
VCC-3.3
E3
10uF
E4 10uF
R26
2K2
VCC-BAT
R44 3K9
Charging Current approx. 250mA
R39 4K7
VCC-3.3
E7 10uF C40
2.2uF
R34 4K7
R6 4K7
VCC-BAT
VSENSE
VCC-SYS
R37
10K
R36 10K
VCC-3.3
STAT
R38 10K
R45 1K
VCC-3.3
E5 10uF
R35 10K
VCC-3.3
C29
2.2uF
VCC-3.3
R46 22K
E10
10uF
R47 120K
VCC-1.8
VCC-1.8
R50 12K1
1 2 3
5
4
Vin GND EN ADJ
Vout
U3
AP7331-ADJ
R49 4K7
3
1
2
GND
Vin
Vout
REG1
LD29080DT33
VCC-BAT
LD1
GREEN
LD2 RED
1 2
CN1
BATT CONN
2 3
5
4
1
STAT VSS VBAT VDD
PROG
U5
MCP73832
Q4 BC846
Q5 BC846
D1 PMEG3010ER
VCC-SYSVCC-BAT
VCC-USB
R43
10K
M1
DMP2160UW
DATA BUS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
HDR1
M1X26
HDR2
M1X26
VCC-3.3 VCC-3.3
VCC-SYS
VCC-USB
C28 10nF
FP2 FERRITE
1 2 3 4 5
GND
ID
D+
D-
VBUS
CN3
USB MINIB
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
Figure 1-3: Power supply schematics
Page 10
Page 11
The mikromedia for Stellaris® M3 development board comes with the ARM® Cortex™-M3 LM3S9B95 microcontroller. This high-performance 32-bit microcontroller with its integrated modules and in combination with other on-board modules is ideal for multimedia applications.
Key microcontroller features
- Up to 100 DMIPS Operation;
- 32-bit architecture;
- 256KB of Flash memory;
- 96KB of SRAM memory;
- 65 I/O pins;
- 32kHz RTCC;
- IEEE 1588
- Ethernet, UART, SPI, I2C, CAN, ADC etc.
ROM
JTAG
DMA
GPIOs
USB OTG
SSI
CAN
PWM
QEI
ADC
FLASH
SRAM
UART
I2S
I2C
ETHERNET
MAC/PHY
SYSTEM
CONTROL
AND
CLOCKS
WATCHDOG
TIMERS
GENERAL
PURPOSE
TIMERS
EXTERNAL
PERIPHERIAL
INTERFACE
ANALOG
COMPARATORS
ADVANCED PERFORMANCE BUS
ADVANCED HIGH PERFORMANCE BUS
APB
AHB
2. LM3S9BB95 microcontroller
Page 11
01
02
Over USB mikroBootloader
Using external mikroProg
or JTAG programmer
Figure 3-1: LM3S9B95
ARM® Cortex™-M3
Microcontroller
The microcontroller can be programmed in two ways:
3. Programming the microcontroller
Page 12
Page 13
You can program the microcontroller with bootloader which is pre
programmed into the device by default. To transfer .HEX le from
a PC to MCU you need bootloader software (mikroBootloader
USB HID) which can be downloaded from:
After software is downloaded unzip it to desired location and start mikroBootloader USB HID software.
http://www.mikroe.com/eng/downloads/get/1752/ mikrobootloader_lm3s9b95_v200.zip
01
02
Programming with mikroBootloader
Figure 3-2: USB HID mikroBootloader window
step 1 – Connecting mikromedia
01
To start, connect the USB cable, or if already connected press the Reset button on your mikromedia board. Click the
”Connect” button within 5s to enter the bootloader mode,
otherwise existing microcontroller program will execute.
Page 13
01
01
02
step 3 – Selecting .HEX le step 2 – Browsing for .HEX le
Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX
01 01
02
Click the ”Browse for HEX” button and from a pop-up window (Figure 3.4) choose the .HEX le which will be uploaded to MCU memory.
Select .HEX le using open dialog window.
Click the ”Open” button.
01
Page 14
Page 15
01
01
step 4 – Uploading .HEX le
Figure 3-5: Begin uploading Figure 3-6: Progress bar
01 01
To start .HEX le bootloading click the
”Begin uploading” button.
You can monitor .HEX le uploading via progress bar
Page 15
01
step 5 – Finish upload
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job
01
Click the ”OK” button after uploading is nished and wait for 5 seconds. Board will automatically reset and your new program will execute.
01
Page 16
Page 17
The microcontroller can be programmed with external mikroProg™ programmer and mikroProg™ for Stellaris® software. The external programmer is connected to the development system via JTAG connector, Figure 3-9. mikroProgis a fast USB 2.0 programmer with hardware Debugger support. It supports ARM® Cortex™-M3 and Cortex™-M4 microcontrollers from Stellaris®. Outstanding performance, easy operation and elegant design are it’s key features.
Figure 3-9:
mikroProg™ JTAG
connector
Programming with mikroProg™ programmer
Page 17
Figure 3-10: mikroProg™ programmer connection schematic
VCC-3.3
TDO-PC3
TCK-PC0
TMS-PC1
TDI-PC2 RESET#
1 3 5 6
4
2
7 8 9 10
CN5
M2X5
R51 100
R52 100
R60 100
001 35R
PC0
PC1
PC2
PC3
R63 10K
VCC-3.3
VCC-3.3
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
45
37
50948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
RESET#
R61 9K1
TCK-PC0
TMS-PC1
TDI-PC2
TDO-PC3
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
C8
100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling
capacitors
Page 18
Page 19
Board is equipped with reset button, which is located at the top of the front side (Figure 4-2). If you want to reset the circuit, press the reset button. It will generate low voltage level on microcontroller reset pin (input). In addition, a reset can be externally provided through pin 27 on side headers (Figure 4-3).
4. Reset Button
Figure 4-2: Frontal reset button
Figure 4-1: Location of additional reset button
You can also solder additional reset button on the appropriate place at the back side of the board, Figure 4-1.
NOTE
Page 19
C5
100nF
C6
100nFC7100nF
C8
100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling
capacitors
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
HDR2
M1X26
VCC-3.3
R8 10K
VCC-3.3
C3 100nF
T1
R7
100
T2
RST
VCC-3.3
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
45
37
50
9
48
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
818283
84
85
86
878889
90
91
92
939495
969798
99
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
R61 9K1
E9 10uF
VCORE
VCORE
Figure 4-3: Reset circuit schematic
Page 20
Page 21
Board is equipped with 8MHz crystal oscillator
(X1) circuit that provides external clock waveform
to the microcontroller OSC0 and OSC1 pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications.
Figure 5-1:
8MHz crystal oscillator
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
OSC0
OSC1
R61 9K1
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
C8
100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling
capacitors
Figure 5-2: Crystal oscillator schematic
5. Crystal oscillator
The use of crystal in all other schematics is implied even if it is purposely left out, because of the schematics clarity.
NOTE:
Page 21
SD-CS#
R11 10K
R10 10K
VCC-MMC
R9 10K
SD-CD#
VCC-MMC
R16
27
VCC-3.3
E6 10uF
C38 100nF
FP1
FERRITE
1 2 4 5 6 7
CD
CS Din +3.3V SCK GND Dout
CD
GND
CN4
MMC CARD MICRO
SCK0-PA2
MOSI0-PA5
MISO0-PA4
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
R5 27
R4 27
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND
VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
SD-CD#
SD-CS#
OSC0
OSC1
MISO0-PA4
SCK0-PA2
MOSI0-PA5
R61 9K1
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
C8
100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling
capacitors
Board contains 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.
Figure 6-3:
Inserting microSD card
Figure 6-1:
microSD card
slot
Figure 6-2: microSD Card Slot module connection schematic
6. MicroSD Card Slot
The development system features a TFT 320x240
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 graphics in 262.144 die rent colors.
Figure 7-1: Touch Screen
7. Touch Screen
Page 22
Page 23
VCC-3.3AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
45
37
50948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
T-D0-PJ0
LCD-BLED
PMWR
PMRD
LCD-RS
T-D2-PJ2
T-D3-PJ3
T-D6-PJ6
DRIVEA
DRIVEB
LCD-CS#
LCD-RST
T-D4-PJ4
T-D7
T-D5-PJ5
R61 9K1
LCD-XL
LCD-YD
T-D1-PJ1
VCORE
E9 10uF
VCORE
R23
4K7
VCC-SYS
LCD-RST
LCD-RS LCD-CS#
LCD-YU
LCD-XL
LCD-YD
LCD-XR
VCC-3.3
E13
10uF
R25 10K
VCC-3.3
R24 10K
LCD-RST LCD-CS#
VCC-3.3
LCD-BLED
R40 12
VCC-SYS
PMRD PMWR
D2 BAT43
LED-A1
2
DB17
15
HSYNC
12
RD
35
VSYNC
11
WR/SCL
36
LED-A2
3
LED-A3
4
LED-A4
5
IM0
6
ENABLE
14
IM1
7
IM2
8
IM3
9
DOTCLK
13
GND
43
SDO
33
RESET
10
RS
37
CS
38
FMARK
39
VCC-IO
40
XR
44
YD
45
XL
46
SDI
34
LED-K
1
YU
47
DB16
16
DB15
17
DB14
18
DB13
19
DB12
20
DB11
21
DB10
22
DB9
23
DB8
24
DB7
25
DB6
26
DB5
27
DB4
28
DB3
29
DB2
30
DB1
31
DB0
32
VCC
41
VCC-I
42
TFT1
MI0283QT2
VCC-3.3
Q9 BC856
Q10 BC846
R58
10K
R41 1K
VCC-1.8
R15
10K
R3 4K7
VCC-3.3
Q8 BC856
VCC-1.8
R55
10K
Q6 BC846
R14
10K
C21
100nF
R42 100K
Q7 BC846
R56
10K
C22
100nF
R57 100K
R54 4K7
VCC-3.3
LCD-XR
LCD-YU
LCD-XL
LCD-YD
DRIVEA
DRIVEB
Q3 BC846
Q2 BC846
Q1 BC846
T-D5-PJ5
T-D7
T-D4-PJ4 T-D3-PJ3 T-D2-PJ2 T-D1-PJ1 T-D0-PJ0
T-D6-PJ6
C5
100nF
C6
100nFC7100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
C8
100nF
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling capacitors
Figure 7-2: Touch Screen connection schematic
Page 24
Page 25
Figure 8-2: Inserting 3.5mm headphones jack
mikromedia for Stellaris
®
M3 features stereo audio codec VS1053. This module
enables audio reproduction by using stereo headphones connected to the system via a 3.5mm connector CN2. All functions of this module are controlled by the microcontroller over Serial Peripheral Interface (SPI).
Figure 8-1:
On-board VS1053
MP3 codec
8. Audio Module
Page 25
Figure 8-3: Audio module connection schematic
MP3-CS#
C20 22pF
C19 22pF
R1 1M
R20 10K
R21 10K
MP3-DREQ
X2
12.288MHz
C13
1uF
GPIO
VCC-3.3
LEFT
RIGHT
GBUF
E1 10uF
E2 10uF
CN2
PHONEJACK
LEFT
RIGHT
C16
10nF
C14
47nF
C15
10nF
R27 10
R3020R31
20
R28 10
R29 10
R32
470
C17
3.3nF
R17 100K
R33
470
C18
3.3nF
R18 100K
L
R
R22 27
23456
7
11
12
13 14
25
24
23
22
21
18
17
16
15
8
1
19
9
1027
2620282930313233343536
37
38
39
40
41
42
43
44
45
46
47
48
MCP/LN1
MICN
XRESET
DGND0
CVDD0
IOVDD0
CVDD1
DREQ
GPIO2
GPIO3
GPIO6
GPIO7
XDCS/BSYNC IOVDD1 VC0 DGND1 XTAL0 XTAL1 IOVDD2 DGND2 DGND3 DGND4 XCS CVDD2
GPIO5RXTX
SCLKSISO
CVDD3
XTEST
GPIO0
GPIO1
GND
GPIO4
AGND0
AVDD0
AVDD2
AGND1
AGND2
AGND3
LN2
LEFT
RCAP
AVDD1
GBUF
RIGHT
VS1053
U2
VCC-1.8
VCC-3.3
MP3-RST#
MP3-RST#
R2 10K
R19 10K
VCC-3.3
MP3-CS#
MP3-DCS
MISO0-PA4
SCK0-PA2
MOSI0-PA5
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
R5 27
R4 27
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
MP3-DCS
MP3-RST#
MP3-DREQ
OSC0
OSC1
MISO0-PA4
SCK0-PA2
MOSI0-PA5
MP3-CS#
R61 9K1
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
C8
100nF
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling capacitors
decoupling capacitors
C11
100nF
C10
100nF
C4
100nFC9100nF
VCC-1.8 VCC-1.8
VCC-1.8 VCC-1.8
C12
100nF
C23
100nF
VCC-3.3
C24
100nF
VCC-3.3
C26
100nF
VCC-3.3 VCC-3.3
C27
100nF
VCC-3.3
Page 26
Page 27
ARM® Cortex™-M3 LM3S9B95 microcontroller has
integrated USB module, which enables you to implement USB communication functionality to your mikromedia board. Connection with target USB host is done over MINI-B USB connector which is positioned next to the battery connector.
Figure 9-1: Connecting
USB cable to MINI-B
USB connector
9. USB connection
Page 27
USBDP
USBDM
VCC-USB
C28 10nF
FP2 FERRITE
R62 100
1 2 3 4 5
GND
ID
D+
D-
VBUS
CN3
USB MINIB
USB-DET
USB-ID
VCC-3.3AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
45
37
50948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
USB-DET USB-ID
USBDM
USBDP
R61 9K1
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
C8
100nF
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling capacitors
Figure 9-2: USB module connection schematic
Page 28
Page 29
VCC-3.3AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
SDA0-PB3
SCL0-PB2
R61 9K1
E9 10uF
VCORE
VCORE
C32 100nF
C33 100nF
VCC-3.3
R12 10K
R13 10K
VCC-3.3
ACC ADDRESS
1 2 3
VCC GND Res
4
GND
5
GND
6
VCC
7
CS
8
INT1
9
INT2
10
NC
11
Res
12
ADD
13
SDA
14
SCL
U9
ADXL345
VCC-3.3
VCC-3.3
VCC-3.3
SDA0-PB3
SCL0-PB2
1 2 3
J1
SMD JUMPER
C5
100nF
C6
100nFC7100nF
C8
100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling
capacitors
On board ADXL345 accelerometer is used to measure acceleration in three axis: x, y and z. The
accelerometer function is dened by the user in 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. Jumper is placed in address 1 position by default.
Figure 10-2: Accelerometer connection schematic
Figure 10-1:
Accelerometer
module
10. Accelerometer
Page 29
C37
100nF
R48 10K
VCC-3.3
VCC-3.3
VCC-3.3
1 2 3
5
4
6
7
8
CS SDO WP GND
SCK
SDI
HOLD
VCC
U10
M25P80
R59 27
FLASH-CS# MISO0-FLASHMISO0-PA4
SCK0-PA2
MOSI0-PA5
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
R5 27
R4 27
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP
USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
FLASH-CS#
OSC0
OSC1
MISO0-PA4
SCK0-PA2
MOSI0-PA5
R61 9K1
E9 10uF
VCORE
VCORE
C5
100nF
C6
100nFC7100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
C8
100nF
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling capacitors
Figure 11-2: Flash memory module connection schematic
Since multimedia applications are getting increasingly demanding, it is necessary to provide additional memory space to be used for storing more data.
The ash memory module enables the
microcontroller to use additional 8Mbit
ash memory. It is connected to the
microcontroller via the Serial Peripheral Interface (SPI).
Figure 11-1:
Flash memory module
11. Flash Memory
Page 30
Page 31
VCC-3.3
R5
27
R4
27
AVCC
302928
27
34
33
58 57 56 55 54 53 52
46
36
35
424344
453750948
49
11 12
32
72
69 68 67 66 65 64 63
4
3
78
77
24
23
18
17
16
15
14
13
5 6 7 8
10
79
80
1 2
22
21
20
19
62 61 60 59
383940
41
47
71
31
51
70
26
25
76
75 74 73
LM3S9B95
81828384858687888990919293949596979899
100
PA7
PA6
ERBIAS
VDD
PF4
PF5
PE5 PE4 LDO VDD
GND VDD
PB1/USB0VBUS
VDD
VDD
TXOP
PJ4
PJ5
PJ6
PJ7
GND
TXON
PB5
PB6
PB7
VDD
VDDC
PJ1
PH2
PH3
GNDA
VDDA
PD5
PD4
PE3
PE2
GND
PB4
PD2
PA2
PC6
PC7
GND
VDD
PG0
PG1
USB0DP USB0DM
NC
PB3/I2C0SDA
PJ0
PD1
PD0
VDDC
PD6
PD7
PE7 PE6
PA1
PA0
PC4
PC5
OSC1
PJ3
PB0/USB0ID
PF2
PF0
OSC0
GND
PJ2
RXIN
MDIO
PF1
PH0
XTALNPHY
XTALPPHY
PH7
PG7
RXIP
PF3
RST
PH1
PA5
PA4
PA3
PD3
GND
PH6
PH5
PB2/I2C0SCL
PC2
PH4
USB0BIAS
PE0
PE1
PC3
PC1
PC0
VDD
GND
U1
PC5
SDA1-PG1 SCL1-PG0
T-D0-PJ0
PC6
PC4
PE4
PE5
PE6
PE7
PA3
PF0
U0Rx-PA0
U0Tx-PA1
MISO0-PA4
T-D2-PJ2
T-D3-PJ3
SCK0-PA2
MOSI0-PA5
T-D6-PJ6
T-D4-PJ4
T-D5-PJ5
SDA0-PB3
PF2 PF3
SCL0-PB2
R61 9K1
PB7
PH1
PH0
PH3
PH2
T-D1-PJ1
MISO1-PE2
MOSI1-PE3
SCK1-PH4
TDI-PC2
TDO-PC3
TMS-PC1
TCK-PC0
PD6
PD5
PD7
E9 10uF
VCORE
VCORE
5AP-0ISOM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
HDR1
M1X26
VCC-3.3
VCC-SYS
PF3
MISO0-PA4
SCK0-PA2
PE4
PE5
PE6
PE7
PD7
PD5
PD6
SCL1-PG0 SDA1-PG1
MISO1-PE2 MOSI1-PE3
SCK1-PH4
PH2 PH3
PH0 PH1
PF0
PB7
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
HDR2
M1X26
VCC-3.3
RST
L R
PC4 PC6
U0Rx-PA0 U0Tx-PA1
3BP-0ADS
SCL0-PB2
PC0 PC1 PC2 PC3 PC5
PF2 PA3
T-D5-PJ5
T-D4-PJ4
T-D3-PJ3
T-D2-PJ2
T-D1-PJ1
T-D0-PJ0
T-D6-PJ6
R7 100
RST
C5
100nF
C6
100nFC7100nF
E8
10uF
VCC-3.3
VCC-3.3 VCC-3.3
VCC-3.3
C8
100nF
VCC-3.3
C31
100nF
VCC-3.3
C35
100nF
VCC-3.3
decoupling capacitors
Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the mikromedia board. They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and others.
Pads HDR2 Pads HDR1
Figure 12-1: Connecting pads schematics
12. Pads
Page 31
SPI LinesInterrupt LinesAnalog Lines
Digital lines
I2C Lines
UART lines
PWM lines
VSYS
RST Reset pin
System power supply
GND
GND Reference Ground
Reference Ground
PE7
L
PE6
R
left ch. right ch.
PWM lines
Digital I/O lines
Digital I/O lines
SPI Lines
Interrupt Lines
Analog Lines
PE5
PF2
PE4
PA3
PD7
PC4
PD6
PC6
PD5
PC0
PH0
PC1
PH1
PC2
PH2
PC3
PH3
PC5
PG0
PJ0
PG1
PJ1
PH4
PJ2
PE2
PJ3
PE3
PJ4
PF0
PJ5
PF3
PJ6
PB7
PA0 RX
PA2
PA1 TX
SCK
PA4
PB2 SCL2
SDI
PA5
PB3 SDA2
SDO
3.3V
3.3V 3.3V power supply
3.3V power supply GND
GND Reference Ground
Reference Ground
Pin functions
Pin functions
audio out
UART Lines
I
2
C Lines
13. Pinout
Page 32
Page 33
73.66 mm
81.15 mm
63.5 mm
2.67 mm2.54 mm
36.58 mm
55.88 mm
60.45 mm
2.03 mm
(3195 mils)
(2900 mils)
(2380 mils)
(2200 mils)
(2500 mils)
(1440 mils)
(105 mils)(100 mils)
(80 mils)
8.89 mm
(350 mils)
7.62 mm (300 mils)
14. Dimensions
Page 33
15. Mikromedia accessories
We have prepared a set of extension boards pin-compatible with your mikromedia, which enable you to easily expand your board basic functionality. We call them mikromedia
shields. But we also oer other
accessories, such as Li-polymer battery, stacking headers, wire jumpers and more.
04
01 02
03
Gaming shield
Connect shield BatteryBoost shield PROTO shield
06 07
Li-Polymer battery Wire Jumpers
05
mikroBUS shield
Page 34
Page 35
You still don’t have an appropriate compiler? Locate ARM® compiler that suits you best on the Product DVD provided with the package:
Choose between mikroC™, mikroBasic™ and mikroPascal™ and download fully functional
demo version, so you can begin building your rst applications.
Once you have chosen your compiler, and since you already got the board, you are ready to start writing your rst
projects. Visual TFT software for rapid development of graphical user interfaces enables you to quickly create your GUI. It will automatically create necessary code which is compatible with mikroElektronika compilers. Visual TFT is rich with examples, which are an excellent starting point for your future projects. Just load the example, read well commented code, and see how it works on hardware. Visual TFT is also available on the Product DVD.
You have now completed the journey through each and every feature of mikromedia for Stellaris® M3 board. You got to know it’s 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. We invite you to join the users of mikromedia™ brand. You will nd very useful projects and tutorials and can get help from a large ecosystem of users. Welcome!
Compiler
Projects
DVD://download/eng/software/compilers/
What’s next?
Page 35
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, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use,
but not for distribution. Any modication of this manual is prohibited.
MikroElektronika 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 tness for a particular purpose.
MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika,
its directors, ocers, employees or distributors be liable for any indirect, specic, incidental or consequential damages (including damages for loss of business prots and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has
been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.
TRADEMARKS
The MikroElektronika name and logo, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, mikroProg™, mikroBUS™, Click Boards™, EasyMx PRO™ and mikromedia™ are trademarks of MikroElektronika. 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 identication or explanation and to the owners’ benet, with no intent to infringe.
Copyright © MikroElektronika, 2012, All Rights Reserved.
HIGH RISK ACTIVITIES
The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-
ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air trac
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’). MikroElektronika and its suppliers specically disclaim any expressed or implied warranty of tness for High
Risk Activities.
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/esupport
If you have any questions, comments or business proposals,
do not hesitate to contact us at oce@mikroe.com
mikromedia for Stellaris® M3 Manual
ver. 1.01b
0 100000 020371
Loading...