Table of Contents
About This Document .................................................................................................................... 20
Audience .............................................................................................................................................. 20
About This Manual ................................................................................................................................ 20
Related Documents ............................................................................................................................... 20
Documentation Conventions .................................................................................................................. 20
1
Overview ............................................................................................................................. 22
1.1
Product Features ...................................................................................................................... 22
1.2
Target Applications .................................................................................................................... 27
1.3
High-Level Block Diagram ......................................................................................................... 27
1.4
Functional Overview .................................................................................................................. 28
1.4.1
ARM Cortex™-M3 ..................................................................................................................... 29
1.4.2
Motor Control Peripherals .......................................................................................................... 29
1.4.3
Serial Communications Peripherals ............................................................................................ 30
1.4.4
System Peripherals ................................................................................................................... 31
1.4.5
Memory Peripherals .................................................................................................................. 32
1.4.6
Additional Features ................................................................................................................... 33
1.4.7
Hardware Details ...................................................................................................................... 33
2
Cortex-M3 Core .................................................................................................................. 35
2.1
Block Diagram .......................................................................................................................... 36
2.2
Functional Description ............................................................................................................... 36
2.2.1
Serial Wire and JTAG Debug ..................................................................................................... 36
2.2.2
Embedded Trace Macrocell (ETM) ............................................................................................. 37
2.2.3
Trace Port Interface Unit (TPIU) ................................................................................................. 37
2.2.4
ROM Table ............................................................................................................................... 37
2.2.5
Memory Protection Unit (MPU) ................................................................................................... 37
2.2.6
Nested Vectored Interrupt Controller (NVIC) ................................................................................ 37
3
Memory Map ....................................................................................................................... 41
4
Interrupts ............................................................................................................................ 43
5
JTAG .................................................................................................................................... 46
5.1
Block Diagram .......................................................................................................................... 47
5.2
Functional Description ............................................................................................................... 47
5.2.1
JTAG Interface Pins .................................................................................................................. 48
5.2.2
JTAG TAP Controller ................................................................................................................. 49
5.2.3
Shift Registers .......................................................................................................................... 50
5.2.4
Operational Considerations ........................................................................................................ 50
5.3
Initialization and Configuration ................................................................................................... 53
5.4
Register Descriptions ................................................................................................................ 53
5.4.1
Instruction Register (IR) ............................................................................................................. 53
5.4.2
Data Registers .......................................................................................................................... 55
6
System Control ................................................................................................................... 57
6.1
Functional Description ............................................................................................................... 57
6.1.1
Device Identification .................................................................................................................. 57
6.1.2
Reset Control ............................................................................................................................ 57
6.1.3
Power Control ........................................................................................................................... 60
3
June 14, 2007
Luminary Micro Confidential-Advance Product Information
LM3S8938 Microcontroller