mikromedia - tme · confidence in mikroelektronika. the primary aim of our company is to design and...
TRANSCRIPT
Compact multimedia development system rich with on-board peripherals for
all-round development on LM3S9B95 device
for Stellaris® M3mikromedia™
Page 2
I want to express my thanks to you for being interested in our products and for having
confidence 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 Specification 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 file 13
step 3 – Selecting .HEX file 13
step 4 – Uploading .HEX file 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
Page 3
Table of Contents
Page 4
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 flash 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 fits in the palm of your hand,
which makes it a convenient platform for mobile
devices.
Introduction to mikromedia for Stellaris® M3
Page 5
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
Page 6 Page 7
01
02
10Key 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
Page 6 Page 7
System Specification
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
Page 8 Page 9
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
Page 8 Page 9
VCC-1.8VREF-1.8
E1110uF
FP3
FERRITE
VCC-3.3AVCCFP4
FERRITEC25
100nF
VCC-SYS VCC-3.3
E310uF
E410uF
R26
2K2
VCC-BAT
R443K9
Charging Current approx. 250mA
R394K7
VCC-3.3
E7 10uF C40
2.2uF
R344K7
R64K7
VCC-BAT
VSENSE
VCC-SYS
R37
10K
R3610K
VCC-3.3
STAT
R3810K
R451K
VCC-3.3
E510uF
R3510K
VCC-3.3
C29
2.2uF
VCC-3.3
R4622K
E10
10uF
R47120K
VCC-1.8
VCC-1.8
R5012K1
123
5
4
VinGNDEN ADJ
Vout
U3
AP7331-ADJ
R494K7
3
12
GNDVin
Vout
REG1
LD29080DT33
VCC-BAT
LD1GREEN
LD2RED
12
CN1
BATT CONN
23
5
4
1STATVSSVBAT VDD
PROG
U5
MCP73832
Q4BC846
Q5BC846
D1PMEG3010ER
VCC-SYSVCC-BAT
VCC-USB
R43
10K
M1DMP2160UW
DAT
A BU
S 1234567891011121314151617181920212223242526
HDR1
M1X26
HDR2
M1X26
VCC-3.3 VCC-3.3
VCC-SYSVCC-USB
C2810nF
FP2FERRITE
12345 GND
IDD+D-VBUS
CN3
USB MINIB
2728293031323334353637383940414243444546474849505152
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
PWMQEI
ADC
FLASH
SRAM
UART
I2S
I2C
ETHERNETMAC/PHY
SYSTEMCONTROL
AND CLOCKS
WATCHDOGTIMERS
GENERALPURPOSETIMERS
EXTERNALPERIPHERIALINTERFACEANALOGCOMPARATORS
AD
VA
NCED
PER
FOR
MA
NCE B
US�
AD
VA
NCED
HIG
H P
ERFO
RM
AN
CE BU
SA
PB A
HB
2. LM3S9BB95 microcontroller
Page 10 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 file 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 12 Page 13
01
01
02
step 3 – Selecting .HEX file step 2 – Browsing for .HEX file
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 file which will be uploaded to MCU memory.
Select .HEX file using open dialog window.
Click the ”Open” button.
01
Page 14 Page 15
01
01
step 4 – Uploading .HEX file
Figure 3-5: Begin uploading Figure 3-6: Progress bar
01 01To start .HEX file bootloading click the ”Begin uploading” button.
You can monitor .HEX file uploading via progress bar
Page 14 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 finished 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. mikroProg™ is 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 16 Page 17
Figure 3-10: mikroProg™ programmer connection schematic
VCC-3.3
TDO-PC3TCK-PC0TMS-PC1
TDI-PC2RESET#
135 6
42
7 89 10
CN5
M2X5
R51
100
R52
100
R60
100
00135
R
PC0PC1
PC2PC3
R6310K
VCC-3.3
VCC-3.3
AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
7026
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GNDP
J2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
RESET#
R619K1
TCK
-PC
0TM
S-P
C1
TDI-P
C2
TDO
-PC
3
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
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
decouplingcapacitors
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 buttonFigure 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 18 Page 19
C5
100nF
C6
100nF
C7
100nF
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
decouplingcapacitors
2728293031323334353637383940414243444546474849505152
HDR2
M1X26
VCC-3.3
R810K
VCC-3.3
C3100nF
T1
R7
100
T2
RST
VCC-3.3
AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
7026
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GNDP
J2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
R619K1
E910uF
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
C222pF
C122pF
X1
8MHz
AVCC30292827 3433
58575655545352
463635 42 43 44 4537 50
948 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
OS
C0
OS
C1
R619K1
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
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
decouplingcapacitors
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 20 Page 21
SD-CS#
R1110K
R1010K
VCC-MMC
R910K
SD-CD#
VCC-MMC
R16
27
VCC-3.3
E610uF
C38100nF
FP1
FERRITE
124567
CD
CSDin+3.3VSCKGNDDout
CDGND
CN4MMC CARD MICRO
SCK0-PA2
MOSI0-PA5
MISO0-PA4
VCC-3.3
C222pF
C122pF
X1
8MHz
R527
R427
AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 509
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 4771
31
51
70
26
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
SD-CD#
SD-CS#
OS
C0
OS
C1
MIS
O0-
PA
4
SC
K0-
PA
2
MO
SI0
-PA
5
R619K1
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
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
decouplingcapacitors
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 use of crystal in all other schematics is implied even if it is purposely left out, because of the schematics clarity.
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 diffe rent colors.
Figure 7-1: Touch Screen
7. Touch Screen
Page 22
Page 23
VCC-3.3AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
INMDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
T-D0-PJ0LCD-BLED
PM
WR
PM
RD
LCD
-RS
T-D
2-P
J2
T-D
3-P
J3
T-D6-PJ6
DRIVEADRIVEB
LCD-CS#LCD-RST
T-D4-PJ4
T-D7
T-D5-PJ5
R619K1
LCD
-XL
LCD
-YD
T-D
1-P
J1
VCORE
E910uF
VCORE
R23
4K7
VCC-SYS
LCD-RST
LCD-RSLCD-CS#
LCD-YULCD-XLLCD-YDLCD-XR
VCC-3.3
E1310uF
R2510K
VCC-3.3
R2410K
LCD-RSTLCD-CS#
VCC-3.3
LCD-BLED
R4012
VCC-SYS
PMRDPMWR
D2BAT43
LED-A12
DB1715
HSYNC12
RD35
VSYNC11
WR/SCL36
LED-A23
LED-A34
LED-A45
IM06
ENABLE14
IM17
IM28
IM39
DOTCLK13
GND43
SDO33
RESET10
RS37
CS38
FMARK39
VCC-IO40
XR44
YD45
XL46
SDI34
LED-K1
YU47
DB1616
DB1517
DB1418
DB1319
DB1220
DB1121
DB1022
DB923
DB824
DB725
DB626
DB527
DB428
DB329
DB230
DB131
DB032
VCC41
VCC-I42
TFT1
MI0283QT2
VCC-3.3
Q9BC856
Q10BC846
R58
10K
R411K
VCC-1.8
R15
10K
R34K7
VCC-3.3
Q8BC856
VCC-1.8
R55
10K
Q6BC846
R14
10K
C21
100nF
R42100K
Q7BC846
R56
10K
C22
100nF
R57100K
R544K7
VCC-3.3
LCD-XR
LCD-YU
LCD-XL
LCD-YD
DRIVEA
DRIVEB
Q3BC846
Q2BC846
Q1BC846
T-D5-PJ5
T-D7
T-D4-PJ4T-D3-PJ3T-D2-PJ2T-D1-PJ1T-D0-PJ0
T-D6-PJ6
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-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 24 Page 25
Figure 8-3: Audio module connection schematic
MP3-CS#
C2022pF
C1922pF
R1 1M
R2010K
R21 10K
MP
3-D
RE
Q
X2
12.288MHzC13
1uF
GP
IO
VCC-3.3
LEFT
RIGHT
GBUF
E1 10uF
E2 10uF
CN2
PHONEJACK
LEFT
RIGHT
C16
10nF
C14
47nF
C15
10nF
R2710
R3020
R3120
R28 10
R29 10
R32
470C173.3nF
R17100K
R33
470C183.3nF
R18100K
L
R
R2227
2345671112
1314
25
24232221
18171615
8 1
19
9102726
20
28 29 30 31 32 33 34 35 36
373839404142434445464748M
CP
/LN
1M
ICN
XR
ES
ET
DG
ND
0C
VD
D0
IOV
DD
0C
VD
D1
DR
EQ
GP
IO2
GP
IO3
GP
IO6
GP
IO7
XDCS/BSYNCIOVDD1VC0DGND1XTAL0XTAL1IOVDD2DGND2DGND3DGND4XCSCVDD2
GP
IO5
RX
TX SC
LKS
IS
OC
VD
D3
XTE
ST
GP
IO0
GP
IO1
GN
DG
PIO
4
AGND0AVDD0
AVDD2
AGND1AGND2
AGND3LN2
LEFT
RCAPAVDD1
GBUF
RIGHT
VS1053
U2
VCC-1.8 VCC-3.3
MP
3-R
ST#
MP3-RST#
R210K
R1910K
VCC-3.3
MP3-CS#
MP3-DCS
MIS
O0-
PA
4
SC
K0-
PA
2M
OS
I0-P
A5
VCC-3.3
C222pF
C122pF
X1
8MHz
R527
R427
AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B958182838485868788899091929394959697989910
0
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2P
F0O
SC
0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
MP3-DCS
MP
3-R
ST#
MP
3-D
RE
Q
OS
C0
OS
C1
MIS
O0-
PA
4
SC
K0-
PA
2
MO
SI0
-PA
5
MP3-CS#
R619K1
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-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
100nF
C9
100nF
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 26 Page 27
USBDPUSBDM
VCC-USB
C2810nF
FP2FERRITER62 100
12345 GND
IDD+D-VBUS
CN3
USB MINIB
USB-DET
USB-ID
VCC-3.3AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 772423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
7131
51
70
26
2576
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDDV
DD
TXO
P
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1P
H0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
USB-DETUSB-ID
USBDMUSBDP
R619K1
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-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
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
SDA0-PB3
SCL0-PB2
R619K1
E910uF
VCORE
VCORE
C32100nF
C33100nF
VCC-3.3
R1210K
R1310K
VCC-3.3
ACC ADDRESS123
VCCGNDRes
4GND
5GND
6VCC
7C
S
8INT1
9INT2
10NC
11Res
12ADD
13SDA
14S
CL
U9
ADXL345
VCC-3.3
VCC-3.3 VCC-3.3
SDA0-PB3
SCL0-PB2
123
J1
SMD JUMPER
C5
100nF
C6
100nF
C7
100nF
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
decouplingcapacitors
On board ADXL345 accelerometer is used to
measure acceleration in three axis: x, y and z. The
accelerometer function is defined 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 28 Page 29
C37
100nF
R4810K
VCC-3.3
VCC-3.3
VCC-3.3
123
54678
CSSDOWPGND
SCKSDI
HOLDVCC
U10
M25P80
R59 27
FLASH-CS#MISO0-FLASHMISO0-PA4
SCK0-PA2MOSI0-PA5
VCC-3.3
C222pF
C122pF
X1
8MHz
R527
R427
AVCC
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
3272
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B958182838485868788899091929394959697989910
0
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RSTP
H1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
FLASH-CS#
OS
C0
OS
C1
MIS
O0-
PA
4
SC
K0-
PA
2
MO
SI0
-PA
5
R619K1
E910uF
VCORE
VCORE
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-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 flash memory module enables the
microcontroller to use additional 8Mbit
flash 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
30292827 3433
58575655545352
463635 42 43 44 4537 50
9
48 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
10
7980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
LM3S9B95
81828384858687888990919293949596979899100
PA
7P
A6
ER
BIA
SV
DD
PF4
PF5
PE5PE4LDOVDD
GNDVDD
PB1/USB0VBUS
VDD
VD
DTX
OP
PJ4PJ5PJ6PJ7
GN
DTX
ON
PB
5P
B6
PB
7
VD
D
VD
DC
PJ1
PH
2P
H3
GNDAVDDA
PD
5P
D4
PE
3P
E2
GN
D
PB
4
PD2
PA
2
PC6PC7GNDVDDPG0PG1
USB0DPUSB0DM
NC
PB3/I2C0SDA
PJ0
PD1PD0
VD
DC
PD
6P
D7
PE7PE6
PA
1P
A0
PC4PC5
OS
C1
PJ3
PB0/USB0ID
PF2
PF0
OS
C0
GND
PJ2
RX
IN
MDIO
PF1
PH
0
XTALNPHYXTALPPHYPH7
PG
7
RX
IP
PF3
RST
PH
1
PA
5P
A4
PA
3
PD3
GND
PH6PH5
PB2/I2C0SCL
PC
2
PH
4
USB0BIASPE0PE1
PC
3
PC
1P
C0
VD
DG
ND
U1
PC5
SDA1-PG1SCL1-PG0
T-D0-PJ0
PC6
PC4
PE4PE5
PE6PE7
PA
3
PF0
U0R
x-P
A0
U0T
x-P
A1
MIS
O0-
PA
4
T-D
2-P
J2
T-D
3-P
J3
SC
K0-
PA
2
MO
SI0
-PA
5
T-D6-PJ6
T-D4-PJ4T-D5-PJ5
SDA0-PB3
PF2PF3
SCL0-PB2
R619K1
PB
7
PH
1P
H0
PH
3P
H2
T-D
1-P
J1
MIS
O1-
PE
2M
OS
I1-P
E3
SC
K1-
PH
4
TDI-P
C2
TDO
-PC
3
TMS
-PC
1TC
K-P
C0
PD
6P
D5
PD
7
E910uF
VCORE
VCORE
5AP-0ISOM
1234567891011121314151617181920212223242526
HDR1
M1X26
VCC-3.3
VCC-SYS
PF3
MISO0-PA4SCK0-PA2
PE4PE5PE6PE7
PD7
PD5PD6
SCL1-PG0SDA1-PG1
MISO1-PE2MOSI1-PE3
SCK1-PH4
PH2PH3
PH0PH1
PF0
PB7
2728293031323334353637383940414243444546474849505152
HDR2
M1X26
VCC-3.3
RST
LR
PC4PC6
U0Rx-PA0U0Tx-PA1
3BP-0ADSSCL0-PB2
PC0PC1PC2PC3PC5
PF2PA3
T-D5-PJ5T-D4-PJ4T-D3-PJ3T-D2-PJ2T-D1-PJ1T-D0-PJ0
T-D6-PJ6
R7 100RST
C5
100nF
C6
100nF
C7
100nF
E8
10uF
VCC-3.3 VCC-3.3 VCC-3.3VCC-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 HDR1Figure 12-1: Connecting pads schematics
12. Pads
Page 30 Page 31
SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines
VSYS RST Reset pinSystem power supplyGND GND Reference GroundReference GroundPE7 LPE6 R
left ch.right ch.
PWM lines
Digital I/O lines
Digital I/O lines
SPI Lines
Interrupt Lines
Analog LinesPE5 PF2PE4 PA3PD7 PC4PD6 PC6PD5 PC0PH0 PC1PH1 PC2PH2 PC3PH3 PC5PG0 PJ0PG1 PJ1PH4 PJ2PE2 PJ3PE3 PJ4PF0 PJ5PF3 PJ6PB7 PA0 RXPA2 PA1 TXSCKPA4 PB2 SCL2SDIPA5 PB3 SDA2SDO
3.3V 3.3V 3.3V power supply3.3V power supplyGND GND Reference GroundReference Ground
Pin functions Pin functions
audio out
UART Lines
I2C Lines
13. Pinout
Page 32 Page 33
73.66 mm
81.15 mm
63.5 mm
2.67 mm2.54 mm
36.5
8 m
m
55.8
8 m
m
60.4
5 m
m
2.03
mm
(3195 mils)
(2900 mils)
(238
0 m
ils)
(220
0 m
ils)
(2500 mils)
(144
0 m
ils)
(105 mils)(100 mils)
(80
mils
)
8.89
mm
(350
mils
)7.
62 m
m(3
00 m
ils)
14. Dimensions
Page 32 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 offer 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 07Li-Polymer battery Wire Jumpers05 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 first applications.
Once you have chosen your compiler, and since you already got the board, you are ready to start writing your first
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 find 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 34 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 modification 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 fitness 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, 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 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 identification or explanation and to the owners’ benefit, 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 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’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness 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 [email protected]
mikromedia for Stellaris® M3 Manual
ver. 1.01b
0 100000 020371