16
ARM MINI The whole Tiva C Series development board fitted in DIP40 form factor, containing powerful Tiva C Series TM4C123GH6PM microcontroller. MINI-M4 development board for Tiva C Series

MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Embed Size (px)

Citation preview

Page 1: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

ARMMINI

The whole Tiva™ C Series development board

fitted in DIP40 form factor, containing powerful

Tiva™ C Series TM4C123GH6PM microcontroller.

MINI-M4development board for Tiva™ C Series

Page 2: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

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

Page 3: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 3

Introduction to MINI-M4 for Tiva™ C Series 4

Key features 4

System specifications 5

1. Programming with mikroBootloader 6

step 1 – Connecting MINI-M4 for Tiva™ C Series 6

step 2 – Browsing for .HEX file 7

step 3 – Selecting .HEX file 7

step 4 – Uploading .HEX file 8

step 5 – Finish upload 9

2. Schematic 10

3. Pinout 11

4. Dimensions 12

Table of Contents

Page 4: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 4

Introduction to MINI-M4 for Tiva™ C Series

Key featuresMiniature and powerful development tool designed to work

as a standalone device or as a MCU card in DIP40 socket.

MINI-M4 for Tiva™ C Series is preprogrammed with USB HID

bootloader so it is not necessary to have an external programmer. If

you need to use an external programmer (like mikroProg™) attach it

to MINI-M4 for Tiva™ C Series via pads marked with PC0 (TCK/SWC),

PC1 (TMS/SWD), PC2 (TDI), PC3 (TDO) and RST#.

01

02

03

04

05

06

07

Connection pads

USB MINI-B connector

DATA LED

STAT LED

POWER supply LED

Reset button

Power supply regulator

Microcontroller Tiva™ C Series TM4C123GH6PM

32.768kHz Crystal oscillator

16 MHz Crystal oscillator

08

09

10

Page 5: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 5

System specifications

power supply

3.3V via pads or 5V via USB

board dimensions

50.8 x 17.78mm (2 x 0.7“)

weight

~6g (0.013 lbs)

power consumption

depends on MCU state (max current

into 3.3V pad is 300mA)

Connection pads

USB MINI-B connector

DATA LED

STAT LED

POWER supply LED

Reset button

Power supply regulator

Microcontroller Tiva™ C Series TM4C123GH6PM

32.768kHz Crystal oscillator

16 MHz Crystal oscillator

01

02

03 04 05

06

07

08

1009

Page 6: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 6

1. Programming with mikroBootloader

You can program the microcontroller with the bootloader that

is preprogrammed into the device by default. To transfer .hex

file from a PC to the MCU you need the bootloader software

(mikroBootloader USB HID) which can be downloaded from:

After the software is downloaded unzip it to the desired loca-

tion and start mikroBootloader USB HID software.

Figure 1-1: USB HID mikroBootloader window

step 1 – Connecting MINI-M4

01

01

To start, connect the USB cable, or if already connected press the Reset button on your MINI-M4 board. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.

www.mikroe.com/downloads/get/2108/mikrobootloader_mini_m4_tiva_v230.zip

Page 7: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 7

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

Figure 1-2: Browse for HEX Figure 1-3: Selecting HEX

01 01

02

01

01

Click the ”Browse for HEX” button and from a pop-up window (Figure 1-3) choose the .HEX file which will be uploaded to MCU memory.

Select .HEX file using open dialog window.

Click Open.

02

Page 8: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 8

step 4 – Uploading .HEX file

Figure 1-4: Begin uploading Figure 1-5: Progress bar

01

01

01 01To start .HEX file bootloading click the Begin uploading button.

You can monitor .HEX file uploading via progress bar

Page 9: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 9

step 5 – Finish upload

Figure 1-6: Restarting MCU Figure 1-7: mikroBootloader ready for next job

01

01

Click OK after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute.

Page 10: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 10

2. Schematic

C11

100nF

C12

100nF

C13

100nF

C14

100nF

C15

100nF

C16

1uF

VDD-3.3V

C7

100nF

C8

100nF

C9

1uF

C10

2.2uF

VDDC

30292827

3433

58 57 56 55 54 53 52

47

3635

43444546

3738

9

4950

1112

32

64 6343

24231817

16151413

5678

10

12

2221201962 61 60 59

39404142

48

3151

2625VDD

GND

GN

DVD

DG

ND

PF0

PB1PB0PD5PD4VDD

OSC1OSC0

GNDX

HIBXOSC0

XOSC1

RSTVBAT

PB3PB2

VDD

C

PD6

TCK/

PC0

TMS/

PC1

TDI/

PC2

TDO

/PC3

PD1

PD0

PE5

PE4

PB4

PB5

PD2

PD3

PB7GNDA

PB6VDDA

PF4PE3PE2PE1

PD7PE0

PC4PC5PC6PC7GND

VDD

VDD

CPA

7PA

6

PF2

PF1

WAK

EPF

3

PA1/

U0T

xPA

0/U

0Rx

PA2/

SSI0

Clk

PA3/

SSI0

Fss

PA4/

SSI0

RxPA

5/SS

I0Tx

TM4C123GH6PM

U1

X116MHz

X232.768KHz

C522pF

C422pF

C222pF

C322pF

T1

VDD-3.3V

R110K

C1100nF

R2

220

RST#

RST#

RESET

XOSC0

XOSC1GNDX

OSC0OSC1

VDD

CVD

DC

USB-IDUSB-DET

PB2PB3

PB4

PB5

PB6

PB7

PC0-

TCK

PC1-

TMS

PC2-

TDI

PC3-

TDO

PC4PC5PC6PC7

PE0PE1PE2PE3

PE4

PE5

PA0

PA1

PA2

PA3

PA4

PA5

PA6

PA7

PF0

PF1

PF2

PF3

PD1

PD2

PD3

PD6

PD7

USB-D_NUSB-D_P

VDD-3.3V

VCC-USB

FP112345GND

IDD+D-

VBUS

CN1

USB MINIB

USB-DETUSB-D_NUSB-D_PUSB-ID

R6220

C6100nF

LD3 LD1LD2

R34K7

R44K7

R52K2

VDD-3.3VPC4PC5

VCC-USB

C21

2.2u

F R939K

R8287K

1

2

3

IN

GND

OUT 5

4EN ADJ

U3

AP7331-ADJ

C20

10uF

VDD-3.3V

RST#

PF0PF1

PF2PF3

PA6

PA7PE4PE5

PE3PE2PE1PE0

PD1PD2

PD3PA3

PA2

HD1

VDD-3.3V

1234567891011121314151617181920

SPI1-SS

CAN-Rx

PWM0

CAN-Tx

INT2

INT3

SPI1-SCKPWM1

PWM2PWM3

AN0AN1AN2AN3AN4

AN5AN6

nMCLR

VDDVSS

PC0-TCKPC1-TMS

PC2-TDIPC3-TDO

PB5

PB6PB7PB4

PB2PB3PA0PA1

PD6PD7

PA4PA5

PC6PC7

HD2

VDD-3.3V

TDO

2122232425262728293031323334353637383940

I2C-SCL

INT0

I2C-SDA

INT1

SPI1-MISOSPI1-MOSIUART0-TxUART0-Rx

UART1-TxUART1-Rx

SPI0-SS

SPI0-MISOSPI0-MOSI

SPI0-SCK

TCK/SWCTMS/SWD

TDI

VDDVSS

Page 11: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 11

3. Pinout

PF3

PF2

SPI1-SCK PA2

PWM1 PF1

PWM0 PF0

INT3 PA7

CRX PE4

CTX PE5

GND GND

3.3V Power supply 3.3V

INT2 PA6

PD1

PD2

SPI1-SS PA3

AN4 PD3

AN3 PE0

AN2 PE1

AN1 PE2

AN0 PE3

RSTPin functionsPin functions

CAN

Analog I/O

PD7

PD6

PA4

PA5

PA1

PA0

PB3

PB2

PC3

PC2

GND

3.3V

PC7

PC6

PC1

PC0

PB5

PB4

PB7

PB6

SPI1-MISO

SPI1-MOSI

U0TX

U0RX

GND

3.3V Power supply

INT1

INT0

TMS/SWD

SPI0-MOSI

SPI0-MISO

I2C

UART0

TCK/SWC

SPI0-SS

SPI0-SCKSPI0

AN5

AN6

SPI LinesInterrupt LinesAnalog Lines I2C Lines UART lines CAN lines PWM lines

PWM2

PWM3

TDI

TDO

I2C-SCL

I2C-SDA

U1TX

U1RXUART1

Page 12: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 12 Page 13

4. Dimensions

50.82000

2.54100

17

.78

70

0

Legendmmmils

50.82000

2.54100

17

.78

70

0

Legendmmmils

Page 13: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 13

Notes:

Page 14: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 14

Notes:

Page 15: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

Page 15

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™, MINI™, EasyMX PRO™, mikroBUS™, click™ boards, mikroProg™, 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 war-ranty of fitness for High Risk Activities.

Page 16: MINI-M4™ Tiva™ Manual - Mikroelektronika · Page 3 Introduction to MINI-M4 for Tiva™ C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6

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 026373

ARMMINI