Table of Contents
Revision History ............................................................................................................................. 29
About This Document .................................................................................................................... 31
Audience .............................................................................................................................................. 31
About This Manual ................................................................................................................................ 31
Related Documents ............................................................................................................................... 31
Documentation Conventions .................................................................................................................. 32
1 Architectural Overview .......................................................................................... 34
1.1 Overview ...................................................................................................................... 34
1.2 Target Applications ........................................................................................................ 36
1.3 Features ....................................................................................................................... 36
1.3.1 ARM Cortex-M3 Processor Core .................................................................................... 36
1.3.2 On-Chip Memory ........................................................................................................... 38
1.3.3 Serial Communications Peripherals ................................................................................ 39
1.3.4 System Integration ........................................................................................................ 43
1.3.5 Advanced Motion Control ............................................................................................... 49
1.3.6 Analog .......................................................................................................................... 51
1.3.7 JTAG and ARM Serial Wire Debug ................................................................................ 52
1.3.8 Packaging and Temperature .......................................................................................... 53
1.4 Hardware Details .......................................................................................................... 53
2 The Cortex-M3 Processor ...................................................................................... 54
2.1 Block Diagram .............................................................................................................. 55
2.2 Overview ...................................................................................................................... 56
2.2.1 System-Level Interface .................................................................................................. 56
2.2.2 Integrated Configurable Debug ...................................................................................... 56
2.2.3 Trace Port Interface Unit (TPIU) ..................................................................................... 57
2.2.4 Cortex-M3 System Component Details ........................................................................... 57
2.3 Programming Model ...................................................................................................... 58
2.3.1 Processor Mode and Privilege Levels for Software Execution ........................................... 58
2.3.2 Stacks .......................................................................................................................... 58
2.3.3 Register Map ................................................................................................................ 59
2.3.4 Register Descriptions .................................................................................................... 60
2.3.5 Exceptions and Interrupts .............................................................................................. 73
2.3.6 Data Types ................................................................................................................... 73
2.4 Memory Model .............................................................................................................. 73
2.4.1 Memory Regions, Types and Attributes ........................................................................... 75
2.4.2 Memory System Ordering of Memory Accesses .............................................................. 75
2.4.3 Behavior of Memory Accesses ....................................................................................... 76
2.4.4 Software Ordering of Memory Accesses ......................................................................... 76
2.4.5 Bit-Banding ................................................................................................................... 78
2.4.6 Data Storage ................................................................................................................ 80
2.4.7 Synchronization Primitives ............................................................................................. 80
2.5 Exception Model ........................................................................................................... 81
2.5.1 Exception States ........................................................................................................... 82
2.5.2 Exception Types ............................................................................................................ 82
2.5.3 Exception Handlers ....................................................................................................... 85
3July 24, 2012
Texas Instruments-Production Data
Stellaris
®
LM3S6G65 Microcontroller
OBSOLETE: TI has discontinued production of this device.