mikroElektronika mikromedia for Stellaris M3 User Manual

user's guide to
mikrome ia
board for Stellaris M3
Compact development system rich with on-board peripherals for all-round multimedia development on LM3S9B95 device
Page 3
TO OUR VALUED CUSTOMERS
I want to express my thanks to you for being interested in our products and for having
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.
Nebojsa Matic
General Manager
The Microchip, Atmel, NXP and CYPRESS name, logo and products names are trademarks of Microchip, Atmel, NXP and CYPRESS Inc. in the U.S.A and other countries.
Table of Contents
Introduction to mikromedia for Stellaris® M3 4
Package Contains 5
Key Features 6
System Specication 7
1. USB power supply 8
2. Battery power supply 9
3. Stellaris® LM3S9B95 microcontroller 10
Key microcontroller features 10
4. Programming the microcontroller 11
Programming with mikroBootloader 12
step 1 – Connecting mikromedia 12
step 2 – Browsing for .hex le 13
step 3 – Select .hex le 13
step 4 – .hex le uploading 14
step 5 – Finish upload 15
Programing with mikroProg™ programmer 16
5. Crystal oscillator 18
6. microSD Card Slot 19
7. Touch Screen 20
8. Audio Module 22
9. USB connection 24
10. Accelerometer 26
11. Flash Memory 27
12. Pads 28
13. Pinout 29
14. Dimensions 30
Page 3
Page 5
Introduction to mikromedia for Stellaris
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 the 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, USB connector, MMC/SD card slot and other. It comes pre-programmed with USB bootloader, but can also be programmed with external mikroProg™ for Stellaris® or JTAG programmer. Mikromedia is compact and slim, and
perfectly ts in the palm of the hand, which makes
it convenient platform for mobile devices.
®
M3
Page 4
Package Contains
schematics
Compact development system rich with on-board peripherals for all-round
multimedia development on Stellaris® M3 device
VCC-SYS
1
TFT1
VCC-3.3
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document. Specification and information contained in the present schematic are subject to change at any time without notice.
HW REW. 1.01
Copyright 2003-2011 by MikroElektronika. All rights reserved.
TFT 320x240 display with 262.144 colors
Schematic continues overleaf
R23
4K7
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
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
MI0283QT2
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
DATA BUS
Damage resistant
01
user's guide to
mikrome ia
board for Stellaris M3
04 05
protective box
Compact development system rich with on-board peripherals for all-round multimedia development on LM3S9B95 device
®
mikromedia for Stellaris® M3 user’s guide
mikromedia for Stellaris
02
development system
mikromedia for Stellaris® M3® schematic
Page 5
® M3
DVD with documentation
03
and examples
USB cable
06
Page 7
Key Features
01
Connection Pads
02
TFT 320x240 display
03
USB MINI-B connector
04
Li-Polymer battery connector
05
3.5mm headphone connector
06
Power supply regulator
07
Serial Flash memory
08
VS1053 Stereo mp3 coder/decoder
09
RESET button
10
11
12
13
14
15
®
Stellaris
Accelerometer
8MHz crystal oscillator
microSD Card Slot
Power indicator LED
JTAG programmer connector
ARM® Cortex™-M3 LM3S9B95 device
01
02
Page 6
03
04
05
System Specication
14
06
10
12
07
09
15
11
13
08
power supply
Over a USB cable (5V DC)
power consumption
79 mA with erased MCU
(when on-board modules are inactive)
board dimensions
8 x 6cm (3.14 x 2.36 inch)
weight
~46 g (0.10 lbs)
Page 7
Page 9
1. USB power supply
Figure 1-1:
Powering your
mikromedia board
with USB cable
You can apply power supply to the board using MINI-B USB cable provided with the board. On-board voltage regulators will make sure to regulate the appropriate voltage levels to each part of the board. Power LED will indicate the presence of power supply.
Page 8
VCC-SYS
VCC-3.3
E3
10uF
E4 10uF
R26
2K2
VCC-BAT
D1 PMEG3010ER
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
VCC-SYS
VCC-BAT
VCC-USB
R43
10K
R37
10K
R36 10K
VCC-3.3
STAT
R38 10K
R45 1K
VCC-3.3
E5 10uF
R35 10K
VCC-3.3
R49 4K7
3
1
2
GND
Vin
Vout
REG1
LD29080DT33
VCC-BAT
LD1A GREEN
LD2B RED
1 2
CN1
BATT CONN
M1
DMP2160UW
2 3
5
4
1
STAT VSS VBAT
PROG
VDD
U5
MCP73832
Q4 BC846Q5BC846
DATA BUS
2. Battery power supply
Figure 2-1: Connecting Li-polymer battery to mikromedia board
Figure 2-2: Battery charger and power management connection schematics
Page 9
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. Charging current is ~250mA and charging voltage is 4.2V DC.
Page 11
®
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
3. Stellaris
The mikromedia for Stelaris® 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;
- 8/16/32-bit architecture;
- 256KB of Flash memory;
- 96KB of SRAM memory;
- 65 I/O pins;
- 32kHz RTCC;
- IEEE 1588
- Ethernet, UART, SPI, ADC, etc.
LM3S9B95 microcontroller
Page 10
4. Programming the microcontroller
The microcontroller can be programmed in two ways:
Over USB mikroBootloader
01
Using external JTAG or mikroProg™ programmer
02
Figure 4-1: LM3S9B95
ARM® Cortex™-M3
Microcontroller
Page 11
Page 13
Programming with mikroBootloader
You can program the microcontroller with bootloader which is
preprogrammed 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:
http://www.mikroe.com/eng/downloads/get/1752/ mikrobootloader_lm3s9b95_v160.zip
After software is downloaded unzip it to desired location and start mikroBootloader USB HID software.
step 1 – Connecting mikromedia
01
02
Figure 4-2: mikroBootloader USB HID
Connect mikromedia board with a PC via USB cable and USB
01
icon will turn red.
Click the Connect button whitin 5s, otherwise existing
02
microcontroller program will execute.
Page 12
step 3 – Select .hex le step 2 – Browsing for .hex le
01
01
Figure 4-3: Browse for HEX Figure 4-4: Selecting HEX
01
Click on Browse for HEX button
01
Page 13
Select .hex le via open window
01
Click on Open button
02
Page 15
step 4 – .hex le uploading
01
Figure 4-5: Begin uploading Figure 4-6: Progress bar
01
To start .hex le uploading click on Begin uploading
01 01
button
Page 14
You can monitor .hex le uploading via progress bar
step 5 – Finish upload
01
Figure 4-7: Restarting MCU
To nish uploading click on OK button
01
Figure 4-8: mikroBootloader ready for next job
Page 15
Programing with mikroProg
programmer
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 4-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 4-9:
mikroProg™ JTAG
connector
Page 16
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
Figure 4-10: mikroProg™ programmer connection schematics
Page 17
Page 19
5. Crystal oscillator
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
AVCC
3029282734
33
58 57 56 55 54 53 52
46
3635424344
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
Board is equipped with 8Mhz crystal oscillator circuit that provides stable clock signal to the microcontroller OSC pins. Internally, this signal is used for creating the clock necessary for the operation of microcontroller.
Figure 5-1:
8MHz crystal oscillator
Page 18
Figure 5-2: Crystal oscillator schematics
6. microSD Card Slot
SD-CS#
R11 10K
R10 10K
VCC-MMC
R9 10K
SD-CD#
SD-CS#
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
MISO0-MMC
MISO0-PA4
SCK0-PA2
MOSI0-PA5
MISO0-PA4
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
R5 27
R4 27
AVCC
3029282734
33
58 57 56 55 54 53 52
46
3635424344
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
SCK0-MCU
MISO0-PA4
MOSI0-MCU
SCK0-PA2
MOSI0-PA5
R61 9K1
E9 10uF
VCORE
VCORE
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-1:
microSD card slot
Page 19
Figure 6-3:
Inserting microSD card
Figure 6-2: microSD Card Slot module connection schematics
7. Touch Screen
Figure 7-1: Touch Screen
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 data in 262.000 die rent colors.
Page 20
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
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
Figure 7-2: Touch Screen connection schematics
Page 21
8. Audio Module
Figure 8-1:
On-board VS1053
MP3 codec
Figure 8-2: Inserting 3.5mm headphones jack
mikromedia for Stellaris 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).
Page 22
®
M3 features MP3 codec audio controller VS1053. This
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
C11
100nF
C10
100nF
C4
100nF
C12
100nF
C9
100nF
C23
100nF
VCC-3.3
C24
100nF
VCC-3.3
C26
100nF
VCC-3.3 VCC-3.3
C27
100nF
VCC-1.8 VCC-1.8
VCC-1.8 VCC-1.8
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
VCC-3.3
C2 22pF
C1
22pF
X1
8MHz
R5 27
R4 27
AVCC
302928
273433
58 57 56 55 54 53 52
46
3635424344
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
SCK0-MCU
MISO0-PA4
MOSI0-MCU
SCK0-PA2
MOSI0-PA5
MP3-CS#
R61 9K1
E9 10uF
VCORE
VCORE
Figure 8-3: Audio module connection schematics
Page 23
Page 25
9. USB connection
LM3S9B95 microcontroller has integrated USB module, which
enables you to implement USB communication functionality of 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 programming
connector
Page 24
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
Figure 9-2: USB module connection schematics
Page 25
Page 27
VCC-3.3AVCC
3029282734
33
58 57 56 55 54 53 52
46
3635424344
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
10. Accelerometer
On board ADXL345 accelerometer, among other features, can be used to measure acceleration in three axis: x, y, and z. The accelerometer’s 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.
Figure 10-2: Accelerometer connection schematics
Page 26
Figure 10-1:
Accelerometer
module
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.
11. Flash Memory
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
SCK0-MCU
MISO0-PA4
MOSI0-MCU
SCK0-PA2
MOSI0-PA5
R61 9K1
E9 10uF
VCORE
VCORE
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
Flash memory module
Figure 11-1:
microcontroller via the Serial Peripheral
Figure 11-2: Flash memory module connection schematics
Page 27
Interface (SPI).
Page 29
VCC-3.3
R5 27
R4 27
AVCC
3029282734
33
58 57 56 55 54 53 52
46
3635424344
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
SCK0-MCU
MISO0-PA4
T-D2-PJ2
MOSI0-MCU
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
SCK SDI SDO
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
RX TX
SDA
SCL
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
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
12. Pads
Pads HDR2 Pads HDR1
Most microcontroller pins are available for further connectivity via two 1x26 rows of connection
Figure 12-1: Pads connecting schematics
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 with underlined silkscreen markings have multiple functions (see the complete schematic for more information).
Page 28
13. Pinout
VSYS RST Reset pinSystem power supply
GND GND Reference GroundReference Ground
PE7 L PE6 R
Analog Lines
Interrupt Lines
Digital I/O lines
SPI Lines
Pin functions Pin functions
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 TXSCK
PA4 PB2 SCL2SDI
PA5 PB3 SDA2SDO
3.3V 3.3V 3.3V power supply3.3V power supply GND GND Reference GroundReference Ground
left ch. right ch.
PWM lines
Digital I/O lines
audio out
UART Lines
2
C Lines
I
Digital lines
SPI LinesInterrupt LinesAnalog Lines
Page 29
I2C Lines
UART lines
PWM lines
Page 31
80.90 mm (3.18”)
73.01 mm (2.87”)
69.85 mm (2.75”)
2.54 mm (0.10”)4.45 mm (0.17”) 2.77 mm (0.11”)
60.56 mm (2.38”)
5.08 mm (0.20”)
36.55 mm (1.44”)
55.47 mm (2.18”)
50.27 mm (1.98”)
14. Dimensions
Page 30
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 Mik-
roElektronika, 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.
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 hazardous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air trac control, di­rect 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.
TRADEMARKS
The Mikroelektronika name and logo, the Mikroelektronika logo, mikroC, mikroC PRO, mikroBasic, mikroBasic PRO, mikroPascal, mikroPascal PRO, AVRash, PICash, dsPICprog, 18FJprog, PSOCprog, AVRprog, 8051prog, ARMash, EasyPIC5, EasyPIC6, BigPIC5, BigPIC6, dsPIC PRO4, Easy8051B, EasyARM, EasyAVR5,
EasyAVR6, BigAVR2, EasydsPIC4A, EasyPSoC4, EasyVR Stamp LV18FJ, LV24-33A, LV32MX, XMEGAMX4 MultiMedia Board, PICPLC16, PICPLC8 PICPLC4, SmartGSM/GPRS, UNI-DS 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.
© Mikroelektronika™, 2011, All Rights Reserved.
Page 31
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/en/support
If you have any questions, comments or business proposals,
do not hesitate to contact us at oce@mikroe.com
Loading...