mikromedia - farnell element14p a 7 p a 6 g n d v d p f 2 p f 1 vdd gnd vdda vrefa+ pj1 pj0 vdd vdd...
TRANSCRIPT
Compact multimedia development system rich with on-board peripherals
for all-round development on TM4C123GH6PZ device
mikromedia™
for Tiva™ C Series
Page 2
`vv
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 Tiva™ C Series , 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 Tiva™ C Series 4
Package Contains 5
Key Features 6
System Specification 7
1. Power supply 8
Battery power supply 8
USB power supply 8
2. TM4C123GH6PZ 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 22
7. Touch Screen 24
8. Audio Module 26
9. USB connection 28
10. Accelerometer 30
11. Flash Memory 32
12. Pads 34
13. Pinout 35
14. Dimensions 36
15. Mikromedia accessories 37
What’s next? 38
Page 3
Table of Contents
`vv
Page 4
The mikromedia for Tiva™ C Series 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™-M4 TM4C123GH6PZ microcontroller.
The mikromedia for Tiva™ C Series 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 Tiva™ C Series or other programmers. 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 Tiva™ C Series
Page 4 Page 5
01 02
04 05
03
06
Damage resistant protective box
mikromedia for Tiva™ C Series development system
mikromedia for Tiva™ C Series user’s guide
mikromedia for Tiva™ C Series
schematic and pinoutUSB cable
Package Contains
Two 1x26 male headers and one 1x5 header
Page 6
02
Key Features
16
17
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
RESET button
Connection Pads
TFT 320x240 display
USB MINI-B connector
Charge indication LED
Li-Polymer battery connector
Power indication LED
3.5mm headphone connector
Power supply regulator
VS1053 Stereo mp3 coder/decoder
Tiva™ C Series ARM® Cortex™-M4 TM4C123GH6PZ
Crystal oscillator
Accelerometer
Serial Flash memory
microSD Card Slot
Cortex Debug connector
mikroProg™ connector
03
01
Page 7
06 07
08
09
10
11 12
13
14
0405
17
15
System Specification
power supplyVia USB cable (5V DC)
board dimensions81.2 x 60.5 mm (3.19 x 2.38 inch)
weight~50g (0.11lbs)
power consumption56 mA with erased MCU (when on-board modules are inactive)
CAUTION: Electrostatic Sensitive DevicePermanent damage may occur on devices subjected to high energy electrostatic discharges which readily accumulate on the human body or test equipment and can discharge without detection.16
Page 8
1. Power supply
You can power up the board using the MINI-B USB cable provided in the package. On-board
voltage regulators provide the appropriate
voltage levels to each component on the
board. Power LED (GREEN) will indicate the
presence of a power supply.
You can also power the board with a Li-Polymer battery,
using the on-board battery connector. On-board battery
charger circuit MCP73832 enables you to charge the
battery over the USB connection. LED diode (RED) will
indicate when the 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 9
VCC-BAT
CN4BATT CONN
C342.2uF
VCC-3.3V
E410uF
R26100K
VCC-1.8V
123
5
4
VinGNDEN ADJ
Vout
U5AP7331-ADJ R29
27K4
R301K
D1PMEG3010ER
VCC-SYSVCC-BAT
VCC-USB
R34
10K
M1DMP2160UW
VCC-SYS VCC-3.3V
E910uF
E1010uF
R472K2 3
12GND
Vin
Vout
REG1
LD29080DT33POWER
LD2
VCC-3.3V
VCC-BAT
R463K9
Charging Current approx. 250mA
R374K7
VCC-3.3V
E7 10uF C41
2.2uF
R35100K
R31100K
VCC-BAT
VCC-SYS
R43
10K
R3910K
VCC-3.3V
R4210K
R411K
VCC-3.3V
E810uF
R3810K
VCC-3.3V
R33100K
123 4
5STATVSSVBAT VDD
PROG
U6
MCP73832
LD1CHARGE
Q4BC846
Q5BC846
VSENSE
STAT
VCC-1.8VVREF-1.8FP4
VCC-3.3VAVCCFP1
C5100nF
C9100nF
HDR1
M1X26
VCC-3.3V
VCC-SYS 1234567891011121314151617181920212223242526
HDR2
M1X26
VCC-3.3V
2728293031323334353637383940414243444546474849505152
Figure 1-3: Power supply schematics
DAT
A BU
S
Page 10
The mikromedia for Tiva™ C Series development board comes
with the ARM® Cortex™-M4 TM4C123GH6PZ 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;
- 32KB of SRAM, 2KB EEPROM;
- 69 I/O pins;
- Internal oscillator 16MHz, 30kHz, PLL;
- 16/32 bit and 32/64 Timers;
- Ethernet, UART, SPI, I2C, CAN, ADC etc.
TM4C123GH6PZ80 MHz
ARMCortex M4(F)
ROM
JTAG/SWD
DMA
GPIOs
EEPROM
USB OTG
SSI
CAN
PWMQEI
ADC
FLASH
SRAM
UART
I2C
ETHERNETMAC/PHY
HIBERNAT.MODULE
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
HB A
PB
2. TM4C123GH6PZ microcontroller
Page 11
01
02
Over USB mikroBootloader
Using mikroProg™ for Tiva or other external programmers
Figure 3-1:TM4C123GH6PZ ARM® Cortex™-M4
Microcontroller
The microcontroller can be programmed in two ways:
3. Programming the microcontroller
Page 12
01
02
Programming with mikroBootloader
Figure 3-2: USB HID mikroBootloader window
step 1 – Connecting mikromedia
01
02
The microcontroller is preprogrammed with USB HID Bootloader,
which can be used to upload new device firmware. To transfer
firmware .HEX file from a PC to an MCU you need to use the mik-
roBootloader USB HID application, which can be downloaded from:
Upon download, unzip the package to a desired location and start
the mikroBootloader application:
In order to start, connect the USB cable or (if already connected) press the Reset button on your board.
Click the Connect button within 5s to enter the bootloader mode, otherwise the existing program will execute.
www.mikroe.com/downloads/get/2090/mikrobootloader_tiva_tm4c123gh6p_v130.zip
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
01
Click the Browse for HEX button and from a pop-up window (Figure 3.4) choose the .HEX file you wish to upload to your MCU’s memory.
Select the .HEX file using the Open dialog window.
Click the Open button.
Page 14
01
01
step 4 – Uploading .HEX file
Figure 3-5: Begin uploading Figure 3-6: Progress bar
01 01In order to upload the .HEX file click the Begin uploading button.
Monitor the upload process via the progress bar.
Page 15
01
step 5 – Finish upload
Figure 3-7: Restarting MCU Figure 3-8: mikroBootloader ready for next job
01
01
Click the OK button after uploading is finished. The board will be automatically reset and after 5 seconds your new program will execute.
Page 16
The microcontroller can be programmed with the external mikroProg™ programmer and mikroProg™ Suite for ARM® software. The external
programmer is connected to the development system via JTAG/SWD connector. mikroProg™ is a fast USB 2.0 programmer with hardware
Debugger support. It supports ARM® Cortex™-M4 microcontrollers from Tiva™ C Series. Outstanding performance, easy operation and elegant
design are its key features. The board also contains a Cortex Debug connector which can be used with other external programmers.
Programming with mikroProg™ programmer
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
TCK-
PC0
TMS-
PC1
TDI-
PC2
TDO
-PC3
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
7131
51
70
26
25
76
757473
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
RESET#
CN7
VCC-3.3V
68109
75
1 23 4
CN3
VCC-3.3V
1 23 45 67 89 10
CN6
R53
100
R54
100
R55
100
R56
100
PC0PC1
PC2PC3
RESET#
TCK-PC0TMS-PC1
TDI-PC2TDO-PC3
RESET#
TCK-PC0TMS-PC1
TDI-PC2TDO-PC3
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C14
100nF
E1
10uF
VCC-3.3VVCC-3.3V
C15
100nF
C16
100nF
VCC-3.3VVCC-3.3V
C17
100nF
VCC-3.3V
C18
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
HDR2
M1X26
VCC-3.3V
PC0PC1
PC2PC3
2728293031323334353637383940414243444546474849505152
Page 17
Figure 3-10: mikroProg™ programmer connection schematic
decouplingcapacitors
mikromedia for Tiva™ C Series is equipped with a 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 a low voltage level on the microcontroller reset pin (input). In addition, a reset
can be externally provided through pin 27 on side headers (Figure 4-3).
4. Reset Button
Figure 4-2: Frontal reset button
Page 18
Page 19
R110K
VCC-3.3V
C1
R2
100
T1
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1VD
DC
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
CN7
HDR2
M1X26
VCC-3.3V
2728293031323334353637383940414243444546474849505152
RST
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C14
100nF
E1
10uF
VCC-3.3VVCC-3.3V
C15
100nF
VCC-3.3V
C16
100nF
VCC-3.3V
C17
100nF
VCC-3.3V
C18
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
Figure 4-3: Reset circuit schematic
decouplingcapacitors
Figure 5-1:16MHz crystal
oscillator
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:
mikromedia for Tiva™ C Series is equipped with a 16MHz crystal oscillator (X1) circuit that provides an external clock
waveform to the microcontroller OSC0 and OSC1 pins. This base
frequency is suitable for further clock multipliers and is ideal for generation
of the necessary USB clock, which ensures proper operation of bootloader and
your custom USB-based applications. Board also contains 32.768kHz Crystal oscillator (X2) which provides external clock for the internal hibernation module.
Page 20
Page 21
VCC-3.3V
C222pF
C322pF
X116
MH
z
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
CPH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
CN7
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C14
100nF
E1
10uF
VCC-3.3VVCC-3.3V
C15
100nF
VCC-3.3V
C16
100nF
VCC-3.3V
C17
100nF
VCC-3.3V
C18
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
Figure 5-2: Crystal oscillator schematic
decouplingcapacitors
Figure 6-1: microSD card slot
6. microSD Card Slot
Page 22
mikromedia for Tiva™ C Series contains a 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.
Page 23
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
R49
27
R50
27
SCK0
-PA2
MO
SI0-
PA5
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C14
100nF
C15
100nF
C16
100nF
C17
100nF
E1
10uF
VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
MIS
O0-
PA4
SD-C
S#SD
-CD
#
CN7
R2710K
VCC-MMC
R2810K
VCC-MMC
R32
27
VCC-3.3V
E510uF
C40100nF
FP2
FERRITE
124567
CSDin+3.3VSCKGNDDout
CD
GN
D
CN2
microSD
C431uF
SD-CS#
SD-CD#
MOSI0-PA5
MISO0-PA4
SCK0-PA2
Figure 6-2: microSD Card Slot module connection schematic
decouplingcapacitors
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 different colors.
7. Touch Screen
Page 24
Figure 7-1
Touch Screen
Page 25
VCC-3.3V
C222pF
C322pF
X116
MH
z
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
TM4C123GH6PZ8182838485868788899091929394959697989910
0
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
C14
100nF
C15
100nF
C16
100nF
C17
100nF
E1
10uF
VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
T-D7
T-D
1-PF
1T-
D2-
PF2
T-D
3-PF
3
T-D
0-PF
0T-
D4
T-D
5T-
D6
LCD
-XL
LCD
-YD
LCD-BLED
DRIVEADRIVEB
LCD
-RST
LCD
-RS
LCD-CS#
PMRD
PMW
R
CN7
R1910K
VCC-SYS
LCD-RST
LCD-RSLCD-CS#
LCD-YULCD-XLLCD-YDLCD-XR
VCC-3.3V
E610uF
R3610K
VCC-3.3V
R2110K
LCD-RSTLCD-CS#
VCC-3.3V
LCD-BLED
R2512
VCC-3.3V
PMRDPMWR
VCC-3.3V
Q6BC856
Q7BC846
R58
10K
R571K
R60
10K
R594K7
VCC-3.3V
Q8BC856
R61
10K
Q9BC846R62
10K
C44
100nF
R63
100K
Q10BC846R65
10K
C49
100nF
R66
100K
R644K7
VCC-3.3V
LCD-XR
LCD-YU
LCD-XL
LCD-YD
DRIVEA
DRIVEB
Q3BC846
Q2BC846
Q1BC846
R20
1K
T-D7
T-D4T-D5T-D6
2
15
12
35
11
36
3456
14
789
13
43
33
10
37383940
444546
34
1
47
1617181920212223242526272829303132
4142
LED-KLED-A1LED-A2LED-A3LED-A4IM0IM3IM2IM1RESETVSYNCHSYNCDOTCLKENABLE
DB0DB1DB2DB3DB4DB5DB6DB7DB8DB9DB10DB11DB12DB13DB14DB15DB16DB17
SDOSDIRDWRRSCSTEVCC-IOVCCVCCGNDXRYDXLYU
TFT1
MI 0283QT-9A
T-D1-PF1T-D2-PF2T-D3-PF3
T-D0-PF0
VCC-1.8V
VCC-1.8V
Figure 7-2: Touch Screen connection schematic
decouplingcapacitors
mikromedia for Tiva™ C Series features a stereo audio codec VS1053. This module
enables audio reproduction by using stereo headphones connected to the system
via a 3.5mm connector CN1. All functions of this module are controlled by the
microcontroller over Serial Peripheral Interface (SPI).
8. Audio Module
Figure 8-2: 3.5mm headphones jack
Figure 8-1: On-board VS1053 MP3 codec
Page 26
Page 27
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCCR4
927
R50
27
SCK0
-PA2
MO
SI0-
PA5
30292827 3433
58575655545352
463635 42 43 44 4537 50
948 49
1112
32
72
69686766656463
43
78 77
2423
181716151413
5678
107980
12
22212019
62616059
38 39 40 41 47
71
31
51
70
26
25
76
757473
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
IPD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
C14
100nF
C15
100nF
C16
100nF
C17
100nF
E1
10uF
VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
MIS
O0-
PA4
MP3
-CS#
MP3
-DRE
QM
P3-R
ST#
MP3
-DCS
CN7C30
100nF
C31
100nF
VCC-1.8V VCC-1.8V
C33
100nF
C32
100nF
VCC-1.8V VCC-1.8V
C35
100nF
C36
100nF
VCC-3.3V
C37
100nF
VCC-3.3V
C38
100nF
VCC-3.3V VCC-3.3V
C39
100nF
VCC-3.3V
C45
1uF
VCC-3.3V
C2622pF
C2522pF
R14 1M
R2210K R24 10K
R610K
R1510K
X3
12.288MHzC241uF
GPI
O
LEFT
RIGHT
GBUF
E3 10uF
E2 10uF
CN1
PHONEJACK
LEFT
RIGHT
C2810nF
C2947nF
C2710nF
R1810
R1610
R1710
R11 10
R13 10
R8
470C233.3nF
R9100K
R5
470C213.3nF
R7100K
L
R
R2327
2345671112
1314
25
24232221
18171615
8 1
19
9102726
20
28 29 30 31 32 33 34 35 36
373839404142434445464748M
CP/L
N1
MIC
NXR
ESET
DG
ND
0CV
DD
0IO
VDD
0CV
DD
1D
REQ
GPI
O2
GPI
O3
GPI
O6
GPI
O7
XDCS/BSYNCIOVDD1VC0DGND1XTAL0XTAL1IOVDD2DGND2DGND3DGND4XCSCVDD2
GPI
O5
RX TX SCLK
SI SO CVD
D3
XTES
TG
PIO
0G
PIO
1G
ND
GPI
O4
AGND0AVDD0
AVDD2
AGND1AGND2
AGND3LN2
LEFT
RCAPAVDD1
GBUF
RIGHT
VS1053
U3
VCC-1.8V VCC-3.3V
R5110
R5210
MP3-CS#
MP3
-DRE
Q
MP3
-RST
#
MP3-DCS
MO
SI0-
PA5
MIS
O0-
PA4
SCK0
-PA2
HDR2
M1X26
VCC-3.3V
LR
2728293031323334353637383940414243444546474849505152
Figure 8-3: Audio module connection schematic
decouplingcapacitors
deco
uplin
gca
paci
tors
ARM® Cortex™-M4 TM4C123GH6PZ microcontroller has an 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.
9. USB connection
Figure 9-1: Connecting USB cable to MINI-B USB connector
Page 28
Page 29
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
USB-DET
USB-D_NUSB-D_P
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1VD
DC
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
C14
100nF
VCC-3.3V
C15
100nF
VCC-3.3V
C16
100nF
VCC-3.3V
C17
100nF
VCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
E1
10uF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
USB-ID
CN7
VCC-USB
C4210nF
FP3FERRITER40 100 1
2345 GND
IDD+D-VBUS
CN5
USB MINIB
USB-DET
R45100K
USB-D_NUSB-D_PUSB-ID
Figure 9-2: USB module connection schematic
decoupling capacitors
Page 30
Figure 10-1: Accelerometer module
10. Accelerometer
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.
On-board ADXL345 accelerometer is used to
measure acceleration in three axes: 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.
Page 31
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1VD
DC
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
SCL0-PB2SDA0-PB3
CN7
C20100nF
C19100nF
VCC-3.3V
R310K
R410K
VCC-3.3V
ACC ADDRESS123
VCCGNDRes4 GND5 GND6 VCC
7CS
8INT1
9INT2
10NC
11Res
12ADD
13SDA
14SC
L
U2
ADXL345
VCC-3.3V
VCC-3.3V VCC-3.3V
123
J1
SDA0-PB3
SCL0-PB2
C14
100nF
C15
100nF
C16
100nF
C17
100nF
E1
10uF
VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
Figure 10-2: Accelerometer connection schematic
decouplingcapacitors
Figure 11-1:Flash memory module
11. Flash Memory
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).
Page 32
Page 33
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
R49
27
R50
27
SCK0
-PA2
MO
SI0-
PA5
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
C15
100nF
C16
100nF
C17
100nF
VCC-3.3VVCC-3.3VVCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C14
100nF
E1
10uF
VCC-3.3VVCC-3.3V
C13
100nF
VDDC
C11
100nF
VDDC
C10
1uF
VDDC
C12
1uF
VDDCM
ISO
0-PA
4
FLAS
H-C
S#
CN7
C22
100nF
R1010K
VCC-3.3V
123
54678CS
SDOWPGND SDI
SCKHOLD
VCC
U4
M25P80
R12 27
VCC-3.3V
FLASH-CS#
MOSI0-PA5
MISO0-PA4SCK0-PA2
Figure 11-2: Flash memory module connection schematic
decouplingcapacitors
Page 34
VCC-3.3V
C222pF
C322pF
X116
MH
z
AVCC
U0R
x-PA
0U
0Tx-
PA1
R49
27
R50
27
SCK0
-PA2
MO
SI0-
PA5
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
TM4C123GH6PZ
81828384858687888990919293949596979899100
PA7
PA6
GN
DVD
D
PF2
PF1
VDDGNDVDDAVREFA+
PJ1PJ0
VDD
VDD
VDD
PF3
XOSC0GNDX
XOSC1VBAT
GN
DPK
3
PB5
PE7
PE6
VDD
PG7
PG6
PC1/
TMS/
SWD
IOPC
2/TD
I
PD3PD2
PD5
PD4
PE5
PE4
GN
D
PB4
PE3
PA2
PC6PC7GNDVDDPH3PH2
USBVBUS/PB1USBID/PB0
HIB
OSC0
PE1
PJ2GNDA
VDD
C
PD6
PD7
PD0PD1
PA1
PA0
PC4PC5
PK0
WAK
E
OSC1
PG2
PK2
PK1
GND
PF4
PF5
PF7
PG1
VDD
C
PH1PH0PE0
PF6
PF0
PG3
GND
PC0/
TCK/
SWCL
K
PA5
PA4
PA3
PE2
VREFA-
PG0RST
PB2
PH5
PH7
PB3PG4PG5
PH6
PH4
VDD
GN
DPC
3/TD
O/S
WO
U1 TM4C123GH6PZ
VDDC
VDDC
C610pF
C710pF
X232
.768
KHz
10uF
VCC-3.3V
C14
100nF
C15
100nF
C16
100nF
C17
100nF
E1
VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V
C18
100nF
VCC-3.3V
C46
100nF
VCC-3.3V
C47
100nF
VCC-3.3V
C48
100nF
VCC-3.3V
C11
100nF
VDDC
C10
1uF
VDDC
C13
100nF
VDDC
C12
1uF
VDDC
MIS
O0-
PA4
SCL0-PB2SDA0-PB3
AN-PE3AN-PE2AN-PE1AN-PE0
AN-P
D7
AN-P
D6
AN-P
D5
INT-PH0INT-PH1INT-PH2INT-PH3
PC7PC6
SCL2-PG0SDA2-PG1
SCK1-PD0
MISO1-PD2MOSI1-PD3
PWM
-PH
4PW
M-P
H5
PWM
-PH
6PW
M-P
H7
PG5PG4
PG2
T-D
1-PF
1T-
D2-
PF2
T-D
3-PF
3
T-D
0-PF
0
LCD-BLED
DRIVEADRIVEB
PJ2
PB5
CN7
VREF-1.8
HDR1
M1X26
VCC-3.3V
VCC-SYS
MOSI0-PA5MISO0-PA4SCK0-PA2
SCL2-PG0SDA2-PG1
SCK1-PD0MISO1-PD2MOSI1-PD3
INT-PH0INT-PH1INT-PH2INT-PH3
AN-PE3AN-PE2AN-PE1AN-PE0
AN-PD7AN-PD6AN-PD5
PC7
PC6
PJ2
1234567891011121314151617181920212223242526
HDR2
M1X26
VCC-3.3V
RST
LR
SCL0-PB2SDA0-PB3
U0Rx-PA0U0Tx-PA1
PWM-PH4PWM-PH5PWM-PH6PWM-PH7
PG5PG4PG2
PC0PC1
PC2PC3
PB5
T-D1-PF1T-D2-PF2T-D3-PF3
T-D0-PF0
2728293031323334353637383940414243444546474849505152
R2 100 RST
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
decouplingcapacitors
Page 35
SPI LinesInterrupt LinesAnalog LinesDigital lines I2C Lines UART lines PWM lines
VSYS RST Reset pinSystem power supplyGND GND Reference GroundReference GroundPD5 LPD6 R
left ch.right ch.
PWM lines
Digital I/O lines
Digital I/O lines
SPI Lines
Interrupt Lines
Analog LinesPD7 PH4PE3 PH5PE2 PH6PE1 PH7PE0 PC0PH0 PC1PH1 PC3PH2 PC2PH3 PB5PJ2 PG5
PG0 PG4PG1 PG2PC7 PF0PD0 PF1PD2 PF2PD3 PF3PC6 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 36 Page 37
14. Dimensions73.66
81.15
63.5
2.672.54
36.5
8
55.8
8
60.4
5
1.6 63
2.03
3195
29004157
7276
2380
2200
50.2
19
76
2500
1440
105100
80
8.89
350
7.62
300
3.2126
57.62268
69.32728
43.2
17
00
Legend
Page 37
15. mikromedia accessories
We have prepared a set of
extension boards pin-compatible
with your mikromedia, which
enable you to easily expand
your board’s 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 38
What’s next?
You still don’t have an appropriate compiler? Locate ARM® compiler that suits you best
on our website:
Choose between mikroC™, mikroBasic™ and mikroPascal™ and download fully functional
demo version, so you can start 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 enables you to quickly create your GUI. It will automatically generate code compatible
with МikroElektronika compilers. Visual TFT is rich with examples, which are an excellent starting point for your future
projects. Download it from the link bellow:
You have now completed the journey through each and every feature of mikromedia for Тiva™ C Series board. You got to know its 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.
Find useful projects and tutorials on the Libstock website (http://www.libstock.com/). Join our Forum (http://www.mikroe.com/forum/) and get
help from a large ecosystem of users.
Compiler
Visual TFT
http://www.mikroe.com/arm/compilers/
http://www.mikroe.com/visualtft/
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 © 2014 MikroElektronika. 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 hazardous 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/support
If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected] for Tiva C Series Manual
ver. 1.00
0 100000 026236