mikromedia for Tiva C Series User Manual

mikromedia for Tiva C Series User Manual

mikromedia

for Tiva

C Series

Compact multimedia development system rich with on-board peripherals for all-round development on

TM4C123GH6PZ

device

`vv

TO OUR VALUED CUSTOMERS

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.

Nebojsa Matic

General Manager

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.

Page 2

`vv

Table of Contents

Introduction to mikromedia for Tiva

C Series

Package Contains

Key Features

System Specification

1. Power supply

Battery power supply

USB power supply

2. TM4C123GH6PZ microcontroller

Key microcontroller features

3. Programming the microcontroller

Programming with mikroBootloader step 1 – Connecting mikromedia step 2 – Browsing for .HEX file step 3 – Selecting .HEX file step 4 – Uploading .HEX file step 5 – Finish upload

13

13

14

15

10

11

12

12

8

10

8

8

6

7

4

5

Programming with mikroProg

programmer

4. Reset Button

5. Crystal oscillator

6. MicroSD Card Slot

7. Touch Screen

8. Audio Module

9. USB connection

10. Accelerometer

11. Flash Memory

12. Pads

13. Pinout

14. Dimensions

15. Mikromedia accessories

What’s next?

32

34

35

36

37

38

24

26

28

30

16

18

20

22

Page 3

Introduction to mikromedia for Tiva

C Series

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.

Page 4

Page 4

Package Contains

01

Damage resistant protective box

02 mikromedia for Tiva

C Series development system

03

Two 1x26 male headers and one 1x5 header

04 mikromedia for Tiva

C Series user’s guide

05 mikromedia for Tiva

C Series schematic and pinout

Page 5

06

USB cable

Key Features

01

01 RESET button

02 Connection Pads

03 TFT 320x240 display

04 USB MINI-B connector

05 Charge indication LED

06

Li-Polymer battery connector

07

Power indication LED

08

3.5mm headphone connector

02

09

Power supply regulator

10

VS1053 Stereo mp3 coder/decoder

11

Tiva

C Series ARM

®

Cortex

-M4 TM4C123GH6PZ

12

Crystal oscillator

03

13

Accelerometer

14

Serial Flash memory

15 microSD Card Slot

16

Cortex Debug connector

17 mikroProg

connector

Page 6

04

05

06

07

08

09

10

11

12

13

14

15

16

17

Page 7

System Specification

power supply

Via USB cable (5V DC)

power consumption

56 mA with erased MCU (when on-board modules are inactive)

board dimensions

81.2 x 60.5 mm (3.19 x 2.38 inch)

weight

~50g (0.11lbs)

CAUTION: Electrostatic Sensitive Device

Permanent 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.

1. Power supply

Figure 1-1: Connecting

USB power supply

USB 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.

Battery 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. Figure 1-2: Connecting Li-Polymer battery

Page 8

AVCC

FP1

VCC-3.3V

VCC-3.3V

C34

2.2uF

VCC-1.8V

E4

10uF

C5

100nF

VSENSE

VCC-BAT

R31

100K

R33

100K

R35

100K

VREF-1.8

FP4

VCC-1.8V

C9

100nF

VCC-BAT

CN4

BATT CONN

VCC-3.3V

STAT

VCC-3.3V

R38

10K

R37

4K7

LD1

CHARGE

Q4

BC846

VCC-3.3V

R39

10K

Q5

BC846

R43

10K

VCC-BAT

1

2

3

Vin

GND

EN

Vout

ADJ

AP7331-ADJ

U5

5

4

R34

10K

VCC-USB

M1

DMP2160UW

R26

100K

R29

27K4

R30

1K

D1

PMEG3010ER

VCC-SYS

E8

R42

10K

10uF

VCC-3.3V

VCC-BAT

E7 10uF

R41

1K

1

2

3

U6

STAT PROG

VSS

VBAT VDD

MCP73832

5

4

VCC-SYS

Charging Current approx. 250mA

C41

2.2uF

R46

3K9

VCC-SYS

VCC-3.3V

24

25

26

M1X26

20

21

22

23

16

17

18

19

13

14

15

9

10

11

12

HDR1

7

8

5

6

3

4

1

2

VCC-3.3V

50

51

52

M1X26

46

47

48

49

42

43

44

45

39

40

41

35

36

37

38

HDR2

31

32

33

34

27

28

29

30

LD2

POWER

VCC-3.3V

R47

2K2

VCC-SYS VCC-3.3V

E9

10uF

1

3

E10

10uF

REG1

Vin

Vout

GND

2

LD29080DT33

Figure 1-3: Power supply schematics

Page 9

2. TM4C123GH6PZ microcontroller

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, I

2

C, CAN, ADC etc.

JTAG/SWD

SYSTEM

CONTROL

AND

CLOCKS

DMA

GPIOs

EEPROM

USB OTG

SSI

CAN

AHB

ANALOG

COMPARATORS

PWM

ADVANCED HIGH PERFORMANCE BUS

ARM

Cortex M4(F)

TM4C123GH6P

Z

80 MHz

WATCHDOG

TIMERS

GENERAL

PURPOSE

TIMERS

EXTERNAL

PERIPHERIAL

INTERFACE

ADVANCED PERFORMANCE BUS

APB

ROM

FLASH

SRAM

UART

I2C

ETHERNET

MAC/PHY

ADC

HIBERNAT.

MODULE

QEI

Page 10

3. Programming the microcontroller

Figure 3-1:

TM4C123GH6PZ

ARM

®

Cortex

-M4

Microcontroller

The microcontroller can be programmed in two ways:

01

Over USB mikroBootloader

02

Using mikroProg

for Tiva or other external programmers

Page 11

Programming with mikroBootloader step 1 – Connecting mikromedia

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 mikroBootloader USB HID application, which can be downloaded from:

www.mikroe.com/downloads/get/2090/ mikrobootloader_tiva_tm4c123gh6p_v130.zip

01

02

Upon download, unzip the package to a desired location and start the mikroBootloader application:

Page 12

Figure 3-2: USB HID mikroBootloader window

01

02

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.

step 2 – Browsing for .HEX file step 3 – Selecting .HEX file

01

Figure 3-3: Browse for HEX

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.

Page 13

02

Figure 3-4: Selecting HEX

01 Select the .HEX file using the Open dialog window.

02

Click the

Open

button.

step 4 – Uploading .HEX file

01

Figure 3-5: Begin uploading

01

In order to upload the .HEX file click the

Begin uploading

button.

Page 14

01

Figure 3-6: Progress bar

01

Monitor the upload process via the progress bar.

step 5 – Finish upload

01

01

Figure 3-7: Restarting MCU

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 15

Figure 3-8: mikroBootloader ready for next job

Programming with mikroProg

programmer

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.

Page 16

AVCC

U1

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

VREFA-

GNDA

PJ2

PE3

PE2

PE1

PE0

PH0

PH1

10

11

7

8

9

12

13

14

15

16

17

18

19

20

5

6

3

4

1

2

21

22

23

24

25

VDDC

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

64

63

62

61

69

68

67

66

65

55

54

53

52

51

60

59

58

57

56

38 39 40 41 42 43 44 45

VDDC

48 49

VCC-3.3V

RESET#

CN7

C2

22pF

C3

22pF

C6

10pF

C7

10pF

VCC-3.3V

1

3

5

7

9

CN3

2

4

6

8

10

PC0

PC1

PC3

PC2

VCC-3.3V

50

51

52

M1X26

45

46

47

48

49

41

42

43

44

HDR2

27

28

29

30

31

36

37

38

39

40

32

33

34

35

VCC-3.3V

5

7

1

3

9

CN6

6

8

2

4

10

TMS-PC1

TCK-PC0

TDO-PC3

TDI-PC2

RESET#

TMS-PC1

TCK-PC0

TDO-PC3

TDI-PC2

RESET#

PC1

PC0

PC3

PC2

Figure 3-10: mikroProg

programmer connection schematic

Page 17

VDDC

C10

1uF

VDDC

C11

100nF

VDDC

C12

VDDC

C13

1uF 100nF

VCC-3.3V

VCC-3.3V

E1

10uF

C14

100nF

VCC-3.3VVCC-3.3V

C15

100nF

C16

100nF

VCC-3.3V

VCC-3.3V

C17

100nF

C18

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

4. Reset Button

Figure 4-2:

Frontal reset button 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).

Page 18

AVCC

U1

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

15

16

17

18

23

24

25

VDDC VCC-3.3V

T1

VCC-3.3V

R1

10K

C1

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

59

58

57

56

55

54

53

52

51

63

62

61

60

R2

100

RST

38 39 40 41 42 43 44 45 48 49

CN7

VDDC

Figure 4-3: Reset circuit schematic

Page 19

C2

22pF

C3

22pF

C6

10pF

C7

10pF

VCC-3.3V

50

51

52

M1X26

46

47

48

49

42

43

44

45

38

39

40

41

34

35

36

37

HDR2

27

28

29

30

31

32

33

VDDC

C10

1uF

VDDC

C11

100nF

VDDC

C12

1uF

VDDC

C13

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

E1

10uF

C14

100nF

C15

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C16

100nF

C17

100nF

C18

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

5. Crystal oscillator

Figure 5-1:

16MHz crystal oscillator 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.

NOTE:

The use of crystal in all other schematics is implied even if it is purposely left out, because of the schematics clarity.

Page 20

AVCC VDDC VCC-3.3V

U1

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

15

16

17

18

23

24

25

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

56

55

54

53

59

58

57

52

51

63

62

61

60

38 39 40 41 42 43 44 45 48 49

CN7

C2

22pF

C3

22pF

C6

10pF

C7

10pF

VDDC

Figure 5-2: Crystal oscillator schematic

Page 21

VDDC

C10

VDDC

C11

1uF 100nF

VDDC

C12

VDDC

C13

1uF 100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

E1

10uF

C14

100nF

C15

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C16

100nF

C17

100nF

C18

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

6. microSD Card Slot

Figure 6-1: microSD card slot 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 22

AVCC

U1

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

23

24

25

15

16

17

18

VDDC VCC-3.3V

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

56

55

54

53

59

58

57

52

51

63

62

61

60

38 39 40 41 42 43 44 45 48 49

VDDC

VDDC

C10

1uF

VDDC VDDC

C11

100nF

C12

1uF

VDDC VCC-3.3V

VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V

C13

100nF

E1

10uF

C14

100nF

C15

100nF

C16

100nF

C17

100nF

CN7

C2

22pF

C3

22pF

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C18

100nF

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

VCC-MMC

C6

10pF

C7

10pF

VCC-MMC

C43

1uF

CN2

SD-CS#

MOSI0-PA5

R27

10K

SCK0-PA2

MISO0-PA4

SD-CD#

R32

27

R28

10K

4

5

1

2

6

7

CS

Din

+3.3V

SCK

GND

Dout

CD microSD

C40

100nF

FP2

VCC-3.3V

FERRITE

E5

10uF

Figure 6-2: microSD Card Slot module connection schematic

Page 23

7. Touch Screen

Page 24

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

.

Figure 7-1

Touch Screen

LCD-BLED

DRIVEA

DRIVEB

AVCC VCC-3.3V

U1

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

15

16

17

18

23

24

25

VDDC

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

59

58

57

56

55

54

53

52

51

63

62

61

60

LCD-CS#

T-D7

38 39 40 41 42 43 44 45 48 49

CN7

VDDC

VDDC

C10

1uF

VDDC

C11

100nF

VDDC

C12

1uF

VDDC VCC-3.3V

VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C13

100nF

E1

10uF

C14

100nF

C15

100nF

C16

100nF

C17

100nF

C18

100nF

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

C2

22pF

C3

22pF

C6

10pF

C7

10pF

LCD-BLED

VCC-3.3V

R59

4K7

R60

10K

DRIVEA

VCC-3.3V

R62

10K

R20

1K

VCC-3.3V

VCC-1.8V

R19

10K

R57

1K

Q7

VCC-3.3V

R21

10K

R58

10K

BC846

R61

10K

Q2

BC846

Q3

BC846

VCC-3.3V

R36

10K

Q1

BC846

R25

12

VCC-3.3V

10uF

E6

Q6

LCD-RST

LCD-CS#

BC856

VCC-1.8V

Q8

BC856

LCD-XR

LCD-YU

LCD-XL

VCC-SYS VCC-3.3V

LCD-RST

T-D7

T-D6

T-D5

T-D4

T-D3-PF3

T-D2-PF2

T-D1-PF1

T-D0-PF0

PMRD

PMWR

LCD-RS

LCD-CS#

LCD-XR

LCD-YD

LCD-XL

LCD-YU

26

27

28

29

22

23

24

25

30

31

32

33

34

35

36

37

38

18

19

20

21

14

15

16

17

39

40

41

42

43

44

45

46

47

6

7

4

5

1

2

3

10

11

12

13

8

9

TFT1

LED-K

LED-A1

LED-A2

LED-A3

LED-A4

IM0

IM3

IM2

IM1

RESET

VSYNC

HSYNC

DOTCLK

ENABLE

DB17

DB16

DB15

DB14

DB13

DB12

DB11

DB10

DB9

DB8

DB7

DB6

DB5

DB4

DB3

DB2

DB1

DB0

VCC

VCC

GND

XR

YD

XL

YU

SDO

SDI

RD

WR

RS

CS

TE

VCC-IO

MI 0283QT-9A

Q9

BC846

C44

100nF

R63

100K

LCD-YD

DRIVEB

R64

4K7

R65

10K

Q10

BC846

C49

100nF

R66

100K

Figure 7-2: Touch Screen connection schematic

Page 25

8. Audio Module

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

).

Figure 8-1: On-board

VS1053 MP3 codec

Figure 8-2: 3.5mm headphones jack

Page 26

AVCC VCC-3.3V

U1

PD0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

PJ2

PE3

PE2

PE1

PE0

PH0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

15

16

17

18

19

20

21

22

23

24

10

11

12

13

14

5

6

3

4

7

8

9

1

2

25

VDDC

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

62

61

60

59

66

65

64

63

58

57

56

55

54

53

52

75

74

73

72

71

70

69

68

67

51

38 39 40 41 42 43 44 45 48 49

CN7

C2

22pF

C3

22pF

C6

10pF

C7

10pF

VDDC

VDDC

C10

1uF

VDDC VDDC

C11

100nF

C12

1uF

VDDC VCC-3.3V

VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C13

100nF

E1

10uF

C14

100nF

C15

100nF

C16

100nF

C17

100nF

C18

100nF

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

MP3-DCS

R14 1M

X3

12.288MHz

C25

22pF

C26

22pF

R15

10K

MP3-CS#

VCC-1.8V

R22

10K

U3

R6

10K

VCC-3.3V

R5

470

R8

470

E2 10uF

R

C21

3.3nF

E3 10uF

R7

100K

L

C23

3.3nF

R9

100K

L

R

19

20

21

22

23

13

14

15

16

17

18

24

XDCS/BSYNC

IOVDD1

VC0

DGND1

XTAL0

XTAL1

IOVDD2

DGND2

DGND3

DGND4

XCS

CVDD2

VS1053

RX TX SC SI SO CV

28 29 30 31 32 33 34 35 36

LN2

AGND3

LEFT

AVDD2

RCAP

AVDD1

GBUF

AGND2

AGND1

RIGHT

AVDD0

AGND0

48

47

46

45

44

43

42

41

40

39

38

37

R24 10K

R23

27

LEFT LEFT

R11

RIGHT

R13

10

10

GBUF

RIGHT

C24

1uF

R16

10

R51

10

R17

10

R52

10

R18

10

C27

10nF

C28

10nF

C29

47nF

CN1

PHONEJACK

VCC-3.3V

VCC-1.8V VCC-1.8V

C30

100nF

C31

100nF

VCC-1.8V VCC-1.8V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V VCC-3.3V

VCC-3.3V

C32

100nF

C33

100nF

C35

100nF

C36

100nF

C37

100nF

C38

100nF

C39

100nF

C45

1uF

HDR2

27

28

29

30

31

47

48

49

50

51

52

M1X26

40

41

42

43

44

45

46

36

37

38

39

32

33

34

35

Figure 8-3: Audio module connection schematic

Page 27

9. USB connection

Figure 9-1:

Connecting USB cable to MINI-B USB connector

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.

Page 28

AVCC

U1

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

15

16

17

18

23

24

25

VDDC

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

67

66

65

64

70

69

68

56

55

54

53

59

58

57

52

51

63

62

61

60

USB-DET

USB-ID

USB-D_P

USB-D_N

38 39 40 41 42 43 44 45 48 49

VCC-3.3V

CN7

USB-DET

USB-D_N

USB-D_P

USB-ID

R40 100

VCC-USB

FP3

FERRITE

R45

100K

C42

10nF

C2

22pF

C3

22pF

C6

10pF

C7

10pF

3

4

1

2

5

CN5

VBUS

D-

D+

ID

GND

USB MINIB

VDDC

C10

VDDC

C11

VDDC

C12

VDDC

C13

VCC-3.3V

1uF 100nF 1uF 100nF

E1

10uF

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C14

100nF

C15

100nF

C16

100nF

C17

100nF

C18

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

C46

100nF

C47

100nF

C48

100nF decoupling capacitors

VDDC

Figure 9-2: USB module connection schematic

Page 29

10. Accelerometer

Figure 10-1:

Accelerometer module

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

I

2

C

interface.

You can set the accelerometer address to 0 or 1 by re-soldering the SMD jumper (zero-ohm resistor) to the appropriate position.

Jumper is placed in address 1 position by default.

Page 30

AVCC

U1

PD0

PD1

PD2

PD3

PJ2

PE3

PE2

PE1

PE0

PH0

PH1

PH2

PH3

VDD

GND

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PC7

PC6

PC5

PC4

13

14

15

16

10

11

12

7

8

9

5

6

17

18

19

20

21

22

23

24

25

1

2

3

4

VDDC VCC-3.3V

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

61

60

59

58

57

56

55

65

64

63

62

71

70

69

68

67

66

54

53

52

51

75

74

73

72

SDA0-PB3

SCL0-PB2

38 39 40 41 42 43 44 45 48 49

C2

22pF

C3

22pF

C6

10pF

C7

10pF

VCC-3.3V

VCC-3.3V

R3

10K

R4

10K

SCL0-PB2

3

4

1

2

5

6

VCC

GND

Res

GND

GND

VCC

SDA

ADD

Res

NC

INT2

INT1

U2

13

12

9

8

11

10

ADXL345

SDA0-PB3

ACC ADDRESS

VCC-3.3V

1

2

3

J1

VCC-3.3V VCC-3.3V

C19

100nF

C20

100nF decoupling capacitors

VDDC

C10

1uF

VDDC VDDC

C11

100nF

C12

1uF

VDDC

C13

100nF

CN7

VCC-3.3V

VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

E1

10uF

C14

100nF

C15

100nF

C16

100nF

C17

100nF

C18

100nF

C46

100nF

C47

100nF

C48

100nF

VDDC

Figure 10-2: Accelerometer connection schematic

Page 31

11. Flash Memory

Figure 11-1:

Flash memory module

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

AVCC

U1

PJ2

PE3

PE2

PE1

PE0

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PH0

PH1

PH2

PH3

VDD

GND

PC7

PC6

PC5

PC4

5

6

3

4

1

2

10

11

12

13

14

7

8

9

19

20

21

22

15

16

17

18

23

24

25

38 39 40 41 42 43 44 45 48 49

VDDC

VDDC

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

59

58

57

56

55

54

53

52

51

63

62

61

60

VCC-3.3V

CN7

R10

10K

FLASH-CS#

MISO0-PA4

R12 27

C2

22pF

C3

22pF

VCC-3.3V

C22

VCC-3.3V

3

4

1

2

U4

CS

SDO

WP

GND

M25P80

VCC

HOLD

SCK

SDI

100nF

8

7

6

5

SCK0-PA2

MOSI0-PA5 decoupling capacitors

VDDC VDDC VDDC

C10

1uF

C11

100nF

C12

1uF

C6

10pF

C7

10pF

VDDC VCC-3.3V

VCC-3.3V

C13

100nF

E1

10uF

C14

100nF

VCC-3.3VVCC-3.3VVCC-3.3V

C15

100nF

C16

100nF

C17

100nF

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C18

100nF

C46

100nF

C47

100nF

C48

100nF

Figure 11-2: Flash memory module connection schematic

Page 33

12. Pads

AVCC

RST

L

R

PWM-PH4

PWM-PH5

PWM-PH6

PWM-PH7

PC0

PC1

PC3

PC2

PB5

PG5

PG4

PG2

T-D0-PF0

T-D1-PF1

T-D2-PF2

T-D3-PF3

U0Rx-PA0

U0Tx-PA1

SCL0-PB2

SDA0-PB3

VCC-3.3V

49

50

51

52

M1X26

42

43

44

45

38

39

40

41

46

47

48

HDR2

31

32

33

34

27

28

29

30

35

36

37

SCK1-PD0

LCD-BLED

MISO1-PD2

MOSI1-PD3

VREF-1.8

PJ2

AN-PE3

AN-PE2

AN-PE1

AN-PE0

INT-PH0

INT-PH1

INT-PH2

INT-PH3

PC7

PC6

DRIVEA

DRIVEB

U1

VDD

GND

PC7

PC6

PC5

PC4

PD0

PD1

PD2

PD3

VDD

GND

VDDA

VREFA+

VREFA-

GNDA

PJ2

PE3

PE2

PE1

PE0

PH0

PH1

PH2

PH3

10

11

12

13

14

7

8

9

5

6

3

4

19

20

21

22

15

16

17

18

23

24

25

1

2

VDDC

38 39 40 41 42 43 44 45 48 49

VCC-3.3V

78 77

TM4C123GH6PZ

TM4C123GH6PZ

PG5

PG4

PB3

PB2

USBVBUS/PB1

USBID/PB0

PJ1

PJ0

VDD

OSC1

OSC0

GND

RST

PG0

PG1

PG2

PG3

PF7

GND

VDD

VBAT

XOSC1

GNDX

XOSC0

HIB

75

74

73

72

71

70

69

68

67

66

65

64

63

62

56

55

54

53

52

51

61

60

59

58

57

PG5

PG4

SDA0-PB3

SCL0-PB2

R2 100

RST

SCL2-PG0

SDA2-PG1

PG2

C6

10pF

C7

10pF

CN7

C2

22pF

C3

22pF

AN-PD5

AN-PD6

AN-PD7

AN-PE3

AN-PE2

AN-PE1

AN-PE0

INT-PH0

INT-PH1

INT-PH2

INT-PH3

PJ2

SCL2-PG0

SDA2-PG1

PC7

SCK1-PD0

MISO1-PD2

MOSI1-PD3

PC6

SCK0-PA2

MISO0-PA4

MOSI0-PA5

VCC-3.3V

VCC-SYS

17

18

19

20

13

14

15

16

21

22

23

24

25

26

M1X26

HDR1

1

8

9

6

7

4

5

2

3

10

11

12

VDDC decoupling capacitors

VDDC VDDC VDDC VCC-3.3V

C10

1uF

C11

100nF

C12

1uF

C13

100nF

E1

10uF

VDDC

VCC-3.3VVCC-3.3VVCC-3.3VVCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

VCC-3.3V

C14

100nF

C15

100nF

C16

100nF

C17

100nF

C18

100nF

C46

100nF

C47

100nF

C48

100nF

Pads HDR2 Figure 12-1: Connecting pads schematics Pads HDR1

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.

Page 34

13. Pinout

System power supply

Reference Ground

Analog Lines

Interrupt Lines

Digital I/O lines

SPI Lines

SCK

SDI

SDO

3.3V power supply

Reference Ground

PE0

PH0

PH1

PH2

PH3

PJ2

PG0

PG1

VSYS

GND

PD5

PD6

PD7

PE3

PE2

PE1

PC7

PD0

PD2

PD3

PC6

PA2

PA4

PA5

3.3V

GND

Pin functions

Digital lines Analog Lines Interrupt Lines SPI Lines

Page 35

I2C Lines

PC0

PC1

PC3

PC2

PB5

PG5

PG4

PG2

L

R

RST

GND

PH4

PH5

PH6

PH7

PF0

PF1

PF2

PF3

PA0

PA1

PB2

PB3

3.3V

GND

UART lines

Reset pin

Reference Ground left ch.

right ch.

PWM lines audio out

Digital I/O lines

RX

TX

SCL2

SDA2

UART Lines

I

2

C Lines

3.3V power supply

Reference Ground

Pin functions

PWM lines

14. Dimensions

7

276

1.6

63

4

157

81.15

3195

73.66

2900

63.5

2500

Legend

3.2

126

Page 36

2.54

100

57.6

2268

69.3

2728

2.67

105

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.

01

Connect shield

02

BatteryBoost shield 03 PROTO shield

04

Gaming shield

05 mikroBUS

shield

Page 37

06

Li-Polymer battery

07

Wire Jumpers

What’s next?

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

You still don’t have an appropriate compiler? Locate ARM

®

compiler that suits you best on our website:

http://www.mikroe.com/arm/compilers/

Choose between mikroC

, mikroBasic

and mikroPascal

and download fully functional demo version, so you can start building your first applications.

Visual TFT

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:

http://www.mikroe.com/visualtft/

Page 38

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.

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.

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.

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]

mikromedia for Tiva C Series Manual

ver. 1.00

0 100000 026236

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement