没有合适的资源?快使用搜索试试~ 我知道了~
首页TMS320F2837xS Technical Reference Manual.pdf
TMS320F2837xS Technical Reference Manual.pdf
需积分: 39 16 下载量 19 浏览量
更新于2023-05-13
收藏 14.44MB PDF 举报
非常详细的TI公司 TMS320F28377 DSP技术手册,包含GPIO、事件管理器、EPWM、CAN、UPP、EMIF、USB等接口和外设的详细介绍,希望对开发使用人员有帮助。
资源详情
资源推荐
TMS320F2837xS Delfino Microcontrollers
Technical Reference Manual
Literature Number: SPRUHX5F
August 2014–Revised January 2019
2
SPRUHX5F–August 2014–Revised January 2019
Submit Documentation Feedback
Copyright © 2014–2019, Texas Instruments Incorporated
Contents
Contents
Preface....................................................................................................................................... 74
1 C2000Ware Quick Start Guide.............................................................................................. 75
1.1 Package Structure.......................................................................................................... 76
1.1.1 Documentation..................................................................................................... 76
1.1.2 Devices ............................................................................................................. 76
1.1.3 Libraries ............................................................................................................ 76
1.2 C2000Ware GUI............................................................................................................ 76
1.3 Updating C2000Ware...................................................................................................... 77
1.4 Code Composer Studio.................................................................................................... 77
2 C28x Processor.................................................................................................................. 78
2.1 Overview..................................................................................................................... 79
2.2 Floating-Point Unit ......................................................................................................... 79
2.3 Trigonometric Math Unit .................................................................................................. 79
2.4 Viterbi, Complex Math, and CRC Unit II (VCU-II) ..................................................................... 80
3 System Control .................................................................................................................. 81
3.1 Introduction.................................................................................................................. 82
3.2 System Control Functional Description.................................................................................. 82
3.2.1 Device Identification .............................................................................................. 82
3.2.2 Device Configuration Registers ................................................................................. 82
3.3 Resets ....................................................................................................................... 83
3.3.1 Reset Sources ..................................................................................................... 83
3.3.2 External Reset (XRS)............................................................................................. 83
3.3.3 Power-On Reset (POR) .......................................................................................... 83
3.3.4 Debugger Reset (SYSRS) ....................................................................................... 84
3.3.5 Watchdog Reset (WDRS) ........................................................................................ 84
3.3.6 NMI Watchdog Reset (NMIWDRS) ............................................................................. 84
3.3.7 DCSM Safe Code Copy Reset (SCCRESET) ................................................................. 84
3.3.8 Hibernate Reset (HIBRESET) ................................................................................... 84
3.3.9 Hardware BIST Reset (HWBISTRS)............................................................................ 84
3.3.10 Test Reset (TRST) ............................................................................................... 85
3.4 Peripheral Interrupts ....................................................................................................... 85
3.4.1 Interrupt Concepts................................................................................................. 85
3.4.2 Interrupt Architecture.............................................................................................. 85
3.4.3 Interrupt Entry Sequence......................................................................................... 86
3.4.4 Configuring and Using Interrupts................................................................................ 87
3.4.5 PIE Channel Mapping ............................................................................................ 89
3.4.6 Vector Tables ...................................................................................................... 90
3.5 Exceptions and Non-Maskable Interrupts............................................................................... 96
3.5.1 Configuring and Using NMIs..................................................................................... 96
3.5.2 Emulation Considerations ........................................................................................ 96
3.5.3 NMI Sources ....................................................................................................... 97
3.5.4 Illegal Instruction Trap (ITRAP).................................................................................. 97
3.6 Safety Features............................................................................................................. 97
3.6.1 Write Protection on Registers.................................................................................... 97
3.6.2 Missing Clock Detection Logic................................................................................... 98
www.ti.com
3
SPRUHX5F–August 2014–Revised January 2019
Submit Documentation Feedback
Copyright © 2014–2019, Texas Instruments Incorporated
Contents
3.6.3 PLLSLIP Detection................................................................................................ 99
3.6.4 CPU1 Vector Address Validity Check .......................................................................... 99
3.6.5 NMIWDs .......................................................................................................... 100
3.6.6 ECC and Parity Enabled RAMs, Shared RAMs Protection ................................................ 100
3.6.7 ECC Enabled Flash Memory................................................................................... 100
3.6.8 ERRORSTS Pin.................................................................................................. 100
3.7 Clocking ................................................................................................................... 100
3.7.1 Clock Sources.................................................................................................... 101
3.7.2 Derived Clocks ................................................................................................... 103
3.7.3 Device Clock Domains .......................................................................................... 104
3.7.4 XCLKOUT......................................................................................................... 105
3.7.5 Clock Connectivity ............................................................................................... 106
3.7.6 Clock Source and PLL Setup .................................................................................. 107
3.8 32-Bit CPU Timers 0/1/2................................................................................................. 110
3.9 Watchdog Timers ......................................................................................................... 112
3.9.1 Servicing the Watchdog Timer ................................................................................. 112
3.9.2 Minimum Window Check ....................................................................................... 113
3.9.3 Watchdog Reset or Watchdog Interrupt Mode............................................................... 113
3.9.4 Watchdog Operation in Low Power Modes .................................................................. 114
3.9.5 Emulation Considerations ...................................................................................... 114
3.10 Low Power Modes ........................................................................................................ 115
3.10.1 IDLE .............................................................................................................. 115
3.10.2 STANDBY ....................................................................................................... 115
3.10.3 HALT ............................................................................................................. 115
3.10.4 HIB................................................................................................................ 116
3.11 Memory Controller Module .............................................................................................. 118
3.11.1 Functional Description ......................................................................................... 118
3.12 Flash and OTP Memory ................................................................................................. 125
3.12.1 Features.......................................................................................................... 125
3.12.2 Flash Tools ...................................................................................................... 125
3.12.3 Default Flash Configuration ................................................................................... 126
3.12.4 Flash Bank, OTP and Pump .................................................................................. 126
3.12.5 Flash Module Controller (FMC) ............................................................................... 126
3.12.6 Flash and OTP Power-Down Modes and Wakeup......................................................... 127
3.12.7 Flash and OTP Performance.................................................................................. 128
3.12.8 Flash Read Interface ........................................................................................... 129
3.12.9 Erase/Program Flash........................................................................................... 131
3.12.10 Error Correction Code (ECC) Protection ................................................................... 132
3.12.11 Reserved Locations Within Flash and OTP ............................................................... 136
3.12.12 Procedure to Change the Flash Control Registers ....................................................... 136
3.12.13 Flash Pump Ownership Control ............................................................................. 136
3.13 Dual Code Security Module (DCSM)................................................................................... 138
3.13.1 Functional Description ......................................................................................... 138
3.13.2 CSM Impact on Other On-Chip Resources ................................................................. 144
3.13.3 Incorporating Code Security in User Applications.......................................................... 145
3.14 JTAG ....................................................................................................................... 149
3.15 F2837xS System Control Registers .................................................................................... 151
3.15.1 F2837xS System Control Base Addresses.................................................................. 151
3.15.2 CPUTIMER_REGS Registers................................................................................. 152
3.15.3 PIE_CTRL_REGS Registers .................................................................................. 159
3.15.4 WD_REGS Registers .......................................................................................... 211
3.15.5 NMI_INTRUPT_REGS Registers............................................................................. 217
3.15.6 XINT_REGS Registers......................................................................................... 231
www.ti.com
4
SPRUHX5F–August 2014–Revised January 2019
Submit Documentation Feedback
Copyright © 2014–2019, Texas Instruments Incorporated
Contents
3.15.7 DMA_CLA_SRC_SEL_REGS Registers .................................................................... 240
3.15.8 DEV_CFG_REGS Registers .................................................................................. 247
3.15.9 CLK_CFG_REGS Registers .................................................................................. 292
3.15.10 CPU_SYS_REGS Registers................................................................................. 314
3.15.11 ROM_PREFETCH_REGS Registers ....................................................................... 354
3.15.12 DCSM_COMMON_REGS Registers ....................................................................... 356
3.15.13 DCSM_Z1_OTP Registers................................................................................... 363
3.15.14 DCSM_Z1_REGS Registers................................................................................. 370
3.15.15 DCSM_Z2_OTP Registers................................................................................... 390
3.15.16 DCSM_Z2_REGS Registers................................................................................. 397
3.15.17 MEM_CFG_REGS Registers................................................................................ 417
3.15.18 ACCESS_PROTECTION_REGS Registers ............................................................... 463
3.15.19 MEMORY_ERROR_REGS Registers ...................................................................... 486
3.15.20 ROM_WAIT_STATE_REGS Registers..................................................................... 503
3.15.21 FLASH_CTRL_REGS Registers ............................................................................ 505
3.15.22 FLASH_ECC_REGS Registers ............................................................................. 514
3.15.23 UID_REGS Registers......................................................................................... 537
4 ROM Code and Peripheral Booting ..................................................................................... 546
4.1 Introduction ................................................................................................................ 547
4.2 Device Boot Philosophy.................................................................................................. 547
4.3 Device Boot Modes....................................................................................................... 547
4.4 Configuring Boot Mode Pins ............................................................................................ 548
4.5 Configuring Get Boot Options........................................................................................... 549
4.6 Configuring Emulation Boot Options ................................................................................... 550
4.7 Device Boot Flow Diagrams............................................................................................. 550
4.7.1 Emulation Boot Flow Diagrams ................................................................................ 551
4.7.2 Standalone and Hibernate Boot Flow Diagrams............................................................. 551
4.8 Device Reset and Exception Handling................................................................................. 552
4.8.1 Reset Causes and Handling.................................................................................... 552
4.8.2 Exceptions and Interrupts Handling ........................................................................... 553
4.9 Boot ROM Description ................................................................................................... 553
4.9.1 Entry Points....................................................................................................... 553
4.9.2 Wait Points........................................................................................................ 554
4.9.3 Memory Maps .................................................................................................... 554
4.9.4 Boot Modes....................................................................................................... 556
4.9.5 Boot Data Stream Structure .................................................................................... 569
4.9.6 GPIO Assignments .............................................................................................. 571
4.9.7 Clock Initializations .............................................................................................. 573
4.9.8 Wait State Configuration........................................................................................ 573
4.9.9 Boot Status information ......................................................................................... 573
4.9.10 ROM Version .................................................................................................... 574
5 Direct Memory Access (DMA)............................................................................................. 575
5.1 Introduction ................................................................................................................ 576
5.2 Architecture................................................................................................................ 577
5.2.1 Block Diagram.................................................................................................... 577
5.2.2 Common Peripheral Architecture .............................................................................. 577
5.2.3 Peripheral Interrupt Event Trigger Sources .................................................................. 578
5.2.4 DMA Bus.......................................................................................................... 583
5.3 Address Pointer and Transfer Control ................................................................................. 583
5.4 Pipeline Timing and Throughput........................................................................................ 588
5.5 CPU and CLA Arbitration ................................................................................................ 589
5.6 Channel Priority ........................................................................................................... 590
5.6.1 Round-Robin Mode.............................................................................................. 590
www.ti.com
5
SPRUHX5F–August 2014–Revised January 2019
Submit Documentation Feedback
Copyright © 2014–2019, Texas Instruments Incorporated
Contents
5.6.2 Channel 1 High Priority Mode.................................................................................. 591
5.7 Overrun Detection Feature .............................................................................................. 591
5.8 DMA Registers ............................................................................................................ 592
5.8.1 DMA Base Addresses........................................................................................... 592
5.8.2 DMA_REGS Registers .......................................................................................... 593
5.8.3 DMA_CH_REGS Registers..................................................................................... 598
6 Control Law Accelerator (CLA)........................................................................................... 626
6.1 Control Law Accelerator (CLA) Overview ............................................................................. 627
6.2 CLA Interface.............................................................................................................. 629
6.2.1 CLA Memory ..................................................................................................... 629
6.2.2 CLA Memory Bus ................................................................................................ 630
6.2.3 Shared Peripherals and EALLOW Protection................................................................ 630
6.2.4 CLA Tasks and Interrupt Vectors.............................................................................. 631
6.2.5 CLA Software Interrupt to CPU ................................................................................ 633
6.3 CLA and CPU Arbitration ................................................................................................ 633
6.3.1 CLA Message RAM ............................................................................................. 633
6.4 CLA Configuration and Debug .......................................................................................... 635
6.4.1 Building a CLA Application ..................................................................................... 635
6.4.2 Typical CLA Initialization Sequence........................................................................... 635
6.4.3 Debugging CLA Code........................................................................................... 636
6.4.4 CLA Illegal Opcode Behavior .................................................................................. 637
6.4.5 Resetting the CLA ............................................................................................... 637
6.5 Pipeline..................................................................................................................... 639
6.5.1 Pipeline Overview................................................................................................ 639
6.5.2 CLA Pipeline Alignment......................................................................................... 639
6.5.3 Parallel Instructions.............................................................................................. 643
6.6 Instruction Set ............................................................................................................. 644
6.6.1 Instruction Descriptions ......................................................................................... 644
6.6.2 Addressing Modes and Encoding.............................................................................. 646
6.6.3 Instructions ....................................................................................................... 648
6.7 CLA Registers............................................................................................................. 759
6.7.1 CLA Base Addresses............................................................................................ 759
6.7.2 CLA_REGS Registers........................................................................................... 760
6.7.3 CLA_SOFTINT_REGS Registers.............................................................................. 801
7 General-Purpose Input/Output (GPIO) ................................................................................. 805
7.1 GPIO Overview ........................................................................................................... 806
7.2 Configuration Overview .................................................................................................. 807
7.3 Digital General-Purpose I/O Control.................................................................................... 807
7.4 Input Qualification......................................................................................................... 809
7.4.1 No Synchronization (Asynchronous Input) ................................................................... 809
7.4.2 Synchronization to SYSCLKOUT Only........................................................................ 809
7.4.3 Qualification Using a Sampling Window ...................................................................... 809
7.5 USB Signals ............................................................................................................... 812
7.6 SPI Signals ................................................................................................................ 812
7.7 GPIO and Peripheral Muxing............................................................................................ 813
7.8 Internal Pullup Configuration Requirements........................................................................... 818
7.9 GPIO Registers ........................................................................................................... 819
7.9.1 GPIO Base Addresses .......................................................................................... 819
7.9.2 GPIO_CTRL_REGS Registers................................................................................. 820
7.9.3 GPIO_DATA_REGS Registers ................................................................................ 985
8 Crossbar (X-BAR)............................................................................................................ 1035
8.1 GPIO Input X-BAR ...................................................................................................... 1036
8.2 ePWM and GPIO Output X-BAR...................................................................................... 1037
剩余2475页未读,继续阅读
euroue
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功