Beruflich Dokumente
Kultur Dokumente
microcontrollers supported
Multimedia peripherals
mikroBUS sockets
Amazing Connectivity
In-Circuit Debugger
USER'S GUIDE
EasyMx
PRO
for Stellaris ARM
v7
Nebojsa Matic,
Owner and General Manager
of mikroElektronika
Table of contents
Introduction
Communication
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
04
USB-UART A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
05
USB-UART B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
24
25
Ethernet communication . . . . . . . . . . . . . . . . . . . . . . . . . .
26
CAN communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
Power Supply
Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
06
Supported MCUs
Default MCU card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
08
11
Programmer/debugger
Multimedia
Audio Input/Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
29
30
31
Navigation switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
Piezo Buzzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
On-board programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
13
14
Programming software . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
Other Modules
Hardware Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
34
35
36
Connectivity
Input/Output Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
I2C EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
mikroBUS sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20
ADC inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
Click Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
Additional GNDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
page 3
introduction
Introduction
ARM Cortex-M3 and Cortex-M4 are increasingly popular
microcontrollers. They are rich with modules, with high performance and
low power consumption, so creating a development board the size of
EasyMx PRO v7 for Stellaris was really a challenge. We wanted to
put as many peripherals on the board as possible, to cover many
internal modules. We have gone through a process of fine tuning
the board performance, and used 4-layer PCB to achieve maximum
efficiency. Finally, it had met all of our expectations, and even
exceeded in some. We present you the board which is powerful,
well organized, with on-board programmer and debugger and
is ready to be your strong ally in development.
EasyMx PRO v7 for Stellaris development Team
Amazing connectivity
mikroProg on board
Multimedia peripherals
mikroBUS support
page 4
EasyMx PROv7
introduction
System Specification
power supply
723V AC or 932V DC
or via USB cable (5V DC)
and professionals
power consumption
board dimensions
266 x 220mm (10.47 x 8.66 inch)
weight
~445g (0.981 lbs)
Package contains
20122011
www.mikroe.com
Damage resistant
protective box
EasyMx PROv7
USB cable
page 5
power supply
Power supply
Board contains switching power
supply that creates stable voltage
and current levels necessary
for powering each part of
the board. Power supply
section contains specialized
MC33269DT3.3 power regulator
which creates VCC-3.3V power supply,
thus making the board capable of supporting
3.3V microcontrollers. Power supply unit can be
powered in three different ways: with USB power supply
(CN5), using external adapters via adapter connector (CN16)
or additional screw terminals (CN15). External adapter voltage levels
must be in range of 9-32V DC and 7-23V AC. Use jumper J1 to specify
which power source you are using. Upon providing the power using either external
adapters or USB power source you can turn on power supply by using SWITCH 1 (Figure
3-1). Power LED ON (Green) will indicate the presence of power supply.
1
3
VCC-5V
E16
220uF/35V/LESR
Vin
Vout
LD1
VCC-3.3V
C35
100nF
MC33269DT3.3
C36
100nF
VCC-USB
VCC-5V
REG1
GND
POWER
E14
10uF
FP1
R59
2K2
DC2
100nF
D+ 3
GND 4
USB B
VCC-5V
1
SWITCH1
CN5
VCC 1
U7
VCC-USB
1
VCC-SW
L1
220uH
J1
3
E17
220uF/35V/LESR
D6
MBRS140T3
C39
220pF
SWC
SWE
CT
GND
DRVC
IPK
VIN
CMPR
MC34063A
R66
0.22
D1
D2
1N4007
1N4007 -
D4
D5
CN16
6
5
VCC-EXT
VCC-SW
R70
3K
E18
1N4007
220uF/35V/LESR
CN15
1N4007
R71
1K
EasyMx PROv7
Power capacity:
power supply
Power supply:
Set J1 jumper to
USB position
To power the board with USB cable, place jumper J1
in USB position. You can then plug in the USB cable
as shown on images 1 and 2 , and turn the power
switch ON.
2. Using adapter
Set J1 jumper to
EXT position
To power the board via adapter connector, place jumper
J1 in EXT position. You can then plug in the adapter
cable as shown on images 3 and 4 , and turn the
power switch ON.
EasyMx PROv7
page 7
supported MCUs
VREF jumper. This jumper determines whether PB6 pin is used as voltage
reference for A/D converter, or it is used as general purpose I/O pin. Jumper is
soldered to VREF position by default.
Please note that if VREF jumper is soldered to I/O position Touch Panel
controller will not operate correctly, because it uses voltage from this pin as
a reference for A/D conversion.
EasyMx PROv7
C2
100nF
C3
100nF
VCC
C4
100nF
VCC
C5
100nF
VCC
C6
100nF
VCC
C7
100nF
PG7
PA6
PA4
PA2
PA0
VCC
VCC
supported MCUs
C1
100nF
VCC
VCC
PF0
TX_P
PF5
RX_N
VCC
103
101
99
97
95
93
91
89
87
85
83
81
79
VCC
C8
100nF
VCC_CORE
C11
2u2
C12 22pF
VCC
VCC
X1 8MHz
R1
E1
10uF
PA5
PA4
PA3
PA2
PA1
PA0
PJ3
OSC1
OSC0
PF0
TX_N
VCC_CORE
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
VCC
E2
10uF
12K4
C13 22pF
RX_N
PG7
PA7
PA6
C10
100nF
TX_P
PF4
PF5
RX_P
PJ2
C9
100nF
PJ2
PA7
PA5
PA3
PA1
GND
GND
PJ3
TX_N
PF4
RX_P
104
102
100
98
96
94
92
90
88
86
84
82
80
HD3
VCC
PJ4
PJ6
PF3
PF1
PH5
PB3
PB1
USB-D_P
PE0
GND
GND
VCC
1
3
5
7
9
11
13
15
17
19
21
23
25
PJ4
PJ5
PJ6
PJ7
2
GND
PJ5
4
PJ7
6
8
PF2
PH6
10
RST#
12
PB0
14
16 USB-D_M
18
PB2
PE1
20
GND
22
24
VREF
26
GND
R2
10K
PF3
PF2
PF1
PH6
PH5
RST#
PB3
PB0
PB1
HD1
PC4
PC5
PC6
PC7
GND
VDD
PG0
PG1
XTALNPHY
XTALPPHY
PH7
PJ0
PD3
PD2
PD1
PD0
GND
VDD
LDO
PE4
PE5
GNDA
VDDA
PE6
PE7
LM3S9B95
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
PC4
PC5
PC6
PC7
PG0
PG1
XTALN
XTALP
PH7
PJ0
PD3
PD2
PD1
PD0
GND
PC4
PC6
PG0
X2
25MHz
C14
22pF
C15
22pF
PH7
PD3
PD1
PE4
PE6
GND
78
76
74
72
70
68
66
64
62
60
58
56
54
77
75
73
71
69
67
65
63
61
59
57
55
53
VCC
PC5
PC7
PG1
PJ0
PD2
PD0
PE5
PE7
VCC
HD4
PE4
PE5
PE6
PE7
PH4
PC3
PC2
PC1
PC0
VDD
GND
PH3
PH2
PH1
PH0
PJ1
VDDC
PB7
PB6
PB5
PB4
VDD
GND
PE2
PE3
PD4
PD5
PD6
PD7
PE0
PE1
NC
PJ4
PJ5
PJ6
PJ7
VDD
GND
MDIO
PF3
PF2
PF1
PH6
PH5
RST
PB3/I2C0SDA
PB0/USB0ID
PB1/USB0VBUS
VDD
GND
USB0DM
USB0DP
PB2/I2C0SCL
USB0BIAS
PE0
PE1
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
R3
9K1
USB-D_N
USB-D_P
PB2
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
PJ3
OSC1
OSC0
PF0
TXON
GND
VDD
TXOP
PF4
PF5
RXIP
PJ2
VDDC
RXIN
PG7
PA7
PA6
ERBIAS
VDD
PA5
PA4
PA3
PA2
PA1
PA0
U1
PE2
PE3
PD4
PD5
PD6
PD7
PB7
PB5
PB4
E4
10uF
1 VREF
2
3 PB6
PH3
PH2
PH1
PH0
PJ1
VCC
E3
10uF
PH4
PC3
PC2
PC1
PC0
VCC
GND
28
30
32
34
36
38
40
42
44
46
48
50
52
GND
PC3
PC1
PH3
PH1
PJ1
PB6
PB4
PE3
PD5
PD7
J1
VCC
VCC
PH4
PC2
PC0
PH2
PH0
PB7
PB5
PE2
PD4
PD6
27
29
31
33
35
37
39
41
43
45
47
49
51
HD2
EasyMx PROv7
page 9
supported MCUs
1
Figure 4-3: On-board MCU
socket has silkscreen
markings which will help
you to correctly orient the
MCU card before inserting.
page 10
2
Figure 4-4:
Place the
MCU card on
the socket
so that pins
are aligned
correctly.
3
Figure 4-5 Properly
placed MCU card.
EasyMx PROv7
mikroElektronika currently offers total of two populated MCU cards: one with default
LM3S9B95 Cortex-M3 microcontroller and one with LM4F232H5QD Cortex-M4
microcontroller. You can also purchase empty PCB cards that you can populate on
your own and solder any supported microcontroller you need in your development.
There are total of seven empty PCB cards available. This way your EasyMx PRO v7
for Stellaris board becomes truly flexible and reliable tool for almost any of your
ARM projects. MCU cards can also be used in your final devices. For complete list of
currently available MCU cards, please visit the board webpage:
http://www.mikroe.com/eng/products/view/792/easymx-pro-v7-for-stellaris-arm/
EasyMx PROv7
page 11
supported MCUs
programming
On-board
programmer
What is mikroProg?
mikroProg is a fast programmer and debugger which is based on TI ICDI debugger. Smart engineering allows mikroProg
to support over 270 ARM Cortex-M3 and Cortex-M4 devices from Stellaris in a single programmer. It also features a
powerful debugger which will be of great help in your development. Outstanding performance and easy operation are among it's
top features.
VCC-USB
VCC-USB
CN5
FP1
LD2
VCC
D-
USB-PROG_N
D+
USB-PROG_P
GND
USB B
Enabling mikroProg
LINK
VCC-3.3V
R7
2K2
PROG-LED
C2
100nF
PC0-MCU
TCK-SWCLK
PC0
J2
PC1-MCU
J3
PC2-MCU
J4
PC3-MCU
TMS-SWDIO
PC1
TDI
PC2
TDO-SWO
VCC-5V
PC3
J5
VCC-3.3V
RST#
VCC-3.3V
RESET
R55
10K
R57 RST#
100
T70
C37
100nF
DATA BUS
How do I start?
In order to start using mikroProg, and program your
microcontroller, you just have to follow two simple
steps:
page 12
EasyMx PROv7
programming
LM3S1811
LM3S1R21
LM3S2948
LM3S5651
LM3S5K31
LM3S6422
LM3S817
LM3S9B96
LM3S102
LM3S1816
LM3S1R26
LM3S2950
LM3S5652
LM3S5K36
LM3S6432
LM3S818
LM3S9L97
LM3S1110
LM3S1850
LM3S1W16
LM3S2965
LM3S5656
LM3S5P31
LM3S6537
LM3S828
LM3S9BN2
LM3S1133
LM3S1911
LM3S1Z16
LM3S2B93
LM3S5662
LM3S5P36
LM3S6610
LM3S8530
LM3S9BN5
LM3S1138
LM3S1918
LM3S2110
LM3S2D93
LM3S5732
LM3S5P3B
LM3S6611
LM3S8538
LM3S9BN6
LM3S1150
LM3S1937
LM3S2139
LM3S2U93
LM3S5737
LM3S5P51
LM3S6618
LM3S8630
LM3S9C97
LM3S1162
LM3S1958
LM3S2276
LM3S300
LM3S5739
LM3S5P56
LM3S6633
LM3S8730
LM3S9CN5
LM3S1165
LM3S1960
LM3S2410
LM3S301
LM3S5747
LM3S5R31
LM3S6637
LM3S8733
LM3S9D81
LM3S1332
LM3S1968
LM3S2412
LM3S308
LM3S5749
LM3S5R36
LM3S6730
LM3S8738
LM3S9D90
LM3S1435
LM3S1B21
LM3S2432
LM3S310
LM3S5752
LM3S5T36
LM3S6753
LM3S8930
LM3S9D92
LM3S1439
LM3S1C21
LM3S2533
LM3S315
LM3S5762
LM3S5U91
LM3S6911
LM3S8933
LM3S9D95
LM3S1512
LM3S1C26
LM3S2601
LM3S316
LM3S5791
LM3S5Y36
LM3S6918
LM3S8938
LM3S9D96
LM3S1538
LM3S1C58
LM3S2608
LM3S317
LM3S5951
LM3S600
LM3S6938
LM3S8962
LM3S9DN5
LM3S1601
LM3S1D21
LM3S2616
LM3S328
LM3S5956
LM3S601
LM3S6950
LM3S8970
LM3S9DN6
LM3S1607
LM3S1D26
LM3S2620
LM3S3634
LM3S5B91
LM3S608
LM3S6952
LM3S8971
LM3S9G97
LM3S1608
LM3S1F11
LM3S2637
LM3S3651
LM3S5C31
LM3S610
LM3S6965
LM3S8C62
LM3S9GN5
LM3S1620
LM3S1F16
LM3S2651
LM3S3654
LM3S5C36
LM3S6100
LM3S6C11
LM3S8G62
LM3S9L71
LM3S1621
LM3S1G21
LM3S2671
LM3S3739
LM3S5C51
LM3S611
LM3S6C65
LM3S9781
LM3S9U81
LM3S1625
LM3S1G58
LM3S2678
LM3S3748
LM3S5C56
LM3S6110
LM3S6G11
LM3S9790
LM3S9U90
LM3S1626
LM3S1H11
LM3S2730
LM3S3749
LM3S5D51
LM3S612
LM3S6G65
LM3S9792
LM3S9U92
LM3S1627
LM3S1H16
LM3S2739
LM3S3826
LM3S5D56
LM3S613
LM3S800
LM3S9971
LM3S9U95
LM3S1635
LM3S1J11
LM3S2776
LM3S3J26
LM3S5D91
LM3S615
LM3S801
LM3S9997
LM3S9U96
LM3S1637
LM3S1J16
LM3S2793
LM3S3N26
LM3S5G31
LM3S617
LM3S808
LM3S9B81
LM3S1651
LM3S1N11
LM3S2911
LM3S3W26
LM3S5G36
LM3S618
LM3S811
LM3S9B90
LM3S1751
LM3S1N16
LM3S2918
LM3S3Z26
LM3S5G51
LM3S628
LM3S812
LM3S9B92
LM3S1776
LM3S1P51
LM3S2939
LM3S5632
LM3S5G56
LM3S6420
LM3S815
LM3S9B95
LM4F130E5QR LM4F132C4QC
LM4F230H5QR LM4F232H5QD
LM4F130H5QR LM4F132E5QC
LM4F231E5QR
LM4F111B2QR LM4F112E5QC
EasyMx PROv7
page 13
20122011
www.mikroe.com
Av
ai
lab
le on Product
D!
programming
EasyMx PROv7
lab
le on Product
DVD://download/eng/software/development-tools/arm/stellaris/
mikroprog/mikroprog_suite_for_arm_v110.zip
D!
Av
ai
programming
Programming software
DV
Quick Guide
1
EasyMx PROv7
page 15
programming
Hardware Debugger
What is Debugging?
Every developer comes to a point where he has to monitor the
code execution in order to find errors in the code, or simply
to see if everything is going as planed. This hunt for bugs,
or errors in the code is called debugging. There are two ways
to do this: one is the software simulation, which enables
you to simulate what is supposed to be happening on the
microcontroller as your code lines are executed, and the other,
most reliable one, is monitoring the code execution on the
MCU itself. And this latter one is called hardware debugging.
"hardware" means that it is the real deal - code executes right on
the target device.
Supported Compilers
All MikroElektronika compilers, mikroC, mikroBasic and
mikroPascal for ARM natively support mikroProg for
Stellaris, as well as other compilers, including KEIL, IAR and
CCS. Specialized DLL module allows compilers to exploit the
full potential of fast hardware debugging. Along with compilers,
make sure to install the appropriate programmer drivers
and mikroProg Suite for ARM programming software, as
described on pages 14 and 15.
page 16
Figure 5-3: mikroC PRO for ARM compiler in debugging view, with SFR registers in Watch Window
EasyMx PROv7
Here is a short overview of debugging commands which are supported in mikroElektronika compilers. You can see what each command does,
and what are their shortcuts when you are in debugging mode. It will give you some general picture of what your debugger can do.
Toolbar
Icon
Command Name
Shortcut
Description
Start Debugger
[F9]
Starts Debugger.
Run/Pause Debugger
[F6]
Run/Pause Debugger.
Stop Debugger
[Ctrl + F2]
Stops Debugger.
Step Into
[F7]
Step Over
[F8]
Executes the current program line, then halts. If the executed program
line calls another routine, the debugger will not step into it. The whole
routine will be executed and the debugger halts at the first instruction
following the call.
Step Out
[Ctrl + F8]
Run To Cursor
[F4]
Toggle Breakpoint
[F5]
Show/Hide breakpoints
[Shift+F4]
Clears breakpoints
[Shift+Ctrl+F5]
Jump to interrupt
[F2]
EasyMx PROv7
page 17
programming
Debugger commands
connectivity
Input/Output Group
One of the most distinctive features of EasyMx
PRO v7 for Stellaris are its Input/Output PORT
groups. They add so much to the connectivity potential
of the board.
PE7
PE6
PE5
PE4
PE3
PE2
PE1
PE0
N
O
PE1
PE3
PE5
PE7
VCC-3.3V
CN24
CN33
LD47
T36
T37
PE0
T35
RN38
10K
PE0
LD46
PE1
T34
RN37
10K
PE1
LD45
PE2
T33
RN36
10K
PE2
LD44
PE3
LD43
RN35
10K
PE3
T32
PE5
PE6
T31
RN34
10K
PE4
LD42
PE5
LD41
RN33
10K
PE4
RN32
10K
PE6
LD40
PE7
VCC-3.3V
PE0
PE2
PE4
PE6
PE1
PE3
PE5
PE7
SW15
PE7
VCC
GND
J6
SW5
220
VCC-3.3V
J7
PE0
PE2
PE4
PE6
+1 2 3 4 5 6 7 8
VCC-3.3V
RN31
10K
220
+1 2 3 4 5 6 7 8
PORTE LED
R27
R26
UP
PULL
DOWN
SW16
4K7
2
PORTE LEVEL
DATA BUS
Figure 6-2:
Tri-state DIP
switch on PORTE
T38
Figure 6-3: Schematic of the single I/O group connected to microcontroller PORTE
page 18
EasyMx PROv7
connectivity
Headers Buttons
LEDs
LED (Light-Emitting
Diode) is a highly
efficient electronic
78
77
76
75 PC5
light source. When
74
73
72
71
SMD LED
connecting
LEDs,
70
69
68
67
66
65
it is necessary to
64
63
62
61
place
a
current
60
59
SMD resistor
58
57
limiting
resistor
in
56
55
limiting current
54
53
through the LED
series so that LEDs
are provided with
the current value
specified by the manufacturer. The current varies from
0.2mA to 20mA, depending on the type of the LED and
the manufacturer. The EasyMx PRO v7 for Stellaris
board uses low-current LEDs with typical current
consumption of 0.2mA or
0.3mA. Board contains 72
LEDs which can be used
for visual indication of the
logic state on PORT pins. An
active LED indicates that a
logic high (1) is present on
the pin. In order to enable
PORT LEDs, it is necessary
Figure 6-6: SW15.1
to enable the corresponding
through SW15.8
DIP switch on SW15 (Figure
switches are used to
6-6).
enable PORT LEDs
Reset Button
EasyMx PROv7
page 19
connectivity
mikroBUS sockets
AN - Analog pin
RST - Reset pin
CS - SPI Chip Select line
SCK - SPI Clock line
MISO - SPI Slave Output line
MOSI - SPI Slave Input line
+3.3V - VCC-3.3V power line
GND - Reference Ground
DATA BUS
VCC-3.3V
PD5
PE2
PG0
PA2
PA4
PA5
VCC-5V
AN
RST
CS
SCK
MISO
MOSI
3.3V
GND
PWM
INT
RX
TX
SCL
SDA
5V
GND
VCC-3.3V
PC4
PH0
PA0
PA1
PB2
PB3
PD6
PE3
PG1
PA2
PA4
PA5
VCC-5V
AN
RST
CS
SCK
MISO
MOSI
3.3V
GND
PWM
INT
RX
TX
SCL
SDA
5V
GND
PC6
PH1
PD2
PD3
PB2
PB3
Figure 7-1:
mikroBUS
connection
schematic
page 20
EasyMx PROv7
connectivity
Opto click
BEE click
BlueTooth click
GPS click
LightHz click
EasyMx PROv7
DAC click
literally zero hardware configuration. Just plug and play. Visit the Click boards
web page for the complete list of available boards:
http://www.mikroe.com/eng/categories/view/102/click-boards/
DIGIPOT click
SHT1x click
THERMO click
page 21
Enabling USB-UART A
C3
100nF
ai
C4
100nF
1
2
3
4
5
6
7
DATA BUS
SW10
Figure 8-1:
USB-UART A
connection
schematic
page 22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
VCC-5V
U2
TXD
OSCO
DTR#
OSCI
RTS#
TEST
VCCIO
AGND
RXD
NC
RI#
CBUS0
GND
FT232RL CBUS1
NC
GND
DSR#
VCC
DCD#
RESET#
CTS#
GND
CBUS4
3V3OUT
CBUS2
USBDM
CBUS3
USBDP
FT232RL
DV
E1
10uF
VCC-3.3V
VCC-3.3V
R11
2K2
R12
4K7
RX
TX
CN7
TX-FTDI1
RX-FTDI1
le on Product
VCC-5V
VCC-3.3V
PA1
PA0
lab
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RX-LED1
TX-LED1
LD7
LD8
VCC 1
R18
4K7
D-
D+
GND 4
USB B
USB UART A
CONNECTOR
VCC-5V
20122011
www.mikroe.com
Av
VCC-3.3V
DVD://download/eng/software/development-tools/
universal/ftdi/vcp_drivers.zip
D!
N
O
communication
USB-UART A
R19
10K
FTDI1-D_N
FTDI1-D_P
C11
100nF
EasyMx PROv7
communication
USB-UART B
If you need to use more than one USB-UART in your
application, you have another USB-UART B connector available
on the board too. Both available USB-UART modules can operate at the
same time, because they are routed to separate microcontroller pins.
Enabling USB-UART B
DVD://download/eng/software/development-tools/
universal/ftdi/vcp_drivers.zip
Av
ai
VCC-5V
C12
100nF
C13
100nF
VCC-3.3V
VCC-3.3V
R28
2K2
R29
4K7
N
O
VCC-5V
1
2
3
4
5
6
7
DATA BUS
SW10
Figure 9-1:
USB-UART B
connection
schematic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
U3
TXD
OSCO
DTR#
OSCI
RTS#
TEST
VCCIO
AGND
RXD
NC
RI#
CBUS0
GND
FT232RL CBUS1
NC
GND
DSR#
VCC
DCD#
RESET#
CTS#
GND
CBUS4
3V3OUT
CBUS2
USBDM
CBUS3
USBDP
FT232RL
DV
E4
10uF
CN9
TX-FTDI2
RX-FTDI2
le on Product
VCC-5V
VCC-3.3V
PD3
PD2
lab
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RX
RX-LED2
TX-LED2
LD3
VCC 1
TX
LD4
R31
4K7
D-
D+
GND 4
USB B
USB UART B
CONNECTOR
VCC-3.3V
EasyMx PROv7
20122011
www.mikroe.com
D!
R34
10K
FTDI2-D_N
FTDI2-D_P
C27
100nF
page 23
communication
DATA BUS
USB HOST
communication
VCC-5V
VCC-5V
N
O
R37
1K
1
2
VCC-3.3V
M1
ZXMP7A17K
R38
3
4
R41
4K7
5
7
USB-PSW
2
4
6
8
10
12
14
16 USB-D_N
18
20
22
24
26
1K
C28
100nF
E10
10uF
E11
10uF
CN11
VCC 1
USB-D_N
D-
USB-D_P
D+ 3
GND 4
USB A
USB HOST
CONNECTOR
27
29
31
33
35
37
39
41
43
45
47
49
51
28
30
32
34
36
38
40
42
44
46
48
50
52
PH3
1
3
SW10
5
7
9
11
13
15
USB-D_P
17
19
21
23
25
PH3
1K
Q1
BC846
R42
page 24
EasyMx PROv7
communication
USB device
communication
N
O
DATA BUS
1
2
3
4
CN10
6
7
8
USB-VBUS
SW10
USB-D_N
R1
100
R40
27
VCC 1
D-
USB-D_P
2
4
6
8
10
12
14
16 USB-D_N
18
20
22
24
26
PB1
1
3
5
7
9
11
13
15
17
19
21
23
25
EasyMx PROv7
D+ 3
USB-D_P
R43
27
GND 4
ON
LD9
USB B
R46
4K7
USB DEVICE
CONNECTOR
PB1
GND
GND
Detecting connection
Figure 11-2:
enabling
USB DEVICE
detection
via VBUS
line
page 25
communication
Ethernet
communication
Figure 12-1: Ethernet connection schematic
DATA BUS
FP2
R45
51
CT
TD-
R48
51
A1
K1
CT
RD-
R49
51
CN12
C31
10nF
R51
2K2
VCC-3.3V
page 26
TPO_N
TPI_P
RD+
LD5
LED
TPO_P
R44
51
TD+
104
102
A2
ETHERNET
CONNECTOR
K2
RJ45
TPO_P
VCC-3.3V
PF2
103
101
99
97
95
93
91
89
87
85
83
81
79
2K2
J11
98
TPI_P 96
94
92
90
88
86
84
82
80
ETH-LEDB
TPO_N 100
LED
LD6
R39
TPI_N
VCC-3.3V
TPI_N
C32
10nF
PF3
ETH-LEDA
J12
PF3
1
3
5
7
9
11
13
15
17
19
21
23
25
2
4
6
8
10
12
14
16
18
20
22
24
26
PF2
EasyMx PROv7
communication
CAN
communication
VCC-3.3V
R47 10
TX-CAN
RX-CAN
1
2
3
4
VCC-3.3V
U6
D
GND
Vdd
R
Rs
CANH
CANL
Vref
8
7
6
5
SN65HVD230
CANH
C34
100nF
CANL
CN13
N
O
CAN COMM.
1
2
3
4
DATA BUS
PD1
PD0
6
7
8
SW10
EasyMx PROv7
TX-CAN
RX-CAN
Enabling CAN
Figure 13-2:
enabling
CAN
communication
page 27
multimedia
Audio I/O
It's hard to imagine modern multimedia devices without high quality audio reproduction
modules. Sounds and music are almost as important as graphical user interfaces.
Along with other multimedia modules, EasyMx PRO v7 for Stellaris contains highend stereo VS1053 audio codec. It features Ogg Vorbis/MP3/AAC/WMA/FLAC/WAV/
MIDI audio decoder, as well as an PCM/IMA ADPCM/Ogg Vorbis encoder on a single
chip. Board also contains two stereo audio connectors for interfacing with standard
3.5mm stereo audio jacks. VS1053 receives the input bit stream through a serial input
bus, which it listens to as a system slave. The input stream is decoded and passed
through a digital volume control to an 18-bit oversampling, multi-bit, sigma-delta
Digital to Analog Converter (DAC). The
decoding is controlled via a serial control
bus. In addition to the basic decoding,
it is possible to add application specific
features like DSP effects to the user RAM
memory. You can build music players,
audio recording devices, internet radio
player applications, and much more.
1uF
GBUF
C1
VCC-1.8V
VCC-3.3V
48
47
46
45
44
43
42
41
40
39
38
37
N
O
PF4
PF5
PF1
PF0
1
2
3
4
MP3-DREQ
MP3-RST#
MP3-CS#
MP3-DCS
5
6
7
GPIO
LN2
AGND3
LEFT
AVDD2
RCAP
AVDD1
GBUF
AGND2
AGND1
RIGHT
AVDD0
AGND0
13
14
15
16
17
18
19
20
21
22
23
24
SW14
VS1053
2
3
4
5
R23
100K
6
7
R24
1M
X1
DATA BUS
SW13
page 28
GPIO4
GND
GPIO1
GPIO0
XTEST
CVDD3
SO
SI
SCLK
TX
RX
GPIO5
36
35
34
33
32
31
30
29
28
27
26
25
R8
20
C6
47nF
R9
20
C5
10nF
C7
10nF
VCC-3.3V
R15
1K
R13 27
SPI-MISO
SPI-MOSI
SPI-SCK
R17
1K
C8 1uF
MICP
R16 27
VCC-3.3V
MICN
C9
E2
E3
100pF
10uF
10uF
C10 1uF
R21
1K
R20
10K
CN8
MICROPHONE
R22
1K
MP3-CS#
SPI-MOSI
SPI-MISO
SPI-SCK
MP3-DCS
N
O
PA5
PA4
PA2
PHONEJACK
R6
10
GPIO
R10
100K
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
1
2
3
4
5
6
7
8
9
10
11
12
MP3-RST#
CN6
R4 10
R
GBUF
R5
10K
U1
MICP
MICN
R3 10
VCC-3.3V
C14
22pF
Audio IN/OUT
VCC-3.3V
12.288MHz
C15
22pF
E19
C16
10uF
100nF
C20
C21
C17
100nF
100nF
100nF
C22
C18
100nF
2.2uF
2
3
U4
IN OUT
GND
EN ADJ
AP7331-ADJ
VCC-1.8V
5
R30
4
120K
R32
R33
22K
12K1
E7
C23
C19
C24
C25
10uF
100nF
100nF
100nF
100nF
EasyMx PROv7
multimedia
VCC-MMC
FP3
VCC-MMC
R54
10K
SPI-SCK
SPI-MISO
R58 27
CN14
1
2
4
5
6
7
SD-CD#
CS
Din
+3.3V
+3.3V
SCK
GND
Dout
CD
microSD
CARD SLOT
R53
10K
SD-CS#
SPI-MOSI
Figure 15-2:
enabling
microSD
card commu
nication
lines
MICROSD
SPI-MOSI
SPI-MISO
SPI-SCK
4
5
6
PH7
PA7
7
8
Figure 15-1:
microSD card slot
connection schematic
PA5
PA4
PA2
N
O
DATA BUS
C33
100nF
GGND
Enabling microSD
E12
10uF
EasyMx PROv7
FERRITE
SD-CD#
SD-CS#
SW13
page 29
multimedia
TFT display
320x240 pixels
One of the most powerful ways of presenting data
and interacting with users is through color displays
and touch panel inputs. This is a crucial element of any
multimedia device. EasyMx PRO v7 for Stellaris features
TFT color 320x240 pixel display. It is a 2.83" display with
LED back-light, featuring HX8347D controller.
TFT1
Figure 16-1:
TFT display
connection
schematic
LED-K
LED-A1
LED-A2
LED-A3
LED-A4
IM0
IM1
IM2
IM3
RESET
VSYNC
HSYNC
DOTCLK
ENABLE
DB17
DB16
DB15
DB14
DB13
DB12
DB11
DB10
DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
SDO
SDI
RD
WR/SCL
RS
CS
FMARK
VCC-IO
VCC
VCC-I
GND
XR
YD
XL
YU
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
VCC-3.3V
D3
Q6
BC846
3
4
5
6
7
8
SW11
page 30
TFT-D0
TFT-D1
TFT-D2
TFT-D3
TFT-D4
TFT-D5
TFT-D6
TFT-D7
VCC-5V
1 2 3 4 5 6 7 8
PJ0
PJ1
PJ2
PJ3
PJ4
PJ5
PJ6
PJ7
Q7
BC846
R69
12
BAT43
N
O
TFT-BPWM
TFT-RST
4K7
N
O
Q5
BC846
R60
TFT-BCK
VCC-5V
TFT-PMRD
TFT-PMWR
TFT-RS
TFT-CS#
TFT-K
PC5
PH4
PH6
PH5
PG7
PA3
TFT-PMRD
TFT-PMWR
TFT-CS#
TFT-RST
TFT-RS
TFT-BCK
TFT-BPWM
SW12
EasyMx PROv7
multimedia
Touch Panel
controller
equipped with touch panel controller and connector for
4-wire resistive touch panels. It can very accurately
register pressure at a specific point, representing the
touch coordinates in the form of analog voltages, which
can then be easily converted to X and Y values. Touch
panel comes as a part of TFT 320x240 display.
TFT1
VREF
VCC-1.8V
VREF
FP4
Q3
BC856
R64
10K
R63
1K
FERRITE
Q4
BC846
R65
RIGHT
VREF
VCC-3.3V
10K
Q8
BC856
R67
4K7
R68
10K
C29
100K
10nF
E13
10uF
Q9
BC846
R80
10K
VCC-3.3V
READ-Y
R85
C30
100K
10nF
R84
4K7
Q11
BC846
R86
DRIVEB
10K
N
O
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
VCC-3.3V
R79
1
2
DATA BUS
4
6
7
8
RIGHT
READ-Y
READ-X
TOP
PB4
PB5
PE0
PE1
EasyMx PROv7
LED-K
LED-A1
LED-A2
LED-A3
LED-A4
IM0
IM1
IM2
IM3
RESET
VSYNC
HSYNC
DOTCLK
ENABLE
DB17
DB16
DB15
DB14
DB13
DB12
DB11
DB10
DB9
DB8
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
SDO
SDI
RD
WR/SCL
RS
CS
FMARK
VCC-IO
VCC
VCC-I
GND
XR
YD
XL
YU
READ-X
DRIVEA
VCC-3.3V
TOP
E15
10uF
READ-X
READ-Y
DRIVEA
DRIVEB
SW14
page 31
PH2
PB0
PE5
PE4
DATA BUS
PB7
multimedia
Navigation switch
KEY1
UP
CENTER 2
LEFT
RIGHT
DOWN
PE4
PE5
UP
PULL
DOWN
+1 2 3 4 5 6 7 8
UP
PULL
DOWN
SW2
PB7
PH2
PB0
VCC-3.3V
+1 2 3 4 5 6 7 8
UP
PULL
DOWN
SW8
SW5
VCC-3.3V
+1 2 3 4 5 6 7 8
VCC-3.3V
Figure 18-1: Navigation switch connection schematic. Pull-up resistors should be enabled during operation
page 32
EasyMx PROv7
multimedia
Piezo Buzzer
ones. Frequency of the square signal determines
the pitch of the generated sound, and duty cycle of
the signal can be used to increase or decrease the
volume in the range from 0% to 100% of the duty
cycle. You can generate PWM signal using hardware
capture-compare module, which is usually available in
most microcontrollers, or by writing a custom software
which emulates the desired signal waveform.
VCC-5V
PZ1
R50
1K
DATA BUS
N
O
1 2 3 4 5 6 7 8
VCC-5V
TOP
VIEW
N
O
1K
SW12
N
O
N
O
1 2 3 4 5 1 6 2 7 3 8 4 51 62 73 84 5 6 7 8
SW12
TOP
BUZZER
VIEW
PZ1
PERSPECTIVE
VIEW
R50
VCC-5V Q2
R521K
BUZZER
Freq
= 3kHz,
Duty Cycle =BC846
50%
TOP
BUZZER
VIEW
10K
PZ1
PERSPECTIVE
BUZZER
Freq
= 3kHz, Duty
10K
BUZZER
PA6
R50
R52
1K
TOP
VIEW
Q2
Cycle =BC846
80%
BUZZER
Q2
=BC846
20%
10K
EasyMx PROv7
R52
Q2
BC846
10K
SW12
Freq = 3kHz,
Volume = 50%
VIEW
PERSPECTIVE
VIEW
BUZZER
PERSPECTIVE
VIEW
Freq = 3kHz,
Volume = 80%
Freq = 3kHz,
Volume = 20%
Figure 19-2:
push
SW12.1 to
ON position
to connect
Piezo buzzer
to PA6
page 33
other modules
DS1820 - Digital
Temperature Sensor
DS1820 is a digital temperature
sensor that uses 1-wire
interface for its operation. It is
capable of measuring temperatures
within the range of -55 to 128C,
and provides 0.5C accuracy for
temperatures within the range of -10 to
85C. It requires 3V to 5.5V power supply
for stable operation. It takes maximum
Figure 20-1:
DS1820 not
connected
Figure 20-2:
DS1820
placed in
socket
Figure 20-3:
DS1820
connected
to PD4 pin
page 34
VCC-3.3V
Figure 20-4:
DS1820
connected
to PB7 pin
R25
2K2
DATA BUS
GND
DQ
VCC
J8
PB7
PD4
Figure 20-5: DS1820 connected to PB7 pin
EasyMx PROv7
other modules
LM35 - Analog
Temperature Sensor
+150C. Board provides a
separate socket (TS2) for
the LM35 sensor in TO-92
plastic packaging. Readings
are done with microcontroller
using single analog input line,
which is selected with jumper J10.
Jumper connects the sensor with either
PD4 or PD7 microcontroller pins.
Figure 21-1:
LM35 not
connected
Figure 21-2:
LM35 placed
in socket
Figure 21-3:
LM35
connected
to PD4 pin
Figure 21-4:
LM35
connected
to PD7 pin
EasyMx PRO v7 for Stellaris enables you to get analog readings from the LM35
sensor using PD4 or PD7 microcontroller pins. The selection of either of those
two lines is done using J10 jumper. When placing the sensor in the socket make
sure that half-circle on the board silkscreen markings matches the rounded part
of the LM35 sensor. If you accidentally connect the sensor the other way, it can
be permanently damaged and you might need to replace it with another one.
During the readings of the sensor, make sure that no other device uses the
selected analog line, because it may interfere with the readings.
EasyMx PROv7
DATA BUS
VCC
VOUT
GND
J10
PD4
PD7
Figure 21-5: LM35 connected to PD4 pin
page 35
other modules
What is SPI?
The Serial Peripheral Interface Bus or SPI bus is a synchronous serial data link standard that operates in full
duplex mode. It consists of four lines MISO (Master Input Slave Output), MOSI (Master Output Slave Input), SCK
(Clock) and CS (Chip Select). Devices communicate in master/slave mode where the master device initiates the
data frame. Multiple slave devices are allowed with individual slave select (chip select) lines.
DATA BUS
VCC-3.3V
N
O
PA5
PA4
PA2
1
2
3
SPI-MOSI
SPI-MISO
SPI-SCK
4
5
6
PC7
FLASH-CS#
8
7
6
5
VCC-3.3V
VCC-3.3V
U5
VCC
HOLD
SCK
SDI
25P80
CS
SDO
WP
GND
1
2
3
4
R35
100K
R36 27
FLASH-CS#
SPI-MISO
C26
100nF
Figure 22-1:
Schematic of
Serial Flash
Memory
module
SW13
page 36
EasyMx PROv7
I C EEPROM
Enabling I2C EEPROM
Figure 23-2:
Activate
SW13.4
and SW13.5
switches to
enable pull-up
resistors in I2C
lines of Serial
EEPROM.
What is I2C?
I2C is a multi-master serial single-ended bus that is used to attach low-speed peripherals to computer or embedded
systems. IC uses only two open-drain lines, Serial Data Line (SDA) and Serial Clock (SCL), pulled up with
resistors. SCL line is driven by a master, while SDA is used as bidirectional line either by master or slave device.
Up to 112 slave devices can be connected to the same bus. Each slave must have a unique address.
VCC-3.3V
VCC-3.3V
N
O
DATA BUS
1
2
3
4
PB2
PB3
other modules
EEPROM-SCL
EEPROM-SDA
R62
2K2
R61
2K2
8
7
6
5
VCC-3.3V
U8
VCC
WP
SCL
SDA
6
7
24AA01
A0
A1
A2
VSS
1
2
3
4
VCC-3.3V
C38
100nF
Figure 23-1:
Schematic of
I2C EEPROM
module
SW13
EasyMx PROv7
page 37
other modules
ADC inputs
Digital signals have two discrete states, which are decoded as high and
low, and interpreted as logic 1 and logic 0. Analog signals, on the other
hand, are continuous, and can have any value within defined range.
A/D converters are specialized circuits which can convert
analog signals (voltages) into a digital representation,
usually in form of an integer number. The value
of this number is linearly dependent on the
input voltage value. Most microcontrollers
nowadays internally have A/D
converters connected to one or
more input pins. Some of the
most important parameters of A/D
converters are conversion time and
In order to connect the output of the
resolution. Conversion time determines
potentiometer P1 to PE7, PE6, PE5, PE4
how fast can an analog voltage be represented
or PD7 analog microcontroller inputs, you
in form of a digital number. This is an important
have to place the jumper J9 in the desired
parameter if you need fast data acquisition. The other
position. By moving the potentiometer
parameter is resolution. Resolution represents the number
knob, you can create voltages in range
of discrete steps that supported voltage range can be divided
from GND to VCC.
into. It determines the sensitivity of the A/D converter. Resolution is
represented in maximum number of bits that resulting number occupies.
Most microcontrollers have 10-bit resolution, meaning that maximum value of conversion can be represented with 10 bits, which
converted to integer is 210=1024. This means that supported voltage range, for example from 0-3.3V, can be divided into 1024 discrete
steps of about 3.222mV. EasyMx PRO v7 for Stellaris provides an interface in form of potentiometer for simulating analog input voltages that
can be routed to any of the 5 supported analog input pins.
DATA BUS
VCC-3.3V
P1
J9
R56
220
10K
page 38
M2X5
PE7
PE6
PE5
PE4
PD7
Figure 24-1:
Schematic of ADC
input
EasyMx PROv7
EasyMx PRO v7 for Stellaris contains GND pins located in different sections of
the board, which allow you to easily connect oscilloscope GND reference when
you monitor signals on microcontroller pins, or signals of on-board modules.
1
2
2
Figure 25-1:
two oscilloscope GND pins are
conveniently positioned so
different parts of the board can be
reached with an oscilloscope probe
EasyMx PROv7
page 39
other modules
Additional GNDs
Whats Next?
You have now completed the journey through each and every feature of EasyMx PRO v7 Stellaris board. You got to know its modules, organization, supported
microcontrollers, programmer and debugger. 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 EasyMx PRO brand. You will find very useful projects and tutorials and can get help from a large ecosystem of users. Welcome!
Compiler
You still dont have an appropriate compiler? Locate ARM compiler
that suits you best on the Product DVD provided with the package:
DVD://download/eng/software/compilers/
Av
ai
lab
le on Product
Projects
Community
Support
\Development Systems\EasyMx_PROv7
page 40
http://www.libstock.com/
D!
20122011
www.mikroe.com
DV
http://www.mikroe.com/esupport/
EasyMx PROv7
notes
EasyMx PROv7
page 41
notes
page 42
EasyMx PROv7
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, must 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, mikromedia, EasyARM, EasyMx PRO, Click boards and
mikroBUS 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.
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 office@mikroe.com
EasyMx PRO v7
for Stellaris ARM User Manual
ver. 1.02
0 100000 021033