· PDF fileTableofContents...

1414
Tiva TM4C123GH6PM Microcontroller DATA SHEET Copyright © 2007-2013 Texas Instruments Incorporated DS-TM4C123GH6PM-15741.2722 SPMS376D TEXAS INSTRUMENTS-PRODUCTION DATA

Transcript of · PDF fileTableofContents...

  • Tiva TM4C123GH6PM Microcontroller

    DATA SHEET

    Copyr ight 2007-2013Texas Instruments Incorporated

    DS-TM4C123GH6PM-15741.2722SPMS376D

    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.

    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

    March 03, 20142Texas 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 .................................................................................................................... 42Audience .............................................................................................................................................. 42About This Manual ................................................................................................................................ 42Related Documents ............................................................................................................................... 42Documentation Conventions .................................................................................................................. 43

    1 Architectural Overview .......................................................................................... 451.1 Tiva C Series Overview .............................................................................................. 451.2 TM4C123GH6PM Microcontroller Overview .................................................................... 461.3 TM4C123GH6PM Microcontroller Features ..................................................................... 491.3.1 ARM Cortex-M4F Processor Core .................................................................................. 491.3.2 On-Chip Memory ........................................................................................................... 511.3.3 Serial Communications Peripherals ................................................................................ 531.3.4 System Integration ........................................................................................................ 571.3.5 Advanced Motion Control ............................................................................................... 631.3.6 Analog .......................................................................................................................... 651.3.7 JTAG and ARM Serial Wire Debug ................................................................................ 671.3.8 Packaging and Temperature .......................................................................................... 671.4 TM4C123GH6PM Microcontroller Hardware Details ........................................................ 681.5 Kits .............................................................................................................................. 681.6 Support Information ....................................................................................................... 68

    2 The Cortex-M4F Processor ................................................................................... 692.1 Block Diagram .............................................................................................................. 702.2 Overview ...................................................................................................................... 712.2.1 System-Level Interface .................................................................................................. 712.2.2 Integrated Configurable Debug ...................................................................................... 712.2.3 Trace Port Interface Unit (TPIU) ..................................................................................... 722.2.4 Cortex-M4F System Component Details ......................................................................... 722.3 Programming Model ...................................................................................................... 732.3.1 Processor Mode and Privilege Levels for Software Execution ........................................... 732.3.2 Stacks .......................................................................................................................... 742.3.3 Register Map ................................................................................................................ 742.3.4 Register Descriptions .................................................................................................... 762.3.5 Exceptions and Interrupts .............................................................................................. 922.3.6 Data Types ................................................................................................................... 922.4 Memory Model .............................................................................................................. 922.4.1 Memory Regions, Types and Attributes ........................................................................... 952.4.2 Memory System Ordering of Memory Accesses .............................................................. 952.4.3 Behavior of Memory Accesses ....................................................................................... 952.4.4 Software Ordering of Memory Accesses ......................................................................... 962.4.5 Bit-Banding ................................................................................................................... 972.4.6 Data Storage ................................................................................................................ 992.4.7 Synchronization Primitives ........................................................................................... 1002.5 Exception Model ......................................................................................................... 1012.5.1 Exception States ......................................................................................................... 102

    3March 03, 2014Texas Instruments-Production Data

    Tiva TM4C123GH6PM Microcontroller

  • 2.5.2 Exception Types .......................................................................................................... 1022.5.3 Exception Handlers ..................................................................................................... 1062.5.4 Vector Table ................................................................................................................ 1062.5.5 Exception Priorities ...................................................................................................... 1072.5.6 Interrupt Priority Grouping ............................................................................................ 1082.5.7 Exception Entry and Return ......................................................................................... 1082.6 Fault Handling ............................................................................................................. 1112.6.1 Fault Types ................................................................................................................. 1122.6.2 Fault Escalation and Hard Faults .................................................................................. 1122.6.3 Fault Status Registers and Fault Address Registers ...................................................... 1132.6.4 Lockup ....................................................................................................................... 1132.7 Power Management .................................................................................................... 1142.7.1 Entering Sleep Modes ................................................................................................. 1142.7.2 Wake Up from Sleep Mode .......................................................................................... 1142.8 Instruction Set Summary .............................................................................................. 115

    3 Cortex-M4 Peripherals ......................................................................................... 1223.1 Functional Description ................................................................................................. 1223.1.1 System Timer (SysTick) ............................................................................................... 1233.1.2 Nested Vectored Interrupt Controller (NVIC) .................................................................. 1243.1.3 System Control Block (SCB) ........................................................................................ 1253.1.4 Memory Protection Unit (MPU) ..................................................................................... 1253.1.5 Floating-Point Unit (FPU) ..............................................................