MINI-M4 development board for TivaTM C Series The whole TivaTM C Series development board fitted in DIP40 form factor, containing powerful TivaTM C Series TM4C123GH6PM microcontroller. MINI ARM 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 TivaTM C Series, ARM(R) and Windows(R) logos and product names are trademarks of Texas Instruments(R), ARM(R) Holdings and Microsoft(R) in the U.S.A. and other countries. Table of Contents Introduction to MINI-M4 for TivaTM C Series 4 Key features 4 System specifications 5 1. Programming with mikroBootloader 6 step 1 - Connecting MINI-M4 for TivaTM 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 Page 3 Introduction to MINI-M4 for TivaTM C Series Miniature and powerful development tool designed to work as a standalone device or as a MCU card in DIP40 socket. MINI-M4 for TivaTM 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 mikroProgTM) attach it to MINI-M4 for TivaTM C Series via pads marked with PC0 (TCK/SWC), PC1 (TMS/SWD), PC2 (TDI), PC3 (TDO) and RST#. Key features 01 Connection pads 02 USB MINI-B connector 03 DATA LED 04 STAT LED 05 POWER supply LED 06 Reset button 07 Power supply regulator 08 Microcontroller TivaTM C Series TM4C123GH6PM 09 32.768kHz Crystal oscillator 10 16 MHz Crystal oscillator Page 4 01 02 System specifications 07 power supply 3.3V via pads or 5V via USB power consumption depends on MCU state (max current into 3.3V pad is 300mA) 08 board dimensions 50.8 x 17.78mm (2 x 0.7") 03 04 05 09 10 weight ~6g (0.013 lbs) 06 Page 5 1. Programming with mikroBootloader step 1 - Connecting MINI-M4 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: www.mikroe.com/downloads/get/2108/ mikrobootloader_mini_m4_tiva_v230.zip 01 After the software is downloaded unzip it to the desired location and start mikroBootloader USB HID software. Figure 1-1: USB HID mikroBootloader window 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. Page 6 step 2 - Browsing for .HEX file step 3 - Selecting .HEX file 01 01 02 Figure 1-2: Browse for HEX Figure 1-3: Selecting HEX 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. 01 Select .HEX file using open dialog window. 02 Click Open. Page 7 step 4 - Uploading .HEX file 01 01 Figure 1-4: Begin uploading Figure 1-5: Progress bar 01 To start .HEX file bootloading click the Begin uploading button. 01 You can monitor .HEX file uploading via progress bar Page 8 step 5 - Finish upload 01 Figure 1-6: Restarting MCU Figure 1-7: mikroBootloader ready for next job 01 Click OK after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute. Page 9 2. Schematic PD6 PC0-TCK PC1-TMS PC2-TDI PC3-TDO VDDC PE5 PE4 PB4 PB5 PD3 PD2 PD1 VDD-3.3V VDD-3.3V RST# PB7 PE3 PE2 PE1 PE0 PD7 PC7 PC6 PC5 PC4 VCC-USB VBUS DD+ ID GND USB MINIB 1 2 3 4 5 FP1 R6 220 USB-DET USB-D_N USB-D_P USB-ID PB6 VDDA GNDA PB7 PF4 PE3 PE2 PE1 PE0 PD7 VDD GND PC7 PC6 PC5 PC4 TM4C123GH6PM 220 PB3 PB2 PB1 PB0 PD5 PD4 VDD OSC1 OSC0 GND RST VBAT XOSC1 GNDX XOSC0 HIB C1 100nF 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 PB3 PB2 USB-DET USB-ID USB-D_P USB-D_N RESET C2 22pF X1 16MHz C3 22pF OSC1 OSC0 PE5 PE4 PA7 PF0 PF1 PA2 PF2 PF3 RST# XOSC1 GNDX XOSC0 C5 22pF VCC-USB C8 C9 C10 1uF 2.2uF Page 10 C15 C16 100nF 100nF 100nF 100nF 100nF C11 C12 C13 C14 1uF 1 2 VDD-3.3V 100nF 100nF PB6 PB7 PB4 PB5 PC0-TCK PC1-TMS PC6 PC7 PC2-TDI PC3-TDO PB2 PB3 PA0 PA1 PA5 PA4 PD6 PD7 HD2 VDD-3.3V X2 32.768KHz C4 22pF C7 C6 100nF 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 C20 VDDC PA0 PA1 PA2 PA3 PA4 PA5 PA6 PA7 CN1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 R2 SPI0-MISO SPI0-MOSI SPI0-SCK SPI0-SS TCK/SWC TMS/SWD INT0 INT1 VDD VSS TDI TDO I2C-SCL I2C-SDA UART0-Rx UART0-Tx SPI1-MOSI SPI1-MISO UART1-Rx UART1-Tx nMCLR AN0 AN1 AN2 AN3 AN4 SPI1-SS AN5 AN6 INT2 VDD VSS CAN-Tx CAN-Rx INT3 PWM0 PWM1 SPI1-SCK PWM2 PWM3 3 2.2uF PB6 VDDC 4K7 PF0 PF1 PF2 PF3 R3 4K7 PD3 PD2 PD1 PD0 PE5 PE4 PB4 PB5 VDDC GND VDD PD6 TCK/PC0 TMS/PC1 TDI/PC2 TDO/PC3 R4 2K2 U1 PA0/U0Rx PA1/U0Tx PA2/SSI0Clk PA3/SSI0Fss PA4/SSI0Rx PA5/SSI0Tx PA6 PA7 VDDC VDD GND PF0 PF1 PF2 PF3 WAKE R5 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 LD1 T1 VDD-3.3V 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 HD1 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 LD2 LD3 VDD-3.3V RST# PE3 PE2 PE1 PE0 PD3 PA3 PD2 PD1 PA6 R1 10K C21 PC5 PC4 VDD-3.3V 10uF U3 IN OUT GND EN ADJ AP7331-ADJ 5 4 R8 287K R9 39K 3. Pinout Pin functions Pin functions RST PB6 SPI0-MISO PE3 PB7 SPI0-MOSI AN1 PE2 PB4 SPI0-SCK AN2 PE1 PB5 SPI0-SS AN3 PE0 PC0 TCK/SWC AN4 PD3 PC1 TMS/SWD SPI1-SS PA3 PC6 INT0 AN5 PD2 PC7 INT1 AN6 PD1 3.3V 3.3V Power supply INT2 PA6 GND GND 3.3V Power supply 3.3V PC2 TDI GND GND PC3 TDO CTX PE5 PB2 I2C-SCL CRX PE4 PB3 I2C-SDA INT3 PA7 PA0 U0RX PWM0 PF0 PA1 U0TX SPI1-MOSI AN0 Analog I/O CAN Analog Lines I2C UART0 PWM1 PF1 PA5 SPI1-SCK PA2 PA4 SPI1-MISO PWM2 PF2 PD6 U1RX PWM3 PF3 PD7 U1TX Interrupt Lines SPI Lines I2C Lines Page 11 UART lines SPI0 UART1 CAN lines PWM lines 4. Dimensions 17.78 700 50.8 2000 17.78 700 50.8 2000 2.54 100 2.54 100 Legend mm mils Legend mm mils Page 12 Notes: Page 13 Notes: Page 14 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, mikroCTM, mikroBasicTM, mikroPascalTM, MINITM, EasyMX PROTM, mikroBUSTM, clickTM boards, mikroProgTM, and mikromediaTM 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 (c) 2014 MikroElektronika. All Rights Reserved. Page 15 MINI ARM 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 office@mikroe.com MINI-M4 for Tiva C Series Manual ver. 1.00 0 100000 026373