EK-TM4C129EXL User`s Guide

EK-TM4C129EXL User`s Guide

TM4C Series TM4C129E Crypto Connected

LaunchPad Evaluation Kit

EK-TM4C129EXL

User's Guide

Literature Number: SPMU372

September 2015

Contents

4

A

1

2

3

B

2

Board Overview

1.1

1.2

...................................................................................................................

4

Kit Contents

...................................................................................................................

5

Using the Crypto Connected LaunchPad

................................................................................

5

1.3

1.4

1.5

1.6

Features

.......................................................................................................................

5

BoosterPacks

.................................................................................................................

6

Energ īa

........................................................................................................................

6

Specifications

.................................................................................................................

6

Hardware Description

2.1

...........................................................................................................

8

Functional Description

2.1.1

Microcontroller

......................................................................................................

8

.......................................................................................................

8

2.1.2

Ethernet Connectivity

...............................................................................................

9

2.1.3

Crypto Accelerators

.................................................................................................

9

2.1.4

USB Connectivity

...................................................................................................

9

2.1.5

Motion Control

.......................................................................................................

9

2.1.6

User Switches and LED's

........................................................................................

10

2.2

2.3

2.1.7

BoosterPacks and Headers

......................................................................................

11

2.1.7.1

BoosterPack 1

2.1.7.2

BoosterPack 2

...............................................................................................

11

...............................................................................................

13

2.1.7.3

Breadboard Connection

....................................................................................

15

2.1.7.4

Other Headers and Jumpers

..............................................................................

19

Power Management

........................................................................................................

19

2.2.1

Power Supplies

....................................................................................................

19

2.2.2

Low Power Modes

................................................................................................

20

2.2.3

Clocking

2.2.4

Reset

............................................................................................................

20

................................................................................................................

20

Debug Interface

.............................................................................................................

20

2.3.1

In-Circuit Debug Interface (ICDI)

2.3.2

External Debugger

................................................................................

20

................................................................................................

21

2.3.3

Virtual COM Port

..................................................................................................

21

Software Development

3.1

........................................................................................................

23

Secure IoT Demo

...........................................................................................................

23

3.2

3.1.1

Software Description

..............................................................................................

23

3.1.2

Source Code Download and Build Instructions

...............................................................

23

TivaWare for C Series Software

..........................................................................................

23

3.3

3.2.1

Software Description

..............................................................................................

23

3.2.2

Source Code

.......................................................................................................

24

3.2.3

Tool Options

.......................................................................................................

24

Programming the Crypto Connected LaunchPad

......................................................................

24

References

4.1

........................................................................................................................

26

References

..................................................................................................................

26

PCB Layout and Bill of Materials

..........................................................................................

28

A.1

A.2

Component Locations

Bill of Materials

.....................................................................................................

28

.............................................................................................................

29

Schematic

.........................................................................................................................

33

Contents

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

www.ti.com

List of Figures

1-1.

TM4C Series Crypto Connected LaunchPad Evaluation Board

.......................................................

4

2-1.

TM4C Crypto Connected LaunchPad Evaluation Board Block Diagram

.............................................

8

2-2.

Default Jumper Locations

.................................................................................................

19

A-1.

Crypto Connected LaunchPad Dimensions and Component Locations

............................................

28

List of Tables

1-1.

EK-TM4C129EXL Specifications

..........................................................................................

6

2-1.

BoosterPack 1 GPIO and Signal Muxing

...............................................................................

11

2-2.

BoosterPack 2 GPIO and Signal Muxing

...............................................................................

13

2-3.

X11 Breadboard Adapter Odd-Numbered Pad GPIO and Signal Muxing

..........................................

15

2-4.

X11 Breadboard Adapter Even-Numbered Pad GPIO and Signal Muxing

.........................................

17

A-1.

Crypto Connected LaunchPad Bill of Materials

........................................................................

29

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

List of Figures

3

Chapter 1

SPMU372 – September 2015

Board Overview

The TM4C Series TM4C129E Crypto Connected LaunchPad™ Evaluation Board (EK-TM4C129EXL) is a low-cost evaluation platform for ARM

®

Cortex

®

-M4F-based microcontrollers. The Crypto Connected

LaunchPad design highlights the TM4C129ENCPDT microcontroller with its on-chip crypto acceleration hardware, 10/100 Ethernet MAC and PHY, USB 2.0, hibernation module, motion control pulse-width modulation and a multitude of simultaneous serial connectivity. The Crypto Connected LaunchPad also features two user switches, four user LEDs, dedicated reset and wake switches, a breadboard expansion option and two independent BoosterPack XL expansion connectors. The pre-programmed out of the box demo on the Crypto Connected LaunchPad also enables remote monitoring and control of the evaluation board securely from an internet browser anywhere in the world. The web interface is provided by 3rd party, Exosite. Each Crypto Connected LaunchPad is enabled on the Exosite platform allowing users to create and customize their own secure Internet-of-Things (IoT) applications.

Figure 1-1

shows a photo of the Crypto Connected LaunchPad with key features highlighted.

Figure 1-1. TM4C Series Crypto Connected LaunchPad Evaluation Board

LaunchPad, TivaWare, Code Composer Studio are trademarks of Texas Instruments.

ARM, Cortex, RealView, IAR Embedded Workbench are registered trademarks of ARM Limited.

All other trademarks are the property of their respective owners.

4

Board Overview

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

1.1

Kit Contents

The Crypto Connected LaunchPad Evaluation Kit contains the following items:

• TM4C Series TM4C129E Evaluation Board (EK-TM4C129EXL)

• Retractable Ethernet cable

• USB Micro-B plug to USB-A plug cable

• 90° 49x2 breadboard header

Meet the TM4C Series TM4C129E Crypto LaunchPad Evaluation Kit ( SPMZ862 )

Kit Contents

1.2

Using the Crypto Connected LaunchPad

The recommended steps for using the Crypto Connected LaunchPad Evaluation Kit are:

1. Follow the README First document included in the kit. The README First helps you get the

Crypto Connected LaunchPad up and running in minutes. Within just a few minutes you can be controlling and monitoring the Crypto Connected LaunchPad through the internet using Exosite and the pre-programmed out of the box demo.

2. Experiment with BoosterPacks. This evaluation kit conforms to the latest revision of the BoosterPack pinout standard. It has two independent BoosterPack connections to enable a multitude of expansion opportunities.

3. Take the first step towards developing your own applications. The Crypto Connected LaunchPad is supported by TivaWare™ for C Series. All the applications that work on TM4C series TM4C1294

Connected LaunchPad Evaluation Board (EK-TM4C1294XL) will work on the Crypto Connected

LaunchPad. After installing TivaWare, look in the installation directory for examples\boards\EK-

TM4C1294XL. You can find pre-configured example applications for the Connected LaunchPad board as well as for with selected BoosterPacks. These examples will work on the Crypto Connected

LaunchPad board. Alternately, use Energ īa for a wiring framework-based cross-platform, fastprototyping environment that works with this and other TI LaunchPads. For more details about software development, see

Chapter 3

of this document. TivaWare can be downloaded from the TI website at http://www.ti.com/tool/sw-tm4c . Energ īa can be found at http://energia.nu

.

4. Customize and integrate the hardware to suit your end application. This evaluation kit can be used as a reference for building your own custom circuits based on TM4C microcontrollers or as a foundation for expansion with your custom BoosterPack or other circuit. This manual can serve as a starting point for this endeavor.

5. Get Trained. You can also download hours of written and video training materials on this and related

LaunchPads. For more information, visit the TM4C Series LaunchPad Workshop Wiki.

6. More Resources. For more information and the available BoosterPacks, see the TI MCU LaunchPad web page ( http://www.ti.com/tiva-c-launchpad ).

1.3

Features

Your Crypto Connected LaunchPad includes the following features:

• TM4C129ENCPDT microcontroller

• Ethernet connectivity with fully integrated 10/100 Ethernet MAC and PHY motion control pulse width modulation (PWM)

• Crypto acceleration hardware blocks

• USB 2.0 Micro A/B connector

• Four user LEDs

• Two user buttons

• One independent hibernate wake switch

• One independent microcontroller reset switch

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Board Overview

5

BoosterPacks

www.ti.com

• Jumper for selecting power source:

– ICDI USB

– USB Device

– BoosterPack

• Preloaded secure access of Internet-of-Things product to Exosite application

• I/O brought to board edge for breadboard expansion

• Two independent BoosterPack XL standard connectors featuring stackable headers to maximize expansion through BoosterPack ecosystem

– For a complete list of BoosterPacks, see the TI MCU LaunchPad web page: http://www.ti.com/launchpad

1.4

BoosterPacks

The Crypto Connected LaunchPad provides an easy and inexpensive way to develop applications with the

TM4C129ENCPDT microcontroller. BoosterPacks are add-on boards that follow a pin-out standard created by Texas Instruments. The TI and third-party ecosystem of BoosterPacks greatly expands the peripherals and potential applications that you can easily explore with the Crypto Connected LaunchPad.

You can also build your own BoosterPack by following the design guidelines on TI’s website. Texas

Instruments even helps you promote your BoosterPack to other members of the community. TI offers a variety of avenues for you to reach potential customers with your solutions.

1.5

Energ īa

Energ īa is an open-source electronics prototyping platform started in January of 2012 with the goal of bringing the Wiring and Arduino framework to the TI LaunchPad community. Energ īa includes an integrated development environment (IDE) that is based on Processing.

Together with Energ īa, LaunchPads can be used to develop interactive objects, taking inputs from a variety of switches or sensors, and controlling a variety of lights, motors, and other physical outputs.

LaunchPad projects can be stand-alone (only run on the target board, for example, your LaunchPad), or they can communicate with software running on your computer (Host PC). Energ īa projects are highly portable between supported LaunchPad platforms.

More information is available at http://energia.nu

.

1.6

Specifications

Table 1-1

summarizes the specifications for the Crypto Connected LaunchPad.

Parameter

Board Supply Voltage

Dimensions

Break-out Power Output

RoHS Status

Table 1-1. EK-TM4C129EXL Specifications

Value

4.75 V

DC to 5.25 V

DC from one of the following sources: See schematic symbol JP1 for power input selection.

• Debug USB U22 (ICDI) USB Micro-B cable connected to PC or other compatible power source.

• Target USB (U7) USB Micro-B cable connected to PC or other compatible power source.

• BoosterPack 1 (X8-4)

• BoosterPack 2 (X6-4)

• Breadboard expansion header (X11-2 or X11-97).

4.9 in x 2.2 in x .425 in (12.45 cm x 5.59 cm x 10.8 mm) (L x W x H)

• 5 V

DC to BoosterPacks, current limited by TPS2052B. Nominal rating 1 Amp.

Board input power supply limitations may also apply.

• 3.3 V

DC to BoosterPacks, limited by output of TPS73733 LDO. This 3.3-V plane is shared with on-board components. Total output power limit of TPS73733 is 1

Amp.

Compliant

6

Board Overview

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

www.ti.com

Specifications

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Board Overview

7

Chapter 2

SPMU372 – September 2015

Hardware Description

The Crypto Connected LaunchPad includes a TM4C129ENCPDT microcontroller with an integrated

10/100 Ethernet MAC and PHY and crypto acceleration blocks. This advanced ARM Cortex M4F MCU has a wide range of peripherals that are made available to users via the on-board accessories and the

BoosterPack connectors. This chapter explains how those peripherals operate and interface to the microcontroller.

Figure 2-1

provides a high-level block diagram of the Crypto Connected LaunchPad.

Debug USB

Power Select and Generate

ICDI

USB 2.0

Ethernet

TM4C TM4C129ENCPDT

Target

JTAG IN

BoosterPack XL

Connection 2

Breadboard

Expansion

User

Switches

LEDs

BoosterPack XL

Connection 1

Figure 2-1. TM4C Crypto Connected LaunchPad Evaluation Board Block Diagram

2.1

Functional Description

2.1.1 Microcontroller

The TM4C129ENCPDT is a 32-bit ARM Cortex-M4F based microcontroller with 1024-kB Flash memory,

256-kB SRAM, 6-kB EEPROM, and 120 MHz operation; integrated 10/100 Ethernet MAC and PHY; integrated hardware crypto accelerators; integrated USB 2.0 connectivity with external high-speed USB

3.0 PHY capability; a hibernation module, a multitude of serial connectivity and motion control PWM; as well as a wide range of other peripherals. For more complete details, see the TM4C129ENCPDT microcontroller data sheet .

Most of the microcontroller’s signals are routed to 0.1-in (2.54-mm) pitch headers or through-hole solder pads. An internal multiplexor allows different peripheral functions to be assigned to each of these generalpurpose input/output (GPIO) pads. When adding external circuitry, consider the additional load on the evaluation board power rails.

The TM4C129ENCPDT microcontroller is factory-programmed with an out of the box demo program. The out of the box program resides in on-chip Flash memory and runs each time power is applied, unless the out of the box application has been replaced with a user program. The out of the box application automatically connects to https://ti.exosite.com

when an internet connection is provided through the RJ45

Ethernet jack on the evaluation board.

8

Hardware Description

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

www.ti.com

Functional Description

2.1.2 Ethernet Connectivity

The Crypto Connected LaunchPad is designed to connect directly to an Ethernet network using RJ45 style connectors. The microcontroller contains a fully integrated Ethernet MAC and PHY. This integration creates a simple, elegant and cost-saving Ethernet circuit design. Example code is available for both the uIP and LwIP TCP/IP protocol stacks. The embedded Ethernet on this device can be programmed to act as an HTTP server, client or both. The design and integration of the circuit and microcontroller also enable users to synchronize events over the network using the IEEE1588 precision time protocol.

When configured for an Ethernet operation, it is recommended that the user configure LED D3 and D4 to be controlled by the Ethernet MAC to indicate connection and transmit/receive status.

2.1.3 Crypto Accelerators

The Crypto Connected LaunchPad features the hardware acceleration blocks such as Advanced

Encryption Standard (AES), Data Encryption Standard (DES), and Secure Hash Algorithm/MD5 Message

Digest Algorithm (SHA/MD5) that offload data encryption and decryption functions from CPU. These hardware cipher blocks support the µDMA operation and have improved performance over software cipher blocks.

The AES block is a symmetric cipher module that supports multiple encrypt and decrypt operations, feedback operating modes, authentication modes, key sizes (128 bit, 192 bit, or 256 bit) and key scheduling in hardware. The DES block is also a symmetric cipher module with DES/3DES encryption and decryption along with support for multiple feedback operating modes. The SHA/MD5 block is a hash module that can run functions like MD5, SHA-1, SHA224, SHA256 and Hash message authentication code (HMAC).

2.1.4 USB Connectivity

The Crypto Connected LaunchPad is designed to be USB 2.0 ready. A TPS2052B load switch is connected to and controlled by the microcontroller USB peripheral, which manages power to the USB micro A/B connector when functioning in a USB host. When functioning as a USB device, the entire

Crypto Connected LaunchPad can be powered directly from the USB micro A/B connector. Use JP1 to select the desired power source.

USB 2.0 functionality is provided and supported directly out of the box with the target USB micro A/B connector. High-speed USB 3.0 functionality can be enabled by adding an external USB PHY. The USB external PHY control and data signals are provided on the breadboard expansion header X11.

2.1.5 Motion Control

The Crypto Connected LaunchPad includes the TM4C Series Motion Control PWM technology, featuring a

PWM module capable of generating eight PWM outputs. The PWM module provides a great deal of flexibility and can generate simple PWM signals (for example, those signals required by a simple charge pump, as well as paired PWM signals with dead-band delays such as those required by a half-H bridge driver). Three generator blocks can also generate the full six channels of gate controls required by a 3phase inverter bridge.

A quadrature encoder interface (QEI) is also available to provide motion control feedback.

For details about the availability of these signals on the BoosterPack interfaces, see the

BoosterPacks and Headers

of this document.

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Hardware Description

9

Functional Description

www.ti.com

2.1.6 User Switches and LED's

Two user switches are provided for input and control of the TM4C129ENCPDT software. The switches are connected to GPIO pins PJ0 and PJ1.

A reset switch and a wake switch are also provided. The reset switch initiates a system reset of the microcontroller whenever it is pressed and released. Pressing the reset switch also asserts the reset signal to the BoosterPack and Breadboard headers. The wake switch is one way to bring the device out of hibernate mode.

Four user LEDs are provided on the board. D1 and D2 are connected to GPIOs PN1 and PN0. These

LEDs are dedicated for use by the software application. D3 and D4 are connected to GPIOs PF4 and

PF0, which can be controlled by user’s software or the integrated Ethernet module of the microcontroller.

A power LED is also provided to indicate that 3.3 V power is present on the board.

10

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

2.1.7 BoosterPacks and Headers

Functional Description

2.1.7.1

BoosterPack 1

The Crypto Connected LaunchPad features two fully independent BoosterPack XL connectors. BoosterPack 1, located around the ICDI portion of the board, is fully compliant with the BoosterPack standard with the single exception of GPIO pin PA6 (X8-16), which does not provide analog capability. PA6 is located near the bottom of the inner left BoosterPack XL header.

Inter-integrated circuit (I2C) is provided in both the original BoosterPack standard configuration as well as the updated standard location. Use of

I2C on the bottom left of the BoosterPack connections per the updated standard is highly encouraged whenever possible.

Motion control advanced PWM connections are provided on the inner right connector for motion control applications.

Table 2-1

provides a complete listing of the BoosterPack pins and the GPIO alternate functions available on each pin. The TM4C129ENCPDT

GPIO register GPIOPCTL values are shown for each configuration. The headers in this table are labeled from left to right in ten pin columns. ‘A’ and ‘D’ make up the outer BoosterPack standard pins, ‘B’ and ‘C’ make up the inner BoosterPack XL standard pins.

B1

B1

B1

B1

B1

B1

B1

B1

A1

A1

A1

A1

A1

B1

B1

Standard MCU

Header Pin Function GPIO Pin

A1

A1

1

2

+3.3 V

Analog PE4 123

UART RX PC4 25 A1

A1

A1

3

4

5

UART TX

GPIO

PC5

PC6

24

23

6

7

8

9

10

1

2

Analog

SPI CLK

GPIO

I2C SCL

I2C SDA

+5 volts

Ground

PE5 124

PD3

PC7

PB2

PB3

4

22

91

92

3

4

5

6

7

8

9

10

Analog

Analog

Analog

Analog

Analog

Analog

A out

A out

PE0

PE1

PE2

15

14

13

PE3 12

PD7 128

PA6

PM4

PM5

40

74

73

AIN9

C1-

C1+

C0+

AIN8

AIN12

C0-

-

-

Analog

AIN3

AIN2

AIN1

AIN0

AIN4

U1RTS

U1DSR

U1DCD

U1DTR

U2CTS

U2Rx

TMPR3 U0CTS

TMPR2 U0DCD

U1RI

U7Rx

U7Tx

U5Rx

-

-

U5Tx

-

-

Table 2-1. BoosterPack 1 GPIO and Signal Muxing

1 2

-

-

-

-

-

I2C8SDA

-

3

-

-

-

-

-

T1CCP1

-

I2C0SCL T5CCP0

I2C0SDA T5CCP1

-

-

-

-

-

-

-

-

-

-

-

-

T4CCP1 USB0PFLT

I2C6SCL T3CCP0 USB0EPEN

-

T4CCP0

T4CCP1

-

-

-

-

-

-

-

-

-

-

-

5

Digital Function (GPIOPCTL Bit Encoding)

6 7 8 11

3.3 V

-

-

-

-

-

-

RTCCLK

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

5 V

GND

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

NMI

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

-

-

SSI0XDAT2

-

-

-

-

-

-

-

-

-

-

-

14

-

-

-

-

-

-

-

-

15

-

-

-

-

-

-

-

USB0STP

USB0CLK

SSI1XDAT0

EPI0S7

EPI0S6

EPI0S5

SSIXDAT1

SSI2CLk

EPI0S4

EPI0S27

EPI0S28

-

-

-

-

SSI2XDAT2

EPI0S8

-

-

SPMU372 – September 2015

Submit Documentation Feedback

Hardware Description

11

Copyright © 2015, Texas Instruments Incorporated

Functional Description

D1

D1

D1

D1

D1

C1

C1

C1

C1

C1

Standard MCU

Header Pin Function GPIO Pin

C1 1 PWM PF1 43

C1

C1

C1

C1

2

3

4

5

PWM

PWM

PWM

Capture

PF2

PF3

PG0

PL4

44

45

49

85

6

7

8

9

10

1

2

3

4

5

Capture

GPIO

GPIO

GPIO

GPIO

Ground

PWM

GPIO

GPIO

Reset

PL5

PL0

PL1

PL2

PL3

PM3

PH2

PH3

86

81

82

83

84

75

31

32

D1

D1

D1

D1

D1

6 SPI MOSI PD1 2

7 SPI MISO PD0

8 GPIO PN2

1

109

9

10

GPIO

GPIO

PN3 110

PP2 103

Analog

-

-

-

-

-

-

-

-

-

-

-

-

-

Table 2-1. BoosterPack 1 GPIO and Signal Muxing (continued)

AIN14

AIN15

-

-

-

-

-

-

-

-

-

-

1

-

-

-

-

U0DCD

U0DSR

-

-

U1DCD

U1DSR

U0DTR

2

-

-

-

I2C1SCL

-

-

I2C2SDA

I2C2SCL

-

-

-

-

-

3

-

-

-

-

T0CCP0

T0CCP1

-

-

-

-

T3CCP1

-

-

I2C7SDA T0CCP1

I2C7SCL T0CCP0

U2RTS -

U2CTS

-

-

5

Digital Function (GPIOPCTL Bit Encoding)

6 7 8 11

EN0LED2 M0PWM1

-

M0PWM2

M0PWM3

EN0PPS

-

M0PWM4

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

C0o

C1o

-

M0FAULT3

PhA0

PhB0

IDX0

GND

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

C1o

C0o

-

-

-

RESET

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

www.ti.com

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

14

SSI3XDAT0

SSI3Fss

SSI3Clk

-

USB0D4

USB0D5

USB0D0

USB0D1

USB0D2

USB0D3

15

TRD1

TRD0

TRCLK

EPI0S11

EPI0S26

EPI0S33

EPI0S16

EPI0S17

EPI0S18

EPI0S19

-

-

-

EPI0S12

EPI0S2

EPI0S3

-

-

-

-

USB0NXT

SSI2XDAT0

SSI2XDAT1

EPI0S29

EPI0S30

EPI0S29

12

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

Functional Description

2.1.7.2

BoosterPack 2

The second BoosterPack XL interface is located near the middle of the board. This interface is fully compliant with the BoosterPack standard and adds features not covered by the BoosterPack standard that enable operation with additional BoosterPacks.

An additional analog signal is provided on the outer left header (X6-9). This signal can be used to monitor the touch panel on the popular Kentec

EB-LM4F120-L35 BoosterPack.

Using the jumpers JP4 and JP5, Controller Area Network (CAN) digital receive and transmit signals can be optionally routed to the BoosterPack 2 interface. The location of these signals is consistent with the CAN interface on the TM4C Series TM4C123G LaunchPad and the Stellaris

LM4F120 LaunchPad. In the default configuration, UART0 is used for the ICDI virtual UART and CAN is not present on the BoosterPack headers.

In this configuration, the ROM serial bootloader can be used over the ICDI virtual UART. When the jumpers are configured for CAN on the

BoosterPack, then UART4 must be used for the ICDI virtual UART.

To comply with both the original and the new BoosterPack standard, I2C is provided on both sides of the BoosterPack connection. Use of I2C on the bottom left of the BoosterPack connection is highly encouraged where possible, to be in compliance with the new BoosterPack standard. To provide I2C capability on the right side of the connector, per the original standard, two zero-ohm resistors (R19 and R20) are used to combine the

SPI and I2C signals. These signals are not shared with any other pins on the LaunchPad and therefore removal of these zero-ohm resistors should not be required. Software should be certain that unused GPIO signals are configured as inputs.

Table 2-2

provides a complete listing of the BoosterPack pins and the GPIO alternate functions available at each pin. The TM4C129ENCPDT

GPIO register GPIOPCTL values are shown for each configuration. The headers in this table are labeled from left to right in ten pin columns. ‘A’ and ‘D’ make up the outer BoosterPack standard pins, ‘B’ and ‘C’ make up the inner BoosterPack XL standard pins.

Table 2-2. BoosterPack 2 GPIO and Signal Muxing

Standard MCU

Header Pin Function GPIO Pin Analog

A2

A2

A2

A2

A2

1

2 Analog PD2 3

3 UART RX PP0 118

4 UART TX PP1 119

PD4 125

5

GPIO

(See JP4)

PA0 33

AIN13

C2+

C2-

AIN7

-

AIN6

A2 6

Analog

(See JP5)

PD5 126

PA1 34

A2

A2

A2

A2

B2

B2

B2

7

8

SPI CLK

GPIO

PQ0

PP4

5

105

9 I2C SCL PN5 112

10 I2C SDA PN4 111

1

2

3 Analog PB4 121

-

-

-

-

-

AIN10

1

-

U6Rx

U6Tx

U2Rx

2

I2C8SCL

-

-

-

3

T1CCP0

-

-

T3CCP0

U0Rx I2C9SCL T0CCP0

U2Tx T3CCP1

U0Tx I2C9SDA T0CCP1

-

U3RTS U0DSR

-

-

U1RI

U1DTR

U0CTS

U3CTS

U3RTS

I2C5SCL

I2C2SCL

I2C2SDA

-

5

-

-

-

-

-

-

-

C2o

-

-

-

-

Digital Function (FPIOPCTL Bit Encoding)

6 7 8 11

-

3.3 V

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

5 V

-

GND

CANORx

-

CAN0Tx -

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

-

-

-

-

-

-

-

-

-

14

-

-

-

-

-

-

-

SSI3Clk

USB0D7

-

-

-

15

SSI2Fss

SSI3XDAT2

SSI3XDAT3

SSI1XDAT2

-

SSI1XDAT3

-

EPI0S20

-

EPIO0S35

EPIO0S34

SSI1Fss

SPMU372 – September 2015

Submit Documentation Feedback

Hardware Description

13

Copyright © 2015, Texas Instruments Incorporated

Functional Description

www.ti.com

Table 2-2. BoosterPack 2 GPIO and Signal Muxing (continued)

Header Pin

B2 4

Standard

Function

Analog

GPIO

MCU

Pin Analog 1 2

PB5 120 AIN11 U0RTS I2C5SDA

B2

B2

C2

C2

C2

C2

C2

D2

D2

D2

D2

C2

C2

D2

B2

B2

B2

B2

C2

C2

C2

D2

D2

D2

D2

D2

5

6

7

8

9

10

1

2

3

4

5

6

7

8

9

10

1

2

3

4

5

6

7

8

9

10

Analog

Analog

Analog

Analog

A out

A out

PWM

PWM

PWM

PK0 18

PK1 19

PK2

PK3

PA4

PK4

PK5

20

21

37

PA5 38

PG1 50

63

62

AIN16

AIN17

U4Rx

U4Tx

AIN18 U4RTS

AIN19 u4CTS

-

-

-

-

-

U3Rx

-

-

U3Tx I2C7SDA T2CCP1

-

-

-

-

-

I2C7SCL

I2C1SDA

I2C3SCL

I2C3SDA

3

-

-

-

T2CCP0

-

-

-

-

-

5

-

-

-

Digital Function (FPIOPCTL Bit Encoding)

6 7 8 11

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

M0PWM5

EN0LED0 M0PWM6

EN0LED2 M0PWM7

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

PWM

Capture PM1 77

Capture PM2 76

GPIO

GPIO

GPIO

GPIO

PWM

GPIO

GPIO

SPI MOSI PQ2 11

I2C PA3 36

SPI MISO PQ3 27

I2C PA2 35

GPIO

GPIO

GPIO

PM0

PH0 29

PH1 30

PK6

PK7

-

-

-

-

-

-

-

-

-

-

U0RTS

U0CTS

-

U0RI

PM7 71 TMPR0 U0RI

PP5 106 U3CTS

-

I2C2SDL

PA7 41

PP3 104

PQ1

78

61

60

6 -

-

-

-

-

-

-

U1CTS

-

PM6 72 TMPR1 U0DSR

-

-

-

-

-

I2C4SCL

I2C4SDA

T2CCP0

T2CCP1

T3CCP0

-

-

-

-

T5CCP1

-

-

U4Tx I2C8SDA T1CCP1

-

U4Rx I2C8SCL T1CCP0

U0DCD

-

-

-

T5CCP0

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

EN0LED1 M0FAULT1

RTCCLK M0FAULT2

GND

-

-

U2Tx I2C6SDA T3CCP1 USB0PFLT

-

-

-

RESET

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

USB0EPEN SSI0XDAT3

-

-

-

-

-

-

-

13

-

-

-

-

USB0D6

-

SSI3XDAT0

-

SSI3XDAT1

-

USB0DIR

SSI3Fss

-

-

-

-

-

-

-

-

14

-

-

-

-

-

-

-

-

-

-

15

SSI1Clk

EPI0S0

EPI0S1

EPI0S2

EPI0S3

SSI0XDAT0

SSI0XDAT1

EPI0S10

EPI0S32

EPI0S31

EPI0S15

EPI0S14

EPI0S13

EPI0S0

EPI0S1

EPI0S25

EPI0S24

-

-

EPI0S9

EPI0S22

SSI0Fss

EPI0S23

SSI0Clk

EPI0S30

EPI0S21

-

14

Hardware Description

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

33

35

37

39

27

29

31

17

19

21

23

25

7

9

11

13

15

Pin

1

3

5 www.ti.com

Functional Description

2.1.7.3

Breadboard Connection

The breadboard adapter section of the board is a set of 98 holes on a 0.1 inch grid. Properly combined with a pair of right angle headers, the entire Crypto Connected LaunchPad can be plugged directly into a standard 300 mil (0.3 inch) wide solder-less breadboard. The right angle headers and breadboard are not provided with this kit. Suggested part numbers are Samtec TSW-149-09-L-S-RE and TSW-149-08-L-S-RA right angle pin headers and Twin industries TW-E40-1020 solder-less breadboard. Samtec TSW-149-09-F-S-RE and TSW-149-09-F-S-RA may be substituted.

A detailed explanation of how to install the headers is available on the TI LaunchPad Wiki or at http://users.ece.utexas.edu/~valvano/EE345L/Labs/Fall2011/LM3S1968soldering.pdf

.

Nearly all microcontroller signals are made available at the breadboard adapter holes (X11). These signals are grouped by function, where possible. For example, all EPI signals are grouped on one side of the connector. Many of the analog signals are grouped near VREF, and UART,

SSI and I2C signals are grouped by peripheral to make expansion and customization simpler.

Table 2-3

and

Table 2-4

show the GPIO pin and signal muxing for the X11 breadboard adapter pads.

Port

PB4

PB5

PH0

PH1

PH2

PH3

PC7

PC6

PC5

PC4

PA6

PA7

PG1

PG0

PM3

PM2

PM1

MCU

PIN Analog

76

77

-

-

C0-

C0+

C1+

C1-

-

-

-

-

-

AIN10

AIN11

-

-

31

32

22

23

24

25

40

41

50

49

75

121

120

29

30

-

-

Table 2-3. X11 Breadboard Adapter Odd-Numbered Pad GPIO and Signal Muxing

1

U0CTS

U0RTS

U0RTS

U0CTS

U0DCD

U0DSR

U5Tx

U5Rx

U7Tx

U7Rx

U2Rx

U2Tx

-

-

-

-

-

2

I2C5SCL

I2C5SDA

-

-

-

-

-

-

-

-

I2C6SCL

I2C6SDA

I2C1SDA

I2C1SCL

-

-

-

3 5

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

T3CCP0 USB0EPEN

T3CCP1

-

-

T3CCP1

USB0PFLT

-

EN0PPS

-

T3CCP0

T2CCP1

-

-

Digital Function (GPIOPCTL Bit Encoding)

6

3V3

7 8

GND

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

M0PWM5

M0PWM4

-

GND

-

-

-

-

-

-

RTCCLK

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

11

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

-

-

-

-

-

-

-

-

-

SSI0XDAT2

USB0EPEN SSI0XDAT3

-

-

-

-

-

-

14

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

15

EPI0S13

EPI0S14

SSI1Fss

SSI1Clk

EPI0S0

EPI0S1

EPI0S2

EPI0S3

EPI0S4

EPI0S5

EPI0S6

EPI0S7

EPI0S8

EPI0S9

EPI0S10

EPI0S11

EPI0S12

SPMU372 – September 2015

Submit Documentation Feedback

Hardware Description

15

Copyright © 2015, Texas Instruments Incorporated

PK6

PL4

PB2

PB3

PP2

PP3

PK5

PK4

PL5

PN4

PN5

PN0

PN1

PN2

PN3

PQ4

71

73

75

77

79

61

63

65

67

69

47

49

51

53

55

57

59

Pin

41

43

45

81

83

85

87

89

91

93

95

97

Functional Description

Port

PM0

PL0

PL1

PL2

PL3

PQ0

PQ1

PQ2

PQ3

PK7

103

104

62

63

86

61

85

91

92

111

112

107

108

109

110

102

5

6

11

27

60

MCU

PIN Analog

78 -

81

82

83

84

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

Table 2-3. X11 Breadboard Adapter Odd-Numbered Pad GPIO and Signal Muxing (continued)

-

-

-

-

U0DTR

U1CTS

-

-

-

U1DTR

U1RI

U1RTS

U1CTS

U1DCD

U1DSR

U1Rx

-

-

-

-

-

-

U0RI

1

-

-

-

I2C4SCL

-

I2C0SCL

I2C0SDA

-

U0DCD

I2C3SDA

I2C3SCL

-

U3RTS

U3CTS

-

-

U2RTS

U2CTS

-

2

-

I2C2SDA

I2C2SCL

-

-

-

-

-

-

I2C4SDA

-

T0CCP0

T5CCP0

T5CCP1

-

-

-

-

T0CCP1

I2C2SDA

I2C2SCL

-

-

-

-

-

3

T2CCP0

-

-

-

-

-

-

-

-

-

C0o

C1o

-

-

-

-

5

-

-

-

-

-

-

-

-

-

-

Digital Function (GPIOPCTL Bit Encoding)

6 7 8

-

M0FAULT3

PhA0

PhB0

IDX0

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

GND

EN0LED1 M0FAULT1

-

-

-

-

-

-

-

EN0LED2

EN0LED0

-

-

M0PWM7

M0PWM6

-

-

-

-

-

-

-

-

-

WAKE

5 V

-

-

-

-

-

RTCCLK

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

DIVSCLK

-

-

-

-

-

-

-

11

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

www.ti.com

14

-

USB0D0

USB0D1

15

EPI0S15

EPI0S16

EPI0S17

USB0D2

USB0D3

EPI0S18

EPI0S19

SSI3Clk EPI0S20

SSI3Fss EPI0S21

SSI3XDAT0 EPI0S22

SSI3XDAT1 EPI0S23

EPI0S24

-

USB0D4

USB0STP

USB0CLK

USB0NXT

USB0DIR

-

-

USB0D5

-

-

-

-

-

-

-

EPI0S25

EPI0S26

EPI0S27

EPI0S28

EPI0S29

EPI0S30

EPI0S31

EPI0S32

EPI0S33

EPI0S34

EPI0S35

-

-

EPI0S29

EPI0S30

-

16

Hardware Description

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

34

36

38

40

42

24

26

28

30

32

14

16

18

20

22

Pin

2

4

6

8

10

12

60

62

64

66

54

56

58

44

46

48

50

52 www.ti.com

PA2

PA3

PA4

PA5

PE0

PE1

PE2

PE3

PE4

PE5

PK0

PK1

PK2

PK3

15

14

13

12

123

35

36

37

38

124

18

19

20

21

Port

MCU

PIN

PD0

PD2

PP0

PP1

PB0

PB1

PD5

PD4

PD7

PD6

PD3

PD1

PF4

PF0

1

3

118

119

95

96

126

125

128

127

4

2

46

42

Analog

AIN3

AIN2

AIN1

AIN0

AIN9

-

-

-

-

AIN8

AIN16

AIN17

AIN18

AIN19

Table 2-4. X11 Breadboard Adapter Even-Numbered Pad GPIO and Signal Muxing

AIN6

AIN7

AIN4

AIN5

AIN12

AIN14

AIN15

AIN13

C2+

C2-

USB0ID

USB0VBUS

-

-

1

U4Rx

U4Tx

U3Rx

U3Tx

U1RTS

U1DSR

U1DCD

U1DTR

U1RI

-

U4Rx

U4Tx

U4RTS

U4CTS

U2Tx

U2Rx

U2CTS

U2RTS

-

-

-

-

U6Rx

U6Tx

U1Rx

U1Tx

-

-

2

I2C8SCL

I2C8SDA

I2C7SCL

I2C7SDA

-

-

-

-

-

-

-

-

-

-

-

-

-

-

I2C8SDA

I2C7SDA

I2C7SCL

I2C8SCL

-

-

I2C5SCL

I2C5SDA

-

-

3

T1CCP0

T1CCP1

T2CCP0

T2CCP1

-

-

-

-

-

-

-

-

-

-

T3CCP1

T3CCP0

T4CCP1

T4CCP0

T1CCP1

T0CCP1

T0CCP0

T1CCP0

-

-

T4CCP0

T4CCP1

-

-

-

-

-

-

5

Digital Function (GPIOPCTL Bit Encoding)

6 7 8

5 V

GND

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

VREF

GND

-

-

USB0PFLT

USB0EPEN

-

C1o

C0o

C2o

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

EN0LED1

GND

M0FAULT0

EN0LED0 M0PWM0

-

-

-

-

CAN1Rx

CAN1Tx

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

NMI

-

-

-

-

-

11

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

14

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

Functional Description

SSI3XDAT2

SSI3XDAT1

15

SSI1XDAT3

SSI1XDAT2

SSI2XDAT2

SSI2XDAT3

SSI2Clk

SSI2XDAT0

SSI2XDAT1

SSI2Fss

SSI3XDAT2

SSI3XDAT3

-

-

TRD3

TRD2

SSI0Clk

SSI0Fss

SSI0XDAT0

SSI0XDAT1

-

-

-

-

SSI1XDAT0

SSI1XDAT1

EPI0S0

EPI0S1

EPI0S2

EPI0S3

SPMU372 – September 2015

Submit Documentation Feedback

Hardware Description

17

Copyright © 2015, Texas Instruments Incorporated

Functional Description

74

76

78

80

82

84

86

Pin

68

70

72

94

96

98

88

90

92

105

106

116

117

71

72

73

74

MCU

PIN

43

44

45

33

34

Port

PF1

PF2

PF3

PA0

PA1

PP4

PP5

PJ0

PJ1

PM7

PM6

PM5

PM4

Table 2-4. X11 Breadboard Adapter Even-Numbered Pad GPIO and Signal Muxing (continued)

Analog

-

-

-

-

-

-

-

-

-

TMPR0

TMPR1

TMPR2

TMPR3

1

-

-

-

U0Rx

U0Tx

U3RTS

U3CTS

U3Rx

U3Tx

U0RI

U0DSR

U0DCD

U0CTS

I2C9SCL

I2C9SDA

U0DSR

I2C2SCL

-

-

-

-

-

-

2

-

-

-

3

-

-

-

T0CCP0

T0CCP1

-

-

-

-

T5CCP1

T5CCP0

T4CCP1

T4CCP0

5

Digital Function (GPIOPCTL Bit Encoding)

6 7 8

EN0LED2

-

-

M0PWM1

M0PWM2

M0PWM3 -

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

CAN0Rx

CAN0Tx

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

RESET

GND

3V3

-

-

-

-

-

-

-

-

-

-

11

-

-

-

-

-

-

-

-

-

-

-

-

-

13

-

-

-

14

SSI3XDAT0

SSI3Fss

SSI3Clk

-

-

USB0D7

USB0D6

-

-

-

-

-

www.ti.com

15

TRD1

TRD0

TRCLK

-

-

-

-

-

-

-

-

-

-

18

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

Power Management

2.1.7.4

Other Headers and Jumpers

JP1 is provided to select the power input source for the Crypto Connected LaunchPad. The top position is for BoosterPack power; this position also disconnects both USB voltages from the board’s primary 5-V input. In the top position, the TPS2052B does not limit current so additional care should be exercised. The middle position draws power from the USB connector on the left side of the board near the Ethernet jack.

The bottom position is the default, in which power is drawn from the ICDI (Debug) USB connection.

JP2 separates the MCU 3.3-V power domain from the rest of the 3.3-V power on the board allowing an ammeter to be used to obtain more accurate measurements of microcontroller power consumption.

JP3 isolates the output of the TPS73733 LDO from the board’s 3.3-V power domain.

JP4 and JP5 are used to configure CAN signals to the BoosterPack 2 interface. In the default horizontal configuration, CAN is not present on the BoosterPack. UART 4 goes to the BoosterPack and UART 0 goes to the ICDI virtual serial port to provide ROM serial bootloader capability. In the vertical CAN-enabled configuration, UART 4 goes to the ICDI virtual serial port and CAN signals are available on the

BoosterPack. The ROM serial bootloader is not available to the ICDI virtual serial port while the jumpers are in the CAN position.

Figure 2-2

shows the default configuration and relative location of the jumpers on the board.

Figure 2-2. Default Jumper Locations

2.2

Power Management

2.2.1 Power Supplies

The Crypto Connected LaunchPad can be powered from three different input options:

• On-board ICDI USB cable (Debug, Default)

• Target USB cable

• BoosterPack or Breadboard adapter connection

The JP1 power-select jumper is used to select one of the power sources.

In addition, the JP3 power jumper can be used to isolate the 3.3-V output of the TPS73733 from the board’s 3.3-V rail.

A TPS2052B load switch is used to regulate and control power to the Target USB connector when the microcontroller is acting in USB host mode. This load switch also limits current to the BoosterPack and

Breadboard adapter headers when the JP1 jumper is in the ICDI position.

SPMU372 – September 2015

Submit Documentation Feedback

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

19

Power Management

www.ti.com

2.2.2 Low Power Modes

The Crypto Connected LaunchPad demonstrates several low power microcontroller modes. In run mode, the microcontroller can be clocked from several sources such as the internal precision oscillator or an external crystal oscillator. Either of these sources can then optionally drive an internal PLL to increase the effective frequency of the system up to 120 MHz. In this way, the run mode clock speed can be used to manage run mode current consumption.

The microcontroller also provides sleep and deep sleep modes and internal voltage adjustments to the flash and SRAM to further refine power consumption when the processor is not in use but peripherals must remain active. Each peripheral can be individually clock gated in these modes so that current consumption by unused peripherals is minimized. A wide variety of conditions from internal and external sources can trigger a return to run mode.

The lowest power setting of the microcontroller is hibernation, which requires a small amount of supporting external circuitry available on the Crypto Connected LaunchPad. The Crypto Connected LaunchPad can achieve microcontroller current consumption modes under 2 micro-Amps using hibernate VDD3ON mode.

Hibernation with VDD3ON mode is not supported on this board. The Crypto Connected LaunchPad can be woken from hibernate by several triggers including the dedicated wake button, the reset button, an internal RTC timer and a subset of the device GPIO pins. The hibernation module provides a small area of internal SRAM that can preserve data through a hibernate cycle.

2.2.3 Clocking

The Crypto Connected LaunchPad uses a 25 MHz crystal (Y1) to drive the main TM4C129ENCPDT internal clock circuit. Most software examples use the internal PLL to multiply this clock to higher frequencies up to 120 MHz for core and peripheral timing. The 25-MHz crystal is required when using the integrated Ethernet MAC and PHY.

The Hibernation module is clocked from an external 32.768-KHz crystal (Y3).

2.2.4 Reset

The RESET signal to the TM4C129ENCPDT microcontroller connects to the RESET switch, BoosterPack connectors, Breadboard adapter and to the ICDI circuit for a debugger-controller reset.

External reset is asserted (active low) under the following conditions:

• Power-on reset (filtered by and R-C network)

• RESET switch is held down.

• By the ICDI circuit when instructed by the debugger (this capability is optional, and may not be supported by all debuggers)

• By an external circuit attached to the BoosterPack or Breadboard connectors.

2.3

Debug Interface

2.3.1 In-Circuit Debug Interface (ICDI)

The Crypto Connected LaunchPad comes with an on-board ICDI. The ICDI allows for the programming and debugging of the TM4C129ENCPDT using LM Flash Programmer and/or any of the supported tool chains. Note that ICDI only supports JTAG debugging at this time. It is possible to use other JTAG emulators instead of the on board ICDI, by connecting to U6. When the ICDI detects an external debug adapter connection on the JTAG connector U6 and disables the ICDI outputs to allow the external debug adapter to drive the debug circuit. For more information, see

Section 2.3.2

.

Debug out of the ICDI is possible by removing resistors R6, R7, R8, R10, R11, R15, R16 and R40 from the Crypto Connected LaunchPad and use the ICDI to drive JTAG signals out on U6 for the purpose of programming or debugging other boards. To restore the connection to the on-board TM4C129ENCPDT microcontroller, install jumpers from the odd to even pins of X1 or re-install the resistors. Removal of R40 disables the detection of an attached external debugger. R40 must be installed to use an external debug adapter to program or debug the Crypto Connected LaunchPad.

20

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

Debug Interface

2.3.2 External Debugger

The connector U6 is provided for the attachment of an external debug adapter such as the IAR J-Link or

Keil ULINK. This connector follows the ARM standard 10-pin JTAG pinout. This interface can use either

JTAG or SWD if supported by the external debug adapter.

2.3.3 Virtual COM Port

When plugged into a USB host, the ICDI enumerates as both a debugger and a virtual COM port. JP4 and

JP5 control the selection of which UART from the TM4C129ENCPDT is connected to the virtual COM port. In the default configuration, UART0 maps to the virtual COM port of the ICDI. In the CAN jumper configuration, UART4 maps to the virtual COM port of the ICDI.

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Hardware Description

21

Debug Interface

www.ti.com

22

Hardware Description

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

Chapter 3

SPMU372 – September 2015

Software Development

This chapter provides general information on software development as well as instructions for flash memory programming.

3.1

Secure IoT Demo

3.1.1 Software Description

The out-of-box “Secure IoT” application demonstrates the use of Transport Layer Security/Secure Sockets

Layer (TLS/SSL) protocol to connect an IoT product to a cloud server securely. This application runs on

TI-RTOS and uses WolfSSL library for TLS/SSL support. The WolfSSL library uses the hardware encryption accelerators, available on the Crypto Connected LaunchPad board, which enables the development of connected applications with data encryption (for secure communication) at relatively higher performance. This application connects to Exosite’s cloud server using HTTPS protocol.

The “Secure IoT” application records information about the Crypto Connected LaunchPad and user activity on this board, which is securely reported to Exosite cloud server. A command-line interface is provided to interact with the application. With the command-line interface one can control the eval board like changing the state of the LED or play a game of tic-tac-toe either locally or with a remote user.

For more details about example usage, see the “Readme.txt” file available with the “Secure IoT” application.

3.1.2 Source Code Download and Build Instructions

The source code and binary files for the “Secure IoT” application are provided as part of an installer at http://www.ti.com/lit/zip/spmc022 .

Instructions for downloading and installing TI-RTOS and WolfSSL along with detailed instructions on building WolfSSL libraries for TI-RTOS are provided at http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS . This application works with TI-

RTOS v2.14.00.10 or later and WolfSSL v3.6.6 or later.

After building the WolfSSL libraries for TI-RTOS with support for TM4C hardware ciphers, follow the instructions under “Build Details - Application” in the “Readme.txt” file available with the “Secure IoT” application’s installation.

3.2

TivaWare for C Series Software

3.2.1 Software Description

The TivaWare software provides drivers for all of the peripheral devices supplied in the design. The TM4C

Series Peripheral Driver Library is used to operate the on-chip peripherals as part of TivaWare.

TivaWare includes a set of example applications that use the TivaWare Peripheral Driver Library. These applications demonstrate the capabilities of the TM4C129ENCPDT microcontroller, as well as provide a starting point for the development of the final application for use on the Crypto Connected LaunchPad evaluation board. Example applications provided for the TM4C Series TM4C1294 Connected LaunchPad and examples paired with selected BoosterPacks will work with the Crypto Connected LaunchPad.

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Software Development

23

TivaWare for C Series Software

www.ti.com

3.2.2 Source Code

The complete source code including the source code installation instructions are provided at http://www.ti.com/tool/sw-tm4c . The source code and binary files are installed in the TivaWare software tree.

3.2.3 Tool Options

The source code installation includes directories containing projects, makefiles, and binaries for the following tool-chains:

• Keil ARM RealView

®

Microcontroller Development System

• IAR Embedded Workbench

® for ARM

• Generic GNU C Compiler

• Texas Instruments' Code Composer Studio™ IDE

Download evaluation versions of these tools from the Tools & Software section of www.ti.com/tiva . Due to code size restrictions, the evaluation tools may not build all example programs. A full license is necessary to re-build or debug all examples.

For detailed information on using the tools, see the documentation included in the tool chain installation or visit the website of the tools supplier.

3.3

Programming the Crypto Connected LaunchPad

The TivaWare software package includes pre-built binaries for each of the example applications. If you installed the TivaWare software to the default installation path of C:\ti\TivaWare_C_Series_<version>, you can find the example applications in C:\ti\TivaWare_C_Series-<version>\examples\boards\ek-tm4c1294xl.

The on-board ICDI is used with the LM Flash Programmer tool to program applications on the Crypto

Connected LaunchPad.

Follow these steps to program example applications into the Crypto Connected LaunchPad evaulation board using the ICDI:

1. Install LM Flash Programmer on a PC running Microsoft Windows.

2. Place JP1 into the ICDI position on the Crypto Connected LaunchPad.

3. Connect the USB-A cable plug in to an available USB port on the PC and plug the Micro-B plug to the

Debug USB port (U22) on the Crypto Connected LaunchPad.

4. Verify that LED D0 at the top of the board is illuminated.

5. Install Windows ICDI and Virtual COM Port drivers if prompted. Installation instructions can be found in the Stellaris® In-Circuit Debug Interface (ICDI) and Virtual COM Port Driver Installation Instructions

( SPMU287 ).

6. Run the LM Flash Programmer application on the PC.

7. In the Configuration tap, use the Quick Set control to select “TM4C1294XL LaunchPad”.

8. Move to the Program tab and click the Browse button. Navigate to the example applications directory

(the default location is C:\ti\TivaWare_C_Series_<version>\examples\boards\EK-TM4C1294XL\).

9. Each example application has its own directory. Navigate to the example directory that you want to load and then into the sub-directory for one of the supported tool chains that contains the binary (*.bin) file. Select the binary file and click Open.

10. Set the Erase Method to Erase Necessary Pages, check the Verify After Program box, and check

Reset MCU After Program. The example program starts execution once the verify process is complete.

24

Software Development

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

Programming the Crypto Connected LaunchPad

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Software Development

25

Chapter 4

SPMU372 – September 2015

References

4.1

References

In addition to this document the following references are available for download at www.ti.com.

TivaWare for C Series ( http://www.ti.com/tool/sw-tm4c )

TivaWare Peripheral Driver Library Users' Guide ( SPMU298 )

Quick Start Guide: Crypto Connected LaunchPad Evaluation Kit (EK-TM4C129EXL) ( SPMZ862 )

LM Flash Programmer Tool ( http://www.ti.com/lmflashprogrammer )

TPS73733 Low-Dropout Regulator with Reverse Current Protection

( http://www.ti.com/product/tps79733 )

Texas Instruments Code Composer Studio website ( http://www.ti.com/ccs )

Tiva TM4C129ENCPDT Microcontroller Data Sheet ( SPMS441 )

Build Your Own BoosterPack information regarding the BoosterPack standard ( http://www.ti.com/byob )

Stellaris® In-Circuit Debug Interface (ICDI) and Virtual COM Port Driver Installation Instructions

( SPMU287 )

• TI-RTOS ( http://www.ti.com/tool/TI-RTOS )

Additional Support:

Keil RealView MDK-ARM ( http://www.keil.com/arm/mdk.asp

)

IAR Embedded Workbench for ARM ( http://iar.com/ewarm/ )

Sourcery CodeBench development tools ( http://www.mentor.com/embedded-software/sourcerytools/sourcery-codebench/overview )

Exosite ( http://ti.exosite.com

)

• WolfSSL ( http://wolfssl.com

)

26

References

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

References

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

References

27

Appendix A

SPMU372 – September 2015

PCB Layout and Bill of Materials

A.1

Component Locations

Figure A-1

is a dimensioned drawing of the Crypto Connected LaunchPad that shows the location of selected features of the board, as well as the component locations.

Figure A-1. Crypto Connected LaunchPad Dimensions and Component Locations

28

PCB Layout and Bill of Materials

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

A.2

Bill of Materials

Table A-1

is the Crypto Connected LaunchPad bill of materials list.

Bill of Materials

18

19

20

13

14

15

16

17

7

8

9

Item

1

2

3

4

5

6

10

11

12

21

Table A-1. Crypto Connected LaunchPad Bill of Materials

Ref

C1

C3, C4, C5, C10, C11, C12,

C13, C16, C17, C18, C19,

C21, C22, C23, C24, C25,

C26, C27, C28, C29, C30,

C40, C41, C42, C43, C46

C31

Qty

1

26

1

Description

Capacitor, 1000 pF, 2kV,

20%, X7R, 1210

Capacitor, 0.1 µF 16 V,

10%, 0402 X7R

Mfg

Kemet

Taiyo Yuden

AVX

C32, C33

C6, C14

C7, C15, C20

C8, C9, C44,

C45, C47, C48

D0, D1, D2, D3, D4

J1, J2, J3,

J4, J5, J6, J7

JP1

2

2

3

6

5

7

1

Capacitor, 4700 pF, 2kV,

10%, X7R, 1812

Capacitor, 3300 pF, 50 V,

10%, X7R, 0603

Capacitor, 1 µF, X5R, 10 V, low ESR, 0402

Capacitor, 2.2 µF, 16 V,

10%, 0603, X5R

Capacitor, 12 pF, 50 V,

5%, 0402, COG

Green LED 0603

Jumper, 0.100, Gold,

Black, Open

Header, 2x3, 0.100, T-hole, vertical unshrouded,

0.230 mate, gold

TDK

Johanson

Dielectrics Inc

Murata

Murata

Everlight

3M

Kobiconn

FCI

Part Number

C1210C102MGRACTU

EMK105B7104KV-F

1812GC472KAT1A

C1608X7R1H332K

100R07X105KV4T

GRM188R61C225KE15D

GRM1555C1H120JZ01D

19-217/G7C-AL1M2B/3T

969102-0000-DA

151-8000-E

67996-206HLF

JP2, JP3

JP4, JP5

R1, R2, R3, R4,

R5, R29, R35, R44

R17, R26, R36

R18, R51

R23, R21, R22, R24

R25

R28

R32, R43, R45, R46

R34, R52

R38

2

2

1

4

2

8

4

1

3

2

1

Header, 1x2, 0.100, T-hole, vertical unshrouded, 0.220 mate

Header, 2x2, 0.100, T-hole, vertical unshrouded, 0.230 mate

Resistor, 10k Ω, 1/10W,

5%, 0402 thick film

100k 5% 0402 resistor SMD

Resistor 0402 100 Ω 5%

Resistor 49.9

Ω 0402. 1 %

Resistor 4.87k 1% 0402 SMD

Resistor, 5.6k

Ω,

1/10W, 5%, 0402

Resistor 75 Ω 0402 5%

Resistor, 1M OH,

1/10W, 5% 0603 SMD

Resistor, 51 Ω,

1/10W, 5%, 0402

3M

FCI

Anyone

FCI

4UCON

Yageo

Rohm

Rohm

Rohm

Rohm

Panasonic

Rohm

Panasonic

Panasonic

961102-6404-AR

68001-102HLF

1x2-head

67997-104HLF

00998

RC0402FR-0710KL

MCR01MRTJ104

MCR1MRTJ101

MCR01MRTF49R9

MCR01MRTF4871

ERJ-2GEJ562X

MCR01MRTJ750

ERJ-3GEYJ105V

ERJ-2GEJ510X

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

PCB Layout and Bill of Materials

29

Bill of Materials

www.ti.com

40

41

42

32

33

34

35

36

29

30

31

Item

22

23

24

25

26

27

28

37

38

39

Ref

Table A-1. Crypto Connected LaunchPad Bill of Materials (continued)

Qty Mfg Part Number

R42

R47

R49, R50

1

1

2

Description

Resistor, 1M Ω,

1/10W, 5%, 0402

RES 1M Ω 5% 1206 TF

Resistor, 2.0k

Ω,

1/10W, 5%, 0402

Rohm

Panasonic

Panasonic

MCR01MRTF1004

ERJ-8GEYJ105V

ERJ-3GEYJ202V

R6, R7, R8, R10, R11,

R15, R16, R19, R20, R39,

R40, R41

12

Resistor, 0 Ω,

1/10W, 5%, 0402

Panasonic ERJ-2GE0R00X

R9, R27, R30, R31, R33 5

Resistor, 330 Ω,

1/10W, 5%, 0402

Yageo RC0402FR-07330RL

RESET, USR_SW1,

USR_SW2, WAKE

4 Switch, Tact 6mm SMT, 160gf Omron B3S-1000

U1

U10

U13

U14

U2, U3

U20

U22

U4

U5

1

1

1

1

2

1

1

1

1

TM4C, MCU

TM4C129ENCPDT 128 QFP with cryptographic modules and

Ethernet MAC + PHY

Transformer, Ethernet, 1 to 1.

SOIC 16

Diode, 8 chan, ±15KV, ESD protection array, SO-8

Connector, RJ45 NO MAG, shielded THRU HOLE

IC 4CH ESD solution w/clamp

6SON

Stellaris TM4C MCU

TM4C123GH6PMI

USB Micro B receptacle right angle with guides

Fault protected power switch, dual channel, 8-SON

3.3 V LDO TI TPS73733DRV fixed out 5 V in

Texas Instruments

Pulse Electronics

Semtech

TE Connectivity

Texas Instruments

Texas Instruments

FCI

Texas Instruments

Texas Instruments

TM4C129ENCPDT

HX1198FNL

SLVU2.8-4.TBT

1-406541-5

TPD4S012DRYR

TM4C123GH6PMI

10118194-0001LF

TPS2052BDRBR

TPS73733DRV

U6 1

Header 2x5, 0.050, SM, vertical shrouded

Samtec

Don Connex

Electronics

SHF-105-01-S-D-SM

C44-10BSA1-G

U7 1

USB Micro AB receptacle. Right angle with through guides

Hirose ZX62D-AB-5P8

X6, X7, X8, X9

Y1

4

1

Header, 2x10, T-hole vertical unshrouded stacking

Samtec

Major League

Electronics

NDK

SSW-110-23-S-D

SSHQ-110-D-08-F-LF nx3225ga-25.000m-std-crg-2

Y2 1

Crystal 25 MHz 3.2 x 2.5 mm

Crystal 16 MHz 3.2 x 2.5 mm

4 pin

NDK NX3225GA-16.000M-STD-CRG-2

Y3 1 Crystal, 32.768 KHz radial CAN

Citizen Finetech

Miyota

CMR200T-32.768KDZY-UT

30

PCB Layout and Bill of Materials

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

www.ti.com

Bill of Materials

Item

43

44

45

46

47

48

49

50

Ref

Table A-1. Crypto Connected LaunchPad Bill of Materials (continued)

Part Number

C2

H1, H4, H6

R12, R13, R14

Qty Description Mfg

PCB Do Not Populate List (Shown for information only)

1

3

3

1

Capacitor, 0.1 µF 16 V,

10%, 0402 X7R

Screw, #4 x 0.625" Pan head, sheet metal, Phillips/slotted

(for fan)

Resistor, 5.6k

Ω,

1/10W, 5%, 0402

Resistor 0402 1% 52.3k

Taiyo Yuden

McMaster

Panasonic

Rohm

EMK105B7104KV-F

90077A112

ERJ-2GEJ562X

TRR01MZPF5232 R48

TP1, TP2, TP3, TP4, TP5,

TP6, TP7, TP8, TP9,

TP10, TP11, TP12, TP13,

TP14, TP15, TP16, TP17

17

Terminal, test point miniature loop, red, T-hole

Keystone 5000

X1

X11A

X11B

1

1

1

Header, 2x7, 0.100, T-hole, vertical, unshrouded, 0.230

mate

Valvano style bread board connect. Right angle extended,

1 x 49 0.100 pitch.

Valvano style breadboard header

FCI

Samtec

Samtec

67997-114HLF

TSW-149-09-F-S-RE

TSW-149-08-F-S-RA

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

PCB Layout and Bill of Materials

31

Bill of Materials

www.ti.com

32

PCB Layout and Bill of Materials

Copyright © 2015, Texas Instruments Incorporated

SPMU372 – September 2015

Submit Documentation Feedback

Appendix B

SPMU372 – September 2015

Schematic

This section contains the complete schematics for the TM4C Series TM4C129E Crypto Connected

LaunchPad.

• Microcontroller, USB, Buttons, and LED's

• BoosterPack connectors

• Breadboard connector

• Ethernet and Ethernet LED's

• Power

• In-Circuit Debug Interface

SPMU372 – September 2015

Submit Documentation Feedback

Copyright © 2015, Texas Instruments Incorporated

Schematic

33

IMPORTANT NOTICE

Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed.

TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions.

Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.

TI is not responsible or liable for any such statements.

Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications.

In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms.

No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use.

Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.

Products

Audio

Amplifiers

Data Converters

DLP® Products

DSP

Clocks and Timers

Interface

Logic

Power Mgmt

Microcontrollers

RFID

OMAP Applications Processors

Wireless Connectivity www.ti.com/audio amplifier.ti.com

dataconverter.ti.com

www.dlp.com

dsp.ti.com

www.ti.com/clocks interface.ti.com

logic.ti.com

power.ti.com

microcontroller.ti.com

Applications

Automotive and Transportation

Communications and Telecom

Computers and Peripherals

Consumer Electronics

Energy and Lighting

Industrial

Medical

Security

Space, Avionics and Defense

Video and Imaging www.ti-rfid.com

www.ti.com/omap

TI E2E Community

www.ti.com/wirelessconnectivity www.ti.com/automotive www.ti.com/communications www.ti.com/computers www.ti.com/consumer-apps www.ti.com/energy www.ti.com/industrial www.ti.com/medical www.ti.com/security www.ti.com/space-avionics-defense www.ti.com/video e2e.ti.com

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265

Copyright © 2015, Texas Instruments Incorporated

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