Tiva C Series TM4C123GH6PM Microcontroller Data · PDF fileTableofContents...

1405
Tiva TM4C123GH6PM Microcontroller DATA SHEET Copyright © 2007-2013 Texas Instruments Incorporated DS-TM4C123GH6PM-15553.2700 SPMS376C TEXAS INSTRUMENTS-PRODUCTION DATA

Transcript of Tiva C Series TM4C123GH6PM Microcontroller Data · PDF fileTableofContents...

  • Tiva TM4C123GH6PM Microcontroller

    DATA SHEET

    Copyr ight 2007-2013Texas Instruments Incorporated

    DS-TM4C123GH6PM-15553.2700SPMS376C

    TEXAS INSTRUMENTS-PRODUCTION DATA

  • CopyrightCopyright 2007-2013 Texas Instruments Incorporated. Tiva and TivaWare are trademarks of Texas Instruments Incorporated. ARM and Thumb areregistered trademarks and Cortex is a trademark of ARM Limited. All other trademarks are the property of others.

    Portions Copyright 2007Mentor Graphics Corporation. Used with permission. All rights reserved. Mentor Graphics is a registered trademark of MentorGraphics Corporation.

    PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standardwarranty. Production processing does not necessarily include testing of all parameters.

    Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductorproducts and disclaimers thereto appears at the end of this data sheet.

    Texas Instruments Incorporated108 Wild Basin, Suite 350Austin, TX 78746http://www.ti.com/tm4chttp://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm

    November 15, 20132Texas Instruments-Production Data

    http://www.ti.com/tm4chttp://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm

  • Table of ContentsRevision History ............................................................................................................................. 38About This Document .................................................................................................................... 41Audience .............................................................................................................................................. 41About This Manual ................................................................................................................................ 41Related Documents ............................................................................................................................... 41Documentation Conventions .................................................................................................................. 42

    1 Architectural Overview .......................................................................................... 441.1 Tiva C Series Overview .............................................................................................. 441.2 TM4C123GH6PM Microcontroller Overview .................................................................... 451.3 TM4C123GH6PM Microcontroller Features ..................................................................... 481.3.1 ARM Cortex-M4F Processor Core .................................................................................. 481.3.2 On-Chip Memory ........................................................................................................... 501.3.3 Serial Communications Peripherals ................................................................................ 521.3.4 System Integration ........................................................................................................ 561.3.5 Advanced Motion Control ............................................................................................... 621.3.6 Analog .......................................................................................................................... 641.3.7 JTAG and ARM Serial Wire Debug ................................................................................ 661.3.8 Packaging and Temperature .......................................................................................... 661.4 TM4C123GH6PM Microcontroller Hardware Details ........................................................ 671.5 Kits .............................................................................................................................. 671.6 Support Information ....................................................................................................... 67

    2 The Cortex-M4F Processor ................................................................................... 682.1 Block Diagram .............................................................................................................. 692.2 Overview ...................................................................................................................... 702.2.1 System-Level Interface .................................................................................................. 702.2.2 Integrated Configurable Debug ...................................................................................... 702.2.3 Trace Port Interface Unit (TPIU) ..................................................................................... 712.2.4 Cortex-M4F System Component Details ......................................................................... 712.3 Programming Model ...................................................................................................... 722.3.1 Processor Mode and Privilege Levels for Software Execution ........................................... 722.3.2 Stacks .......................................................................................................................... 732.3.3 Register Map ................................................................................................................ 732.3.4 Register Descriptions .................................................................................................... 752.3.5 Exceptions and Interrupts .............................................................................................. 912.3.6 Data Types ................................................................................................................... 912.4 Memory Model .............................................................................................................. 912.4.1 Memory Regions, Types and Attributes ........................................................................... 942.4.2 Memory System Ordering of Memory Accesses .............................................................. 942.4.3 Behavior of Memory Accesses ....................................................................................... 942.4.4 Software Ordering of Memory Accesses ......................................................................... 952.4.5 Bit-Banding ................................................................................................................... 962.4.6 Data Storage ................................................................................................................ 982.4.7 Synchronization Primitives ............................................................................................. 992.5 Exception Model ......................................................................................................... 1002.5.1 Exception States ......................................................................................................... 101

    3November 15, 2013Texas Instruments-Production Data

    Tiva TM4C123GH6PM Microcontroller

  • 2.5.2 Exception Types .......................................................................................................... 1012.5.3 Exception Handlers ..................................................................................................... 1052.5.4 Vector Table ................................................................................................................ 1052.5.5 Exception Priorities ...................................................................................................... 1062.5.6 Interrupt Priority Grouping ............................................................................................ 1072.5.7 Exception Entry and Return ......................................................................................... 1072.6 Fault Handling ............................................................................................................. 1102.6.1 Fault Types ................................................................................................................. 1112.6.2 Fault Escalation and Hard Faults .................................................................................. 1112.6.3 Fault Status Registers and Fault Address Registers ...................................................... 1122.6.4 Lockup ....................................................................................................................... 1122.7 Power Management .................................................................................................... 1132.7.1 Entering Sleep Modes ................................................................................................. 1132.7.2 Wake Up from Sleep Mode .......................................................................................... 1132.8 Instruction Set Summary .............................................................................................. 114

    3 Cortex-M4 Peripherals ......................................................................................... 1213.1 Functional Description ................................................................................................. 1213.1.1 System Timer (SysTick) ............................................................................................... 1223.1.2 Nested Vectored Interrupt Controller (NVIC) .................................................................. 1233.1.3 System Control Block (SCB) ........................................................................................ 1243.1.4 Memory Protection Unit (MPU) .