没有合适的资源?快使用搜索试试~ 我知道了~
MSP430f5529用户手册
4星 · 超过85%的资源 需积分: 15 61 下载量 106 浏览量
2013-01-16
10:00:32
上传
评论
收藏 3.91MB PDF 举报
温馨提示
试读
698页
非常详细的讲述的MSP430F5529的片上资源,能够帮助刚接触430的朋友学习和使用该芯片
资源推荐
资源详情
资源评论
MSP430x5xx/MSP430x6xx Family
User's Guide
Literature Number: SLAU208H
June 2008–Revised December 2010
Contents
Preface ...................................................................................................................................... 19
1 System Resets, Interrupts, and Operating Modes, System Control Module (SYS) ...................... 21
1.1 System Control Module (SYS) Introduction ............................................................................ 22
1.2 System Reset and Initialization .......................................................................................... 22
1.2.1 Device Initial Conditions After System Reset ................................................................. 24
1.3 Interrupts .................................................................................................................... 24
1.3.1 (Non)Maskable Interrupts (NMIs) ............................................................................... 25
1.3.2 SNMI Timing ...................................................................................................... 26
1.3.3 Maskable Interrupts .............................................................................................. 27
1.3.4 Interrupt Processing .............................................................................................. 27
1.3.5 Interrupt Nesting .................................................................................................. 28
1.3.6 Interrupt Vectors .................................................................................................. 28
1.3.7 SYS Interrupt Vector Generators ............................................................................... 29
1.4 Operating Modes .......................................................................................................... 30
1.4.1 Entering and Exiting Low-Power Modes LPM0 Through LPM4 ............................................ 33
1.4.2 Entering and Exiting Low-Power Modes LPMx.5 ............................................................. 33
1.4.3 Extended Time in Low-Power Modes .......................................................................... 34
1.5 Principles for Low-Power Applications .................................................................................. 35
1.6 Connection of Unused Pins .............................................................................................. 35
1.7 Reset Pin (RST/NMI) Configuration ..................................................................................... 35
1.8 Configuring JTAG pins .................................................................................................... 36
1.9 Boot Code .................................................................................................................. 36
1.10 Bootstrap Loader (BSL) .................................................................................................. 36
1.11 Memory Map – Uses and Abilities ...................................................................................... 37
1.11.1 Vacant Memory Space ......................................................................................... 37
1.11.2 JTAG Lock Mechanism via the Electronic Fuse ............................................................. 37
1.12 JTAG Mailbox (JMB) System ............................................................................................ 38
1.12.1 JMB Configuration ............................................................................................... 38
1.12.2 JMBOUT0 and JMBOUT1 Outgoing Mailbox ................................................................ 38
1.12.3 JMBIN0 and JMBIN1 Incoming Mailbox ...................................................................... 38
1.12.4 JMB NMI Usage ................................................................................................. 39
1.13 Device Descriptor Table .................................................................................................. 39
1.13.1 Identifying Device Type ......................................................................................... 40
1.13.2 TLV Descriptors ................................................................................................. 41
1.13.3 Peripheral Discovery Descriptor ............................................................................... 42
1.13.4 Calibration Values ............................................................................................... 45
1.14 Special Function Registers (SFRs) ..................................................................................... 47
1.15 SYS Configuration Registers ............................................................................................. 51
2 Power Management Module and Supply Voltage Supervisor ................................................... 59
2.1 Power Management Module (PMM) Introduction ..................................................................... 60
2.2 PMM Operation ............................................................................................................ 62
2.2.1 V
CORE
and the Regulator ......................................................................................... 62
2.2.2 Supply Voltage Supervisor and Monitor ....................................................................... 62
2.2.3 Supply Voltage Supervisor and Monitor - Power-Up ........................................................ 67
2.2.4 Increasing V
CORE
to Support Higher MCLK Frequencies ..................................................... 67
3
SLAU208H–June 2008–Revised December 2010 Contents
Submit Documentation Feedback
© 2008–2010, Texas Instruments Incorporated
www.ti.com
2.2.5 Decreasing V
CORE
for Power Optimization ..................................................................... 69
2.2.6 LPM3.5, LPM4.5 .................................................................................................. 69
2.2.7 Brownout Reset (BOR), Software BOR, Software POR ..................................................... 69
2.2.8 SVS/SVM Performance Modes and Wakeup Times ......................................................... 69
2.2.9 PMM Interrupts ................................................................................................... 71
2.2.10 Port I/O Control .................................................................................................. 71
2.2.11 Supply Voltage Monitor Output (SVMOUT, Optional) ...................................................... 71
2.3 PMM Registers ............................................................................................................ 72
3 Battery Backup System ...................................................................................................... 79
3.1 Battery Backup Introduction .............................................................................................. 80
3.2 Battery Backup Operation ................................................................................................ 80
3.2.1 Battery Backup Switch Control ................................................................................. 81
3.2.2 LPMx.5 and Backup Operation ................................................................................. 82
3.2.3 Resistive Charger ................................................................................................ 82
3.3 Battery Backup Registers ................................................................................................ 83
4 Unified Clock System (UCS) ................................................................................................ 85
4.1 Unified Clock System (UCS) Introduction .............................................................................. 86
4.2 UCS Operation ............................................................................................................. 88
4.2.1 UCS Module Features for Low-Power Applications .......................................................... 88
4.2.2 Internal Very-Low-Power Low-Frequency Oscillator (VLO) ................................................. 88
4.2.3 Internal Trimmed Low-Frequency Reference Oscillator (REFO) ........................................... 89
4.2.4 XT1 Oscillator ..................................................................................................... 89
4.2.5 XT2 Oscillator ..................................................................................................... 90
4.2.6 Digitally-Controlled Oscillator (DCO) ........................................................................... 91
4.2.7 Frequency Locked Loop (FLL) .................................................................................. 91
4.2.8 DCO Modulator ................................................................................................... 92
4.2.9 Disabling FLL Hardware and Modulator ....................................................................... 93
4.2.10 FLL Operation From Low-Power Modes ..................................................................... 93
4.2.11 Operation From Low-Power Modes, Requested by Peripheral Modules ................................ 93
4.2.12 UCS Module Fail-Safe Operation ............................................................................. 95
4.2.13 Synchronization of Clock Signals ............................................................................. 97
4.3 Module Oscillator (MODOSC) ........................................................................................... 98
4.3.1 MODOSC Operation ............................................................................................. 98
4.4 UCS Module Registers ................................................................................................... 99
5 CPUX .............................................................................................................................. 109
5.1 MSP430X CPU (CPUX) Introduction .................................................................................. 110
5.2 Interrupts .................................................................................................................. 112
5.3 CPU Registers ............................................................................................................ 113
5.3.1 Program Counter (PC) ......................................................................................... 113
5.3.2 Stack Pointer (SP) .............................................................................................. 113
5.3.3 Status Register (SR) ............................................................................................ 115
5.3.4 Constant Generator Registers (CG1 and CG2) ............................................................. 116
5.3.5 General-Purpose Registers (R4 –R15) ...................................................................... 117
5.4 Addressing Modes ....................................................................................................... 119
5.4.1 Register Mode ................................................................................................... 120
5.4.2 Indexed Mode ................................................................................................... 121
5.4.3 Symbolic Mode .................................................................................................. 125
5.4.4 Absolute Mode .................................................................................................. 130
5.4.5 Indirect Register Mode ......................................................................................... 132
5.4.6 Indirect Autoincrement Mode .................................................................................. 133
5.4.7 Immediate Mode ................................................................................................ 134
5.5 MSP430 and MSP430X Instructions .................................................................................. 136
5.5.1 MSP430 Instructions ............................................................................................ 136
4
Contents SLAU208H–June 2008–Revised December 2010
Submit Documentation Feedback
© 2008–2010, Texas Instruments Incorporated
www.ti.com
5.5.2 MSP430X Extended Instructions .............................................................................. 141
5.6 Instruction Set Description .............................................................................................. 152
5.6.1 Extended Instruction Binary Descriptions .................................................................... 153
5.6.2 MSP430 Instructions ............................................................................................ 155
5.6.3 Extended Instructions .......................................................................................... 206
5.6.4 Address Instructions ............................................................................................ 247
6 Flash Memory Controller .................................................................................................. 263
6.1 Flash Memory Introduction ............................................................................................. 264
6.2 Flash Memory Segmentation ........................................................................................... 265
6.2.1 Segment A ....................................................................................................... 266
6.3 Flash Memory Operation ................................................................................................ 267
6.3.1 Erasing Flash Memory ......................................................................................... 267
6.3.2 Writing Flash Memory .......................................................................................... 271
6.3.3 Flash Memory Access During Write or Erase ............................................................... 278
6.3.4 Stopping Write or Erase Cycle ................................................................................ 279
6.3.5 EMEX with Multiple Bank Flash Memory .................................................................... 279
6.3.6 Checking Flash Memory ....................................................................................... 279
6.3.7 Configuring and Accessing the Flash Memory Controller ................................................. 280
6.3.8 Flash Memory Controller Interrupts ........................................................................... 280
6.3.9 Programming Flash Memory Devices ........................................................................ 281
6.4 Flash Memory Registers ................................................................................................ 282
7 RAM Controller ................................................................................................................ 287
7.1 Ram Controller (RAMCTL) Introduction ............................................................................... 288
7.2 RAMCTL Operation ...................................................................................................... 288
7.3 RAMCTL Module Registers ............................................................................................. 289
8 Backup RAM ................................................................................................................... 291
8.1 Backup RAM Introduction and Operation ............................................................................. 292
8.2 Battery Backup Registers ............................................................................................... 292
9 DMA Controller ................................................................................................................ 293
9.1 Direct Memory Access (DMA) Introduction ........................................................................... 294
9.2 DMA Operation ........................................................................................................... 296
9.2.1 DMA Addressing Modes ....................................................................................... 296
9.2.2 DMA Transfer Modes ........................................................................................... 296
9.2.3 Initiating DMA Transfers ....................................................................................... 302
9.2.4 Halting Executing Instructions for DMA Transfers .......................................................... 302
9.2.5 Stopping DMA Transfers ....................................................................................... 303
9.2.6 DMA Channel Priorities ........................................................................................ 303
9.2.7 DMA Transfer Cycle Time ..................................................................................... 304
9.2.8 Using DMA With System Interrupts ........................................................................... 304
9.2.9 DMA Controller Interrupts ...................................................................................... 304
9.2.10 Using the USCI_B I
2
C Module With the DMA Controller ................................................. 306
9.2.11 Using ADC12 With the DMA Controller ..................................................................... 306
9.2.12 Using DAC12 With the DMA Controller ..................................................................... 306
9.3 DMA Registers ........................................................................................................... 307
10 Digital I/O ........................................................................................................................ 315
10.1 Digital I/O Introduction ................................................................................................... 316
10.2 Digital I/O Operation ..................................................................................................... 317
10.2.1 Input Registers PxIN ........................................................................................... 317
10.2.2 Output Registers PxOUT ..................................................................................... 317
10.2.3 Direction Registers PxDIR .................................................................................... 317
10.2.4 Pullup/Pulldown Resistor Enable Registers PxREN ...................................................... 317
10.2.5 Output Drive Strength Registers PxDS ..................................................................... 318
5
SLAU208H–June 2008–Revised December 2010 Contents
Submit Documentation Feedback
© 2008–2010, Texas Instruments Incorporated
剩余697页未读,继续阅读
资源评论
- Vigor-Chen2014-10-20因为学校SRTP,给我很大帮助
- luqiangkg2013-05-07原理图!好多地方有
mashaohua_1986
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功