Sign In
Upload
Manuals
Brands
Texas Instruments Manuals
Controller
TMS320F28335
Texas Instruments TMS320F28335 Manuals
Manuals and User Guides for Texas Instruments TMS320F28335. We have
1
Texas Instruments TMS320F28335 manual available for free PDF download: Reference Manual
Texas Instruments TMS320F28335 Reference Manual (868 pages)
Brand:
Texas Instruments
| Category:
Controller
| Size: 7.72 MB
Table of Contents
List of Figures
12
Table of Contents
12
Flash Power Mode State Diagram
40
Flash Pipeline
42
Flash Configuration Access Flow Diagram
43
Flash/Otp Configuration Registers
44
Flash Options Register (FOPT)
45
Flash Power Register (FPWR)
45
Flash Options Register (FOPT) Field Descriptions
45
Flash Power Register (FPWR) Field Descriptions
45
Flash Status Register (FSTATUS)
46
Flash Status Register (FSTATUS) Field Descriptions
46
Flash Standby Wait Register (FSTDBYWAIT)
47
Flash Standby to Active Wait Counter Register (FACTIVEWAIT)
47
Flash Standby Wait Register (FSTDBYWAIT) Field Descriptions
47
Flash Standby to Active Wait Counter Register (FACTIVEWAIT) Field Descriptions
47
Flash Wait-State Register (FBANKWAIT)
48
Flash Wait-State Register (FBANKWAIT) Field Descriptions
48
OTP Wait-State Register (FOTPWAIT)
49
OTP Wait-State Register (FOTPWAIT) Field Descriptions
49
Security Levels
50
Resources Affected by the CSM
52
Resources Not Affected by the CSM
52
Code Security Module (CSM) Registers
53
CSM Status and Control Register (CSMSCR)
54
CSM Status and Control Register (CSMSCR) Field Descriptions
54
Password Match Flow (PMF)
55
Clock and Reset Domains
59
Peripheral Clock Control 0 Register (PCLKCR0)
60
PLL, Clocking, Watchdog, and Low-Power Mode Registers
60
Peripheral Clock Control 0 Register (PCLKCR0) Field Descriptions
60
Peripheral Clock Control 1 Register (PCLKCR1)
62
Peripheral Clock Control 1 Register (PCLKCR1) Field Descriptions
62
Peripheral Clock Control 3 Register (PCLKCR3)
64
Peripheral Clock Control 3 Register (PCLKCR3) Field Descriptions
64
High-Speed Peripheral Clock Prescaler (HISPCP) Register
65
Low-Speed Peripheral Clock Prescaler Register (LOSPCP)
65
High-Speed Peripheral Clock Prescaler (HISPCP) Field Descriptions
65
Low-Speed Peripheral Clock Prescaler Register (LOSPCP) Field Descriptions
65
OSC and PLL Block
66
Oscillator Fail-Detection Logic Diagram
67
Possible PLL Configuration Modes
67
XCLKOUT Generation
69
PLLCR Change Procedure Flow Chart
71
PLLCR Register Layout
72
PLL Status Register (PLLSTS)
72
PLLCR Bit Descriptions
72
PLL Status Register (PLLSTS) Field Descriptions
73
Low-Power Mode Summary
74
Low Power Mode Control 0 Register (LPMCR0)
75
Low Power Mode Control 0 Register (LPMCR0) Field Descriptions
75
Watchdog Module
76
Example Watchdog Key Sequences
77
System Control and Status Register (SCSR)
79
System Control and Status Register (SCSR) Field Descriptions
79
Watchdog Counter Register (WDCNTR)
80
Watchdog Reset Key Register (WDKEY)
80
Watchdog Control Register (WDCR)
80
Watchdog Counter Register (WDCNTR) Field Descriptions
80
Watchdog Reset Key Register (WDKEY) Field Descriptions
80
Watchdog Control Register (WDCR) Field Descriptions
80
CPU Timers
81
CPU-Timer Interrupt Signals and Output Signal
82
CPU Timers 0, 1, 2 Configuration and Control Registers
82
Timerxtim Register (X = 0, 1, 2)
83
Timerxtimh Register (X = 0, 1, 2)
83
Timerxprd Register (X = 0, 1, 2)
83
Timerxprdh Register (X = 0, 1, 2)
83
Timerxtim Register Field Descriptions
83
Timerxtimh Register Field Descriptions
83
Timerxprd Register Field Descriptions
83
Timerxprdh Register Field Descriptions
83
Timerxtcr Register (X = 0, 1, 2)
84
Timerxtcr Register Field Descriptions
84
Timerxtpr Register (X = 0, 1, 2)
85
Timerxtprh Register (X = 0, 1, 2)
85
Timerxtpr Register Field Descriptions
85
Timerxtprh Register Field Descriptions
85
GPIO0 to GPIO27 Multiplexing Diagram
87
GPIO28 to GPIO31 Multiplexing Diagram (Peripheral 2 and Peripheral 3 Outputs Merged)
88
GPIO32, GPIO33 Multiplexing Diagram
89
GPIO34 to GPIO63 Multiplexing Diagram (Peripheral 2 and Peripheral 3 Outputs Merged)
90
GPIO64 to GPIO79 Multiplexing Diagram (Minimal Gpios Without Qualification)
91
Low Power Modes
92
GPIO Control Registers
92
GPIO Interrupt and Low Power Mode Select Registers
92
Gpioa Mux
92
Gpiob Mux
92
Gpioc Mux
92
GPIO Data Registers
93
Value
93
Input Qualification Using a Sampling Window
95
Sampling Period
96
Sampling Frequency
96
Case 1: Three-Sample Sampling Window Width
97
Case 2: Six-Sample Sampling Window Width
97
Input Qualifier Clock Cycles
98
Default State of Peripheral Input
100
GPIO Port a MUX 1 (GPAMUX1) Register
104
Part ID Register
104
GPIO Port a Multiplexing 1 (GPAMUX1) Register Field Descriptions
104
GPIO Port a MUX 2 (GPAMUX2) Register
106
GPIO Port a MUX 2 (GPAMUX2) Register Field Descriptions
106
GPIO Port B MUX 1 (GPBMUX1) Register
108
GPIO Port B MUX 2 (GPBMUX2) Register
110
GPIO Port B MUX 1 (GPBMUX1) Register Field Descriptions
110
GPIO Port B MUX 2 (GPBMUX2) Register Field Descriptions
110
GPIO Port C MUX 1 (GPCMUX1) Register
112
GPIO Port C MUX 1 (GPCMUX1) Register Field Descriptions
112
GPIO Port C MUX 2 (GPCMUX2) Register
113
GPIO Port C MUX 2 (GPCMUX2) Register Field Descriptions
113
GPIO Port a Qualification Control (GPACTRL) Register
115
GPIO Port a Qualification Control (GPACTRL) Register Field Descriptions
115
GPIO Port B Qualification Control (GPBCTRL) Register
116
GPIO Port B Qualification Control (GPBCTRL) Register Field Descriptions
116
GPIO Port a Qualification Select 1 (GPAQSEL1) Register
117
GPIO Port a Qualification Select 2 (GPAQSEL2) Register
117
GPIO Port a Qualification Select 1 (GPAQSEL1) Register Field Descriptions
117
GPIO Port a Qualification Select 2 (GPAQSEL2) Register Field Descriptions
117
GPIO Port B Qualification Select 1 (GPBQSEL1) Register
118
GPIO Port B Qualification Select 2 (GPBQSEL2) Register
118
GPIO Port B Qualification Select 1 (GPBQSEL1) Register Field Descriptions
118
GPIO Port B Qualification Select 2 (GPBQSEL2) Register Field Descriptions
118
GPIO Port a Direction (GPADIR) Register
119
GPIO Port B Direction (GPBDIR) Register
119
GPIO Port a Direction (GPADIR) Register Field Descriptions
119
GPIO Port B Direction (GPBDIR) Register Field Descriptions
119
GPIO Port C Direction (GPCDIR) Register
120
GPIO Port a Pullup Disable (GPAPUD) Registers
120
GPIO Port C Direction (GPCDIR) Register Field Descriptions
120
GPIO Port a Internal Pullup Disable (GPAPUD) Register Field Descriptions
120
GPIO Port B Pullup Disable (GPBPUD) Registers
121
GPIO Port C Pullup Disable (GPCPUD) Registers
121
GPIO Port B Internal Pullup Disable (GPBPUD) Register Field Descriptions
121
GPIO Port C Internal Pullup Disable (GPCPUD) Register Field Descriptions
121
GPIO Port a Data (GPADAT) Register
122
GPIO Port B Data (GPBDAT) Register
122
GPIO Port a Data (GPADAT) Register Field Descriptions
122
GPIO Port C Data (GPCDAT) Register
123
GPIO Port B Data (GPBDAT) Register Field Descriptions
123
GPIO Port C Data (GPCDAT) Register Field Descriptions
123
GPIO Port a Set, Clear and Toggle (GPASET, GPACLEAR, GPATOGGLE) Registers
124
GPIO Port a Set (GPASET) Register Field Descriptions
124
GPIO Port a Clear (GPACLEAR) Register Field Descriptions
124
GPIO Port a Toggle (GPATOGGLE) Register Field Descriptions
124
GPIO Port B Set, Clear and Toggle (GPBSET, GPBCLEAR, GPBTOGGLE) Registers
125
GPIO Port B Set (GPBSET) Register Field Descriptions
125
GPIO Port B Clear (GPBCLEAR) Register Field Descriptions
125
GPIO Port B Toggle (GPBTOGGLE) Register Field Descriptions
125
GPIO Port C Set, Clear and Toggle (GPCSET, GPCCLEAR, GPCTOGGLE) Registers
126
GPIO Port C Set (GPCSET) Register Field Descriptions
126
GPIO Port C Clear (GPCCLEAR) Register Field Descriptions
126
GPIO Port C Toggle (GPCTOGGLE) Register Field Descriptions
126
GPIO Xintn, XNMI Interrupt Select (Gpioxintnsel, GPIOXNMISEL) Registers
127
XINT1/XINT2 Interrupt Select and Configuration Registers
127
GPIO XINT3 - XINT7 Interrupt Select (Gpioxintnsel) Register Field Descriptions
127
XINT3 - XINT7 Interrupt Select and Configuration Registers
127
GPIO Low Power Mode Wakeup Select (GPIOLPMSEL) Register
128
GPIO XNMI Interrupt Select (GPIOXNMISEL) Register Field Descriptions
128
GPIO Low Power Mode Wakeup Select (GPIOLPMSEL) Register Field Descriptions
128
Peripheral Frame 0 Registers
129
MAPCNF Register (0X702E)
130
Peripheral Frame 1 Registers
130
Peripheral Frame 2 Registers
130
Peripheral Frame 3 Registers
130
Access to EALLOW-Protected Registers
131
EALLOW-Protected Device Emulation Registers
131
EALLOW-Protected Flash/Otp Configuration Registers
131
EALLOW-Protected Code Security Module (CSM) Registers
132
EALLOW-Protected PIE Vector Table
132
EALLOW-Protected PLL, Clocking, Watchdog, and Low-Power Mode Registers
133
EALLOW-Protected GPIO MUX Registers
133
EALLOW-Protected Ecan Registers
134
EALLOW-Protected Epwm1 - Epwm6 Registers
134
XINTF Registers
134
Device Configuration (DEVICECNF) Register
135
Device Emulation Registers
135
DEVICECNF Register Field Descriptions
135
CLASSID Register
136
REVID Register
136
PARTID Register Field Descriptions
136
CLASSID Register Description
136
REVID Register Field Descriptions
136
PROTSTART and PROTRANGE Registers
137
PROTSTART Valid Values
137
PROTRANGE Valid Values
138
Overview: Multiplexing of Interrupts Using the PIE Block
139
Typical PIE/CPU Interrupt Response - Intx.y
140
Enabling Interrupt
140
Interrupt Vector Table Mapping
141
Vector Table Mapping after Reset Operation
141
Reset Flow Diagram
142
PIE Interrupt Sources and External Interrupts XINT1/XINT2
143
PIE Interrupt Sources and External Interrupts (XINT3 - XINT7)
144
Multiplexed Interrupt Request Flow Diagram
147
PIE Muxed Peripheral Interrupt Vector Table
149
PIE Vector Table
150
1.6.4 PIE Configuration and Control Registers
153
PIE Control Register (PIECTRL) (Address CE0)
154
PIE Interrupt Acknowledge Register (PIEACK) (Address CE1)
154
PIE Control Register (PIECTRL) Field Descriptions
154
PIE Interrupt Acknowledge Register (PIEACK) Field Descriptions
154
PIE Interrupt Enable Register (Pieierx, X = 1 to 12)
155
PIE Interrupt Enable Register (Pieierx) Field Descriptions
155
PIE Interrupt Flag Register (Pieifrx, X = 1 to 12)
156
PIE Interrupt Flag Register (Pieifrx) Field Descriptions
156
Interrupt Flag Register (IFR) - CPU Register
157
Interrupt Flag Register (IFR) - CPU Register Field Descriptions
157
Interrupt Enable Register (IER) - CPU Register
159
Interrupt Enable Register (IER) - CPU Register Field Descriptions
159
Debug Interrupt Enable Register (DBGIER) - CPU Register
161
Debug Interrupt Enable Register (DBGIER) - CPU Register Field Descriptions
162
External Interrupt N Control Register (Xintncr)
163
External NMI Interrupt Control Register (XNMICR) - Address 7077H
163
External Interrupt N Control Register (Xintncr) Field Descriptions
163
External Interrupt 1 Counter (XINT1CTR) (Address 7078H)
164
External NMI Interrupt Control Register (XNMICR) Field Descriptions
164
XNMICR Register Settings and Interrupt Sources
164
External Interrupt 1 Counter (XINT1CTR) Field Descriptions
164
External Interrupt 2 Counter (XINT2CTR) (Address 7079H)
165
External NMI Interrupt Counter (XNMICTR) (Address 707Fh)
165
External Interrupt 2 Counter (XINT2CTR) Field Descriptions
165
External NMI Interrupt Counter (XNMICTR) Field Descriptions
165
Memory Map of On-Chip ROM
167
Vector Table Map
170
Vector Locations
171
Bootloader Flow Diagram
172
Configuration for Device Modes
173
Boot ROM Stack
174
Boot Mode Selection
175
Boot ROM Function Overview
176
Jump-To-Flash Flow Diagram
177
Flow Diagram of Jump to M0 SARAM
177
Flow Diagram of Jump-To-OTP Memory
177
Flow Diagram of Jump to XINTF X16
178
Flow Diagram of Jump to XINTF X32
178
General Structure of Source Program Data Stream in 16-Bit Mode
180
LSB/MSB Loading Sequence in 8-Bit Data Stream
181
Bootloader Basic Transfer Procedure
183
Overview of Initboot Assembly Function
184
Overview of the Selectbootmode Function
185
Overview of Copydata Function
187
Pins Used by the Mcbsp Loader
188
Bit-Rate Values for Different XCLKIN Values
188
Mcbsp 16-Bit Data Stream
188
Overview of SCI Bootloader Operation
189
Overview of Sci_Boot Function
190
Overview of Sci_Getworddata Function
191
Overview of Parallel GPIO Bootloader Operation
191
Parallel GPIO Boot 16-Bit Data Stream
192
Parallel GPIO Boot 8-Bit Data Stream
192
Parallel GPIO Boot Loader Handshake Protocol
193
Parallel GPIO Mode Overview
193
Parallel GPIO Mode - Host Transfer Flow
194
Overview of the Parallel XINTF Boot Loader Operation
197
XINTF Parallel Boot 16-Bit Data Stream
198
Xintf_Parallel Boot Loader Handshake Protocol
199
XINTF Parallel Boot 8-Bit Data Stream
199
XINTF Parallel Mode Overview
200
XINTF Parallel Mode - Host Transfer Flow
201
SPI Loader
204
SPI 8-Bit Data Stream
204
Data Transfer from EEPROM Flow
206
Overview of Spia_Getworddata Function
206
EEPROM Device at Address 0X50
207
Overview of I2C_Boot Function
208
Random Read
209
Sequential Read
209
I2C 8-Bit Data Stream
209
Overview of Ecan-A Bootloader Operation
210
Bit-Rate Values for Different XCLKIN Values
210
Ecan 8-Bit Data Stream
211
Exitboot Procedure Flow
212
CPU Register Restored Values
213
Bootloader Options
214
Bootloader Revision and Checksum Information
217
Bootloader Revision Per Device
217
Multiple Epwm Modules
220
Submodules and Signal Connections for an Epwm Module
221
Epwm Submodules and Critical Internal Signal Interconnects
222
Epwm Module Control and Status Register Set Grouped by Submodule
223
Counter-Compare Submodule Registers
223
Action-Qualifier Submodule Registers
223
Dead-Band Generator Submodule Registers
223
PWM-Chopper Submodule Registers
223
Trip-Zone Submodule Registers
223
Event-Trigger Submodule Registers
223
Submodule Configuration Parameters
224
Time-Base Submodule Block Diagram
228
Time-Base Submodule Signals and Registers
229
Time-Base Submodule Registers
229
Key Time-Base Signals
230
Time-Base Frequency and Period
231
Time-Base Counter Synchronization Scheme
232
Time-Base Up-Count Mode Waveforms
234
Time-Base Down-Count Mode Waveforms
235
Time-Base Up-Down-Count Waveforms, TBCTL[PHSDIR = 0] Count down on Synchronization Event
235
Time-Base Up-Down Count Waveforms, TBCTL[PHSDIR = 1] Count up on Synchronization Event
236
Counter-Compare Submodule
236
Detailed View of the Counter-Compare Submodule
237
Counter-Compare Submodule Key Signals
238
Counter-Compare Event Waveforms in Up-Count Mode
239
Counter-Compare Events in Down-Count Mode
240
Counter-Compare Events in Up-Down-Count Mode, TBCTL[PHSDIR = 0] Count down on Synchronization Event
240
Counter-Compare Events in Up-Down-Count Mode, TBCTL[PHSDIR = 1] Count up on Synchronization Event
241
Action-Qualifier Submodule
242
Action-Qualifier Submodule Inputs and Outputs
243
Action-Qualifier Submodule Possible Input Events
243
Possible Action-Qualifier Actions for Epwmxa and Epwmxb Outputs
244
Action-Qualifier Event Priority for Up-Down-Count Mode
245
Action-Qualifier Event Priority for Up-Count Mode
245
Action-Qualifier Event Priority for Down-Count Mode
245
Behavior if CMPA/CMPB Is Greater than the Period
245
Up-Down-Count Mode Symmetrical Waveform
247
Up, Single Edge Asymmetric Waveform, with Independent Modulation on Epwmxa and Epwmxb-Active High
248
Up, Single Edge Asymmetric Waveform with Independent Modulation on Epwmxa and Epwmxb-Active Low
250
Up-Count, Pulse Placement Asymmetric Waveform with Independent Modulation on Epwmxa
251
Up-Down-Count, Dual Edge Symmetric Waveform, with Independent Modulation on Epwmxa and Epwmxb - Active Low
253
Up-Down-Count, Dual Edge Symmetric Waveform, with Independent Modulation on Epwmxa and
254
Up-Down-Count, Dual Edge Asymmetric Waveform, with Independent Modulation on Epwmxa-Active Low
255
Dead_Band Submodule
256
Configuration Options for the Dead-Band Submodule
257
Classical Dead-Band Operating Modes
258
Dead-Band Waveforms for Typical Cases (0% < Duty < 100%)
259
Dead-Band Delay Values in Μs as a Function of DBFED and DBRED
260
PWM-Chopper Submodule
261
PWM-Chopper Submodule Operational Details
262
Simple PWM-Chopper Submodule Waveforms Showing Chopping Action Only
262
PWM-Chopper Submodule Waveforms Showing the First Pulse and Subsequent Sustaining Pulses
263
Possible Pulse Width Values for SYSCLKOUT = 100 Mhz
263
Trip-Zone Submodule
265
Possible Actions on a Trip Event
267
Trip-Zone Submodule Mode Control Logic
268
Trip-Zone Submodule Interrupt Logic
269
Event-Trigger Submodule
269
Event-Trigger Submodule Inter-Connectivity of ADC Start of Conversion
270
Event-Trigger Submodule Showing Event Inputs and Prescaled Outputs
271
Event-Trigger Interrupt Generator
272
Event-Trigger SOCA Pulse Generator
273
Event-Trigger SOCB Pulse Generator
273
Simplified Epwm Module
274
EPWM1 Configured as a Typical Master, EPWM2 Configured as a Slave
275
Control of Four Buck Stages. here F
276
Pwm1 Pwm2 Pwm3 Pwm4
276
Buck Waveforms for
277
Control of Four Buck Stages
279
Control of Dual 3-Phase Inverter Stages as Is Commonly Used in Motor Control
285
Configuring Two PWM Modules for Phase Control
288
Timing Waveforms Associated with Phase Control between 2 Modules
289
Control of a 3-Phase Interleaved DC/DC Converter
290
ZVS Full-H Bridge Waveforms
294
Time-Base Period Register (TBPRD)
296
Time-Base Phase Register (TBPHS)
296
Time-Base Counter Register (TBCTR)
296
Time-Base Period Register (TBPRD) Field Descriptions
296
Time-Base Phase Register (TBPHS) Field Descriptions
296
Time-Base Control Register (TBCTL)
297
Time-Base Counter Register (TBCTR) Field Descriptions
297
Time-Base Control Register (TBCTL) Field Descriptions
297
Time-Base Status Register (TBSTS)
299
Time-Base Status Register (TBSTS) Field Descriptions
299
Counter-Compare a Register (CMPA)
300
Counter-Compare a Register (CMPA) Field Descriptions
300
Counter-Compare B Register (CMPB)
301
Counter-Compare B Register (CMPB) Field Descriptions
301
Counter-Compare Control Register (CMPCTL)
302
Counter-Compare Control Register (CMPCTL) Field Descriptions
302
Compare a High Resolution Register (CMPAHR)
303
Compare a High Resolution Register (CMPAHR) Field Descriptions
303
Action-Qualifier Output a Control Register (AQCTLA)
304
Action-Qualifier Output a Control Register (AQCTLA) Field Descriptions
304
Action-Qualifier Output B Control Register (AQCTLB)
305
Action-Qualifier Output B Control Register (AQCTLB) Field Descriptions
305
Action-Qualifier Software Force Register (AQSFRC)
306
Action-Qualifier Software Force Register (AQSFRC) Field Descriptions
306
Action-Qualifier Continuous Software Force Register (AQCSFRC)
307
Action-Qualifier Continuous Software Force Register (AQCSFRC) Field Descriptions
307
Dead-Band Generator Control Register (DBCTL)
308
Dead-Band Generator Control Register (DBCTL) Field Descriptions
308
Dead-Band Generator Rising Edge Delay Register (DBRED)
309
Dead-Band Generator Rising Edge Delay Register (DBRED) Field Descriptions
309
Dead-Band Generator Falling Edge Delay Register (DBFED)
310
Dead-Band Generator Falling Edge Delay Register (DBFED) Field Descriptions
310
PWM-Chopper Control Register (PCCTL)
311
PWM-Chopper Control Register (PCCTL) Bit Descriptions
311
Trip-Zone Select Register (TZSEL)
313
Trip-Zone Select Register (TZSEL) Field Descriptions
314
Trip-Zone Control Register (TZCTL)
315
Trip-Zone Control Register (TZCTL) Field Descriptions
315
Trip-Zone Enable Interrupt Register (TZEINT)
316
Trip-Zone Enable Interrupt Register (TZEINT) Field Descriptions
316
Trip-Zone Flag Register (TZFLG)
317
Trip-Zone Flag Register (TZFLG) Field Descriptions
317
Trip-Zone Clear Register (TZCLR)
318
Trip-Zone Clear Register (TZCLR) Field Descriptions
318
Trip-Zone Force Register (TZFRC)
319
Trip-Zone Force Register (TZFRC) Field Descriptions
319
Event-Trigger Selection Register (ETSEL)
320
Event-Trigger Selection Register (ETSEL) Field Descriptions
320
Event-Trigger Prescale Register (ETPS)
322
Event-Trigger Prescale Register (ETPS) Field Descriptions
322
Event-Trigger Flag Register (ETFLG)
323
Event-Trigger Flag Register (ETFLG) Field Descriptions
323
Event-Trigger Clear Register (ETCLR)
324
Event-Trigger Clear Register (ETCLR) Field Descriptions
324
Event-Trigger Force Register (ETFRC)
325
Event-Trigger Force Register (ETFRC) Field Descriptions
325
Resolution Calculations for Conventionally Generated PWM
327
Resolution for PWM and HRPWM
327
Operating Logic Using MEP
328
HRPWM Registers
328
HRPWM Extension Registers and Memory Configuration
329
HRPWM System Interface
329
Relationship between MEP Steps, PWM Frequency and Resolution
330
Required PWM Waveform for a Requested Duty
331
CMPA Vs Duty (Left) and [CMPA:CMPAHR] Vs Duty (Right)
331
Low % Duty Cycle Range Limitation Example When PWM Frequency = 1 Mhz
334
Duty Cycle Range Limitation for 3 and 6 SYSCLK/TBCLK Cycles
334
High % Duty Cycle Range Limitation Example When PWM Frequency = 1 Mhz
335
SFO Library Routines
336
Factor Values
337
Simple Buck Controlled Converter Using a Single PWM
340
PWM Waveform Generated for Simple Buck Controlled Converter
340
Simple Reconstruction Filter for a PWM Based DAC
343
PWM Waveform Generated for the PWM DAC Function
343
Register Descriptions
346
HRPWM Configuration Register (HRCNFG)
347
Counter Compare a High-Resolution Register (CMPAHR)
347
HRPWM Configuration Register (HRCNFG) Field Descriptions
347
Counter Compare a High-Resolution Register (CMPAHR) Field Descriptions
347
Time Base Phase High-Resolution Register (TBPHSHR)
348
Time Base Phase High-Resolution Register (TBPHSHR) Field Descriptions
348
Enhanced Capture (Ecap)
349
Description
351
Multiple Ecap Modules in a C28X System
352
Capture and APWM Modes of Operation
353
Capture and APWM Operating Mode
353
Counter Compare and PRD Effects on the Ecap Output in APWM Mode
354
Capture Mode Description
355
Ecap Block Diagram
355
Event Prescale Control
356
Prescale Function Waveforms
356
Details of the Continuous/One-Shot Block
358
Details of the Counter and Synchronization Block
359
Interrupts in Ecap Module
361
PWM Waveform Details of APWM Mode Operation
362
Time-Base Frequency and Period Calculation
363
Application of the Ecap Module
364
Capture Sequence for Absolute Time-Stamp and Rising Edge Detect
364
Capture Sequence for Absolute Time-Stamp with Rising and Falling Edge Detect
365
Capture Sequence for Delta Mode Time-Stamp and Rising Edge Detect
366
Capture Sequence for Delta Mode Time-Stamp with Rising and Falling Edge Detect
367
Application of the APWM Mode
368
PWM Waveform Details of APWM Mode Operation
368
Multi-Phase (Channel) Interleaved PWM Example Using 3 Ecap Modules
369
ECAP Base Address Table
371
Ecap Registers
371
5.8.2 ECAP_REGS Registers
372
ECAP_REGS Access Type Codes
372
TSCTR Register
373
TSCTR Register Field Descriptions
373
CTRPHS Register
374
CTRPHS Register Field Descriptions
374
CAP1 Register
375
CAP1 Register Field Descriptions
375
CAP2 Register
376
CAP2 Register Field Descriptions
376
CAP3 Register
377
CAP3 Register Field Descriptions
377
CAP4 Register
378
CAP4 Register Field Descriptions
378
ECCTL1 Register
379
ECCTL1 Register Field Descriptions
379
ECCTL2 Register
381
ECCTL2 Register Field Descriptions
381
ECEINT Register
383
ECEINT Register Field Descriptions
383
ECFLG Register
385
ECFLG Register Field Descriptions
385
ECCLR Register
387
ECCLR Register Field Descriptions
387
ECFRC Register
388
ECFRC Register Field Descriptions
388
Enhanced Quadrature Encoder Pulse (Eqep)
389
Introduction
390
Optical Encoder Disk
390
QEP Encoder Output Signal for Forward/Reverse Movement
390
Index Pulse Example
391
Configuring Device Pins
392
Description
392
Functional Block Diagram of the Eqep Peripheral
393
6.3.3 Eqep Memory Map
394
Functional Block Diagram of Decoder Unit
395
Quadrature Decoder Unit (QDU)
395
Quadrature Decoder State Machine
396
Quadrature Decoder Truth Table
396
Quadrature-Clock and Direction Decoding
397
Position Counter and Control Unit (PCCU)
398
Position Counter Reset by Index Pulse for 1000 Line Encoder (QPOSMAX = 3999 or 0Xf9F)
399
Position Counter Underflow/Overflow (QPOSMAX = 4)
400
Software Index Marker for 1000-Line Encoder (QEPCTL[IEL] = 1)
401
Strobe Event Latch (QEPCTL[SEL] = 1)
402
Eqep Position-Compare Unit
403
Eqep Edge Capture Unit
404
Eqep Position-Compare Event Generation Points
404
Eqep Position-Compare Sync Output Pulse Stretcher
404
Eqep Edge Capture Unit
406
Unit Position Event for Low Speed Measurement (QCAPCTL[UPPS] = 0010)
406
Eqep Edge Capture Unit - Timing Details
407
Eqep Watchdog
408
Eqep Watchdog Timer
408
Eqep Unit Time Base
409
Unit Timer Base
409
6.10 Eqep Registers
410
EQEP Base Address Table
410
EQEP Interrupt Generation
410
Eqep Interrupt Structure
410
6.10.2 EQEP_REGS Registers
411
EQEP_REGS Access Type Codes
411
QPOSCNT Register
413
QPOSCNT Register Field Descriptions
413
QPOSINIT Register
414
QPOSINIT Register Field Descriptions
414
QPOSMAX Register
415
QPOSMAX Register Field Descriptions
415
QPOSCMP Register
416
QPOSCMP Register Field Descriptions
416
QPOSILAT Register
417
QPOSILAT Register Field Descriptions
417
QPOSSLAT Register
418
QPOSSLAT Register Field Descriptions
418
QPOSLAT Register
419
QPOSLAT Register Field Descriptions
419
QUTMR Register
420
QUTMR Register Field Descriptions
420
QUPRD Register
421
QUPRD Register Field Descriptions
421
QWDTMR Register
422
QWDTMR Register Field Descriptions
422
QWDPRD Register
423
QWDPRD Register Field Descriptions
423
QDECCTL Register
424
QDECCTL Register Field Descriptions
424
QEPCTL Register
426
QEPCTL Register Field Descriptions
426
QCAPCTL Register
429
QCAPCTL Register Field Descriptions
429
QPOSCTL Register
430
QPOSCTL Register Field Descriptions
430
QEINT Register
431
QEINT Register Field Descriptions
431
QFLG Register
433
QFLG Register Field Descriptions
433
QCLR Register
435
QCLR Register Field Descriptions
435
QFRC Register
437
QFRC Register Field Descriptions
437
QEPSTS Register
439
QEPSTS Register Field Descriptions
439
QCTMR Register
441
QCTMR Register Field Descriptions
441
QCPRD Register
442
QCPRD Register Field Descriptions
442
QCTMRLAT Register
443
QCTMRLAT Register Field Descriptions
443
QCPRDLAT Register
444
QCPRDLAT Register Field Descriptions
444
Block Diagram of the ADC Module
446
ADC Core Clock and Sample-And-Hold (S/H) Clock
448
Clock Chain to the ADC
448
Clock Chain to the ADC
449
Adcinx Input Model
450
Estimated Droop Error from N
453
External Bias for 2.048-V External Reference
455
Power Options
456
Flow Chart of Offset Error Correction Process
459
Ideal Code Distribution of Sampled 0-V Reference
460
Input Triggers
461
Block Diagram of Autosequenced ADC in Cascaded Mode
463
Block Diagram of Autosequenced ADC with Dual Sequencers
464
Comparison of Single and Cascaded Operating Modes
465
Sequential Sampling Mode (SMODE = 0)
466
Simultaneous Sampling Mode (SMODE = 1)
467
Values for Adcchselseqn Registers (MAX_CONV1 Set to 6)
470
Flow Chart for Uninterrupted Autosequenced Mode
471
Example of Epwm Triggers to Start the Sequencer
472
Values after Second Autoconversion Session
473
Values for Adcchselseqn (MAX_CONV1 Set to 2)
473
Interrupt Operation During Sequenced Conversions
475
ADC Registers
477
ADCTRL1 Register
478
ADCTRL1 Register Field Descriptions
478
ADCTRL2 Register
480
ADCTRL2 Register Field Descriptions
480
ADCMAXCONV Register
483
Bit Selections for MAX_CONV1 for Various Number of Conversions
483
ADCCHSELSEQ1 Register
485
ADCCHSELSEQ2 Register
486
ADCCHSELSEQ3 Register
487
Convnn Bit Values and the ADC Input Channels Selected
487
ADCCHSELSEQ4 Register
488
ADCASEQSR Register
489
State of Active Sequencer
489
ADCRESULT_0 to ADCRESULT_15 Register
490
ADCRESULT_0 to ADCRESULT_15 Register Field Descriptions
490
ADCTRL3 Register
491
ADCTRL3 Register Field Descriptions
491
ADCST Register
492
ADCST Register Field Descriptions
492
ADCREFSEL Register
493
ADCREFSEL Register Field Descriptions
493
ADCOFFTRIM Register
494
DMA Block Diagram
497
Peripheral Interrupt Trigger Input Diagram
498
Peripheral Interrupt Trigger Source Options
499
DMA State Diagram
507
ADC Sync Input Diagram
509
DMA Register Summary
510
Overrun Detection Logic
510
DMACTRL Register
515
DMACTRL Register Field Descriptions
515
DEBUGCTRL Register
516
DEBUGCTRL Register Field Descriptions
516
REVISION Register
517
REVISION Register Field Descriptions
517
PRIORITYCTRL1 Register
518
PRIORITYSTAT Register
519
MODE Register
520
MODE Register Field Descriptions
520
PREINTSEL Values
521
CONTROL Register
523
CONTROL Register Field Descriptions
523
BURST_SIZE Register
526
BURST_SIZE Register Field Descriptions
526
BURST_COUNT Register
527
SRC_BURST_STEP Register
528
DST_BURST_STEP Register
529
TRANSFER_SIZE Register
530
TRANSFER_COUNT Register
531
TRANSFER_COUNT Register Field Descriptions
531
SRC_TRANSFER_STEP Register
532
SRC_TRANSFER_STEP Register Field Descriptions
532
DST_TRANSFER_STEP Register
533
DST_TRANSFER_STEP Register Field Descriptions
533
SRC_WRAP_SIZE Register
534
SRC_WRAP_COUNT Register
535
SRC_WRAP_COUNT Register Field Descriptions
535
SRC_WRAP_STEP Register
536
DST_WRAP_SIZE Register
537
DST_WRAP_COUNT Register
538
DST_WRAP_COUNT Register Field Descriptions
538
DST_WRAP_STEP Register
539
SRC_BEG_ADDR_SHADOW Register
540
SRC_BEG_ADDR_SHADOW Register Field Descriptions
540
SRC_ADDR_SHADOW Register
541
SRC_ADDR_SHADOW Register Field Descriptions
541
SRC_BEG_ADDR Register
542
SRC_BEG_ADDR Register Field Descriptions
542
SRC_ADDR Register
543
SRC_ADDR Register Field Descriptions
543
DST_BEG_ADDR_SHADOW Register
544
DST_BEG_ADDR_SHADOW Register Field Descriptions
544
DST_ADDR_SHADOW Register
545
DST_ADDR_SHADOW Register Field Descriptions
545
DST_BEG_ADDR Register
546
DST_BEG_ADDR Register Field Descriptions
546
DST_ADDR Register
547
DST_ADDR Register Field Descriptions
547
SPI CPU Interface
550
SPI Module Signal Summary
550
SPI Interrupt Flag Modes
552
SPI Interrupt Flags and Enable Logic Generation
552
SPI Master/Slave Connection
553
Serial Peripheral Interface Block Diagram
554
SPI Clocking Scheme Selection Guide
558
SPICLK Signal Options
558
SPI: SPICLK-LSPCLK Characteristic When (BRR + 1) Is Odd, BRR > 3, and CLKPOLARITY
559
Five Bits Per Character
561
SPI Base Address Table
562
9.5.2 SPI_REGS Registers
563
SPI_REGS Access Type Codes
563
SPICCR Register
564
SPICCR Register Field Descriptions
564
SPICTL Register
566
SPICTL Register Field Descriptions
566
SPISTS Register
568
SPISTS Register Field Descriptions
568
SPIBRR Register
570
SPIBRR Register Field Descriptions
570
SPIRXEMU Register
571
SPIRXEMU Register Field Descriptions
571
SPIRXBUF Register
572
SPIRXBUF Register Field Descriptions
572
SPITXBUF Register
573
SPITXBUF Register Field Descriptions
573
SPIDAT Register
574
SPIDAT Register Field Descriptions
574
SPIFFTX Register
575
SPIFFTX Register Field Descriptions
575
SPIFFRX Register
577
SPIFFRX Register Field Descriptions
577
SPIFFCT Register
579
SPIFFCT Register Field Descriptions
579
SPIPRI Register
580
SPIPRI Register Field Descriptions
580
SCI CPU Interface
582
Serial Communications Interface (SCI) Module Block Diagram
583
SCI Module Signal Summary
584
Programming the Data Format Using SCICCR
585
Typical SCI Data Frame Formats
585
Idle-Line Multiprocessor Communication Format
587
Double-Buffered WUT and TXSHF
588
Address-Bit Multiprocessor Communication Format
589
SCI Asynchronous Communications Format
590
SCI RX Signals in Communication Modes
590
SCI TX Signals in Communications Mode
591
Asynchronous Baud Register Values for Common SCI Bit Rates
592
SCI FIFO Interrupt Flags and Enable Logic
593
SCI Interrupt Flags
594
SCI_REGS Access Type Codes
596
SCI_REGS Registers
596
SCICCR Register
597
SCICCR Register Field Descriptions
597
SCICTL1 Register
599
SCICTL1 Register Field Descriptions
599
SCIHBAUD Register
601
SCIHBAUD Register Field Descriptions
601
SCILBAUD Register
602
SCILBAUD Register Field Descriptions
602
SCICTL2 Register
603
SCICTL2 Register Field Descriptions
603
SCIRXST Register
605
SCIRXST Register Field Descriptions
605
SCIRXEMU Register
607
SCIRXEMU Register Field Descriptions
607
SCIRXBUF Register
608
SCIRXBUF Register Field Descriptions
608
SCITXBUF Register
609
SCITXBUF Register Field Descriptions
609
SCIFFTX Register
610
SCIFFTX Register Field Descriptions
610
SCIFFRX Register
612
SCIFFRX Register Field Descriptions
612
SCIFFCT Register
614
SCIFFCT Register Field Descriptions
614
SCIPRI Register
615
SCIPRI Register Field Descriptions
615
Multiple I2C Modules Connected
617
Clocking Diagram for the I2C Module
619
I2C Module Conceptual Block Diagram
619
Dependency of Delay D on the Divide-Down Value IPSC
620
The Roles of the Clock Divide-Down Values (ICCL and ICCH)
620
Bit Transfer on the I2C Bus
621
Operating Modes of the I2C Module
621
Master-Transmitter/Receiver Bus Activity Defined by the RM, STT, and STP Bits of I2CMDR
622
I2C Module START and STOP Conditions
623
I2C Module 10-Bit Addressing Format (FDF = 0, XA = 1 in I2CMDR)
624
I2C Module 7-Bit Addressing Format (FDF = 0, XA = 0 in I2CMDR)
624
I2C Module Data Transfer (7-Bit Addressing with 8-Bit Data Configuration Shown)
624
How the MST and FDF Bits of I2CMDR Affect the Role of the TRX Bit of I2CMDR
625
I2C Module Free Data Format (FDF = 1 in I2CMDR)
625
Repeated START Condition (in this Case, 7-Bit Addressing Format)
625
Synchronization of Two I2C Clock Generators During Arbitration
626
Ways to Generate a NACK Bit
626
Arbitration Procedure between Two Master-Transmitters
627
Pin Diagram Showing the Effects of the Digital Loopback Mode (DLB) Bit
628
Descriptions of the Basic I2C Interrupt Requests
629
Enable Paths of the I2C Interrupt Requests
629
Backwards Compatibility Mode Bit, Slave Transmitter
630
I2C_Fifo_Interrupt
630
I2C Base Address Table
632
I2C_REGS Access Type Codes
633
I2C_REGS Registers
633
I2COAR Register
634
I2COAR Register Field Descriptions
634
I2Cier Register Field Descriptions/Reserved R 0H
635
I2CIER Register
635
I2CIER Register Field Descriptions
635
RESERVED R 0H
635
I2CSTR Register
636
I2CSTR Register Field Descriptions
636
AAS R/W 0H
637
SCD R/W 0H
637
Ardy
638
Rrdy
638
XRDY R/W 0H
638
Nack
639
I2CCLKL Register
640
I2CCLKL Register Field Descriptions
640
I2CCLKH Register
641
I2CCLKH Register Field Descriptions
641
I2CCNT Register
642
I2CCNT Register Field Descriptions
642
I2CDRR Register
643
I2CDRR Register Field Descriptions
643
I2CSAR Register
644
I2CSAR Register Field Descriptions
644
I2CDXR Register
645
I2CDXR Register Field Descriptions
645
I2CMDR Register
646
I2CMDR Register Field Descriptions
646
I2CISRC Register
650
I2CISRC Register Field Descriptions
650
I2CEMDR Register
651
I2CEMDR Register Field Descriptions
651
I2CPSC Register
652
I2CPSC Register Field Descriptions
652
I2CFFTX Register
653
I2CFFTX Register Field Descriptions
653
I2CFFRX Register
655
I2CFFRX Register Field Descriptions
655
Mcbsp Interface Pins/Signals
659
Conceptual Block Diagram of the Mcbsp
660
Mcbsp Data Transfer Paths
661
A-Law Transmit Data Companding Format
662
Companding Processes
662
Μ-Law Transmit Data Companding Format
662
Example - Clock Signal Control of Bit Transfer Timing
663
Two Methods by Which the Mcbsp Can Compand Internal Data
663
Mcbsp Operating at Maximum Packet Frequency
665
Register Bits that Determine the Number of Phases, Words, and Bits
666
Single-Phase Frame for a Mcbsp Data Transfer
666
Dual-Phase Frame for a Mcbsp Data Transfer
667
Implementing the AC97 Standard with a Dual-Phase Frame
667
Mcbsp Reception Physical Data Path
668
Mcbsp Reception Signal Activity
668
Timing of an AC97-Standard Data Transfer Near Frame Synchronization
668
Mcbsp Transmission Physical Data Path
669
Mcbsp Transmission Signal Activity
669
Interrupts and DMA Events Generated by a Mcbsp
670
Conceptual Block Diagram of the Sample Rate Generator
671
Choosing an Input Clock for the Sample Rate Generator with the SCLKME and CLKSM Bits
672
Effects of DLB and CLKSTP on Clock Modes
672
Polarity Options for the Input to the Sample Rate Generator
673
Possible Inputs to the Sample Rate Generator and the Polarity Bits
673
CLKG Synchronization and FSG Generation When GSYNC = 1 and CLKGDV
675
CLKG Synchronization and FSG Generation When GSYNC = 1 and CLKGDV
676
Input Clock Selection for Sample Rate Generator
676
Overrun in the Mcbsp Receiver
678
Overrun Prevented in the Mcbsp Receiver
679
Possible Responses to Receive Frame-Synchronization Pulses
679
An Unexpected Frame-Synchronization Pulse During a Mcbsp Reception
680
Data in the Mcbsp Transmitter Overwritten and Thus Not Transmitted
681
Proper Positioning of Frame-Synchronization Pulses
681
Underflow During Mcbsp Transmission
682
Possible Responses to Transmit Frame-Synchronization Pulses
683
Underflow Prevented in the Mcbsp Transmitter
683
An Unexpected Frame-Synchronization Pulse During a Mcbsp Transmission
684
Block - Channel Assignment
685
Proper Positioning of Frame-Synchronization Pulses
685
Alternating between the Channels of Partition a and the Channels of Partition B
687
Reassigning Channel Blocks Throughout a Mcbsp Data Transfer
688
Receive Channel Assignment and Control with Eight Receive Partitions
688
Mcbsp Data Transfer in the 8-Partition Mode
689
Transmit Channel Assignment and Control When Eight Transmit Partitions Are Used
689
Selecting a Transmit Multichannel Selection Mode with the XMCM Bits
690
Activity on Mcbsp Pins for the Possible Values of XMCM
692
Bits Used to Enable and Configure the Clock Stop Mode
693
Typical SPI Interface
693
Effects of CLKSTP, CLKXP, and CLKRP on the Clock Scheme
694
SPI Transfer with CLKSTP = 10B (no Clock Delay), CLKXP = 0, and CLKRP
695
SPI Transfer with CLKSTP = 10B (no Clock Delay), CLKXP = 1, and CLKRP
695
SPI Transfer with CLKSTP = 11B (Clock Delay), CLKXP = 0, CLKRP
695
SPI Transfer with CLKSTP = 11B (Clock Delay), CLKXP = 1, CLKRP
695
Bit Values Required to Configure the Mcbsp as an SPI Master
697
SPI Interface with Mcbsp Used as Master
697
Bit Values Required to Configure the Mcbsp as an SPI Slave
698
SPI Interface with Mcbsp Used as Slave
698
Register Bits Used to Reset or Enable the Mcbsp Receiver Field Descriptions
700
Reset State of each Mcbsp Pin
700
Receive Signals Connected to Transmit Signals in Digital Loopback Mode
701
Register Bit Used to Enable/Disable the Digital Loopback Mode
701
Register Bits Used to Enable/Disable the Clock Stop Mode
701
Effects of CLKSTP, CLKXP, and CLKRP on the Clock Scheme
702
Register Bit Used to Choose One or Two Phases for the Receive Frame
702
Register Bit Used to Enable/Disable the Receive Multichannel Selection Mode
702
Register Bits Used to Set the Receive Frame Length
703
Register Bits Used to Set the Receive Word Length(S)
703
How to Calculate the Length of the Receive Frame
704
Pulses
704
Register Bit Used to Enable/Disable the Receive Frame-Synchronization Ignore Function
704
Register Bits Used to Set the Receive Companding Mode
705
Unexpected Frame-Synchronization Pulse with (R/X)FIG
705
Companding Processes for Reception and for Transmission
706
Register Bits Used to Set the Receive Data Delay
706
Range of Programmable Data Delay
707
Example: Use of RJUST Field with 12-Bit Data Value Abch
708
Example: Use of RJUST Field with 20-Bit Data Value Abcdeh
708
Register Bits Used to Set the Receive Sign-Extension and Justification Mode
708
Register Bits Used to Set the Receive Frame Synchronization Mode
709
Register Bits Used to Set the Receive Interrupt Mode
709
Select Sources to Provide the Receive Frame-Synchronization Signal and the Effect on the FSR Pin
710
Register Bit Used to Set Receive Frame-Synchronization Polarity
711
Data Clocked Externally Using a Rising Edge and Sampled by the Mcbsp Receiver on a Falling Edge
712
Register Bits Used to Set the SRG Frame-Synchronization Period and Pulse Width
712
Frame of Period 16 CLKG Periods and Active Width of 2 CLKG Periods
713
Register Bits Used to Set the Receive Clock Mode
713
Receive Clock Signal Source Selection
714
Register Bit Used to Set Receive Clock Polarity
714
Data Clocked Externally Using a Rising Edge and Sampled by the Mcbsp Receiver on a Falling Edge
715
Register Bit Used to Set the SRG Clock Synchronization Mode
716
Register Bits Used to Set the Sample Rate Generator (SRG) Clock Divide-Down Value
716
Register Bits Used to Set the SRG Clock Mode (Choose an Input Clock)
717
Register Bits Used to Set the SRG Input Clock Polarity
718
Register Bits Used to Place Transmitter in Reset Field Descriptions
719
Receive Signals Connected to Transmit Signals in Digital Loopback Mode
720
Register Bit Used to Enable/Disable the Digital Loopback Mode
720
Register Bits Used to Enable/Disable the Clock Stop Mode
720
Effects of CLKSTP, CLKXP, and CLKRP on the Clock Scheme
721
Register Bits Used to Enable/Disable Transmit Multichannel Selection
722
Use of the Transmit Channel Enable Registers
722
Use of the Transmit Channel Enable Registers
723
Register Bit Used to Choose 1 or 2 Phases for the Transmit Frame
725
Register Bits Used to Set the Transmit Word Length(S)
725
How to Calculate Frame Length
726
Register Bits Used to Set the Transmit Frame Length
726
Register Bit Used to Enable/Disable the Transmit Frame-Synchronization Ignore Function
727
Unexpected Frame-Synchronization Pulse with (R/X) FIG
727
Companding Processes for Reception and for Transmission
728
Register Bits Used to Set the Transmit Companding Mode
728
Unexpected Frame-Synchronization Pulse with (R/X) FIG
728
A-Law Transmit Data Companding Format
729
Register Bits Used to Set the Transmit Data Delay
729
Μ-Law Transmit Data Companding Format
729
Range of Programmable Data Delay
730
Register Bit Used to Set the Transmit DXENA (DX Delay Enabler) Mode
731
Register Bits Used to Set the Transmit Interrupt Mode
731
How FSXM and FSGM Select the Source of Transmit Frame-Synchronization Pulses
732
Register Bits Used to Set the Transmit Frame-Synchronization Mode
732
Register Bit Used to Set Transmit Frame-Synchronization Polarity
733
Data Clocked Externally Using a Rising Edge and Sampled by the Mcbsp Receiver on a Falling Edge
734
Frame of Period 16 CLKG Periods and Active Width of 2 CLKG Periods
734
Register Bits Used to Set SRG Frame-Synchronization Period and Pulse Width
734
How the CLKXM Bit Selects the Transmit Clock and the Corresponding Status of the MCLKX Pin
735
Register Bit Used to Set the Transmit Clock Mode
735
Register Bit Used to Set Transmit Clock Polarity
735
Data Clocked Externally Using a Rising Edge and Sampled by the Mcbsp Receiver on a Falling Edge
736
Mcbsp Emulation Modes Selectable with FREE and SOFT Bits of SPCR2
737
Reset State of each Mcbsp Pin
737
Four 8-Bit Data Words Transferred To/From the Mcbsp
740
One 32-Bit Data Word Transferred To/From the Mcbsp
740
Receive Interrupt Generation
742
Receive Interrupt Sources and Signals
742
Transmit Interrupt Generation
742
Transmit Interrupt Sources and Signals
742
12.12.3 Error Flags
743
Mcbsp Mode Selection
743
Mcbsp Register Summary
746
Data Receive Registers (DRR2 and DRR1)
747
Data Transmit Registers (DXR2 and DXR1)
747
Serial Port Control 1 Register (SPCR1)
748
Serial Port Control 1 Register (SPCR1) Field Descriptions
748
Serial Port Control 2 Register (SPCR2)
751
Serial Port Control 2 Register (SPCR2) Field Descriptions
751
Receive Control Register 1 (RCR1)
753
Receive Control Register 1 (RCR1) Field Descriptions
753
Frame Length Formula for Receive Control 1 Register (RCR1)
754
Receive Control Register 2 (RCR2)
754
Receive Control Register 2 (RCR2) Field Descriptions
754
Frame Length Formula for Receive Control 2 Register (RCR2)
755
Frame Length Formula for Transmit Control 1 Register (XCR1)
756
Transmit Control 1 Register (XCR1)
756
Transmit Control 1 Register (XCR1) Field Descriptions
756
Transmit Control 2 Register (XCR2)
757
Transmit Control 2 Register (XCR2) Field Descriptions
757
Frame Length Formula for Transmit Control 2 Register (XCR2)
758
Sample Rate Generator 1 Register (SRGR1)
759
Sample Rate Generator 1 Register (SRGR1) Field Descriptions
759
Sample Rate Generator 2 Register (SRGR2)
759
Sample Rate Generator 2 Register (SRGR2) Field Descriptions
760
2-Partition Mode
761
Multichannel Control 1 Register (MCR1)
761
Multichannel Control 1 Register (MCR1) Field Descriptions
761
Multichannel Control 2 Register (MCR2)
763
Multichannel Control 2 Register (MCR2) Field Descriptions
763
Pin Control Register (PCR)
765
Pin Control Register (PCR) Field Descriptions
765
Pin Configuration
767
Receive Channel Enable Registers (RCERA
767
Use of the Receive Channel Enable Registers
768
Transmit Channel Enable Registers (XCERA
769
Mcbsp Interrupt Enable Register (MFFINT)
771
Mcbsp Interrupt Enable Register (MFFINT) Field Descriptions
771
Ecan Block Diagram and Interface Circuit
775
CAN Data Frame
776
Architecture of the Ecan Module
777
Ecan-A Memory Map
780
Ecan-B Memory Map
781
Message Object Behavior Configuration
782
Ecan-A Mailbox RAM Layout
783
Addresses of LAM, MOTS and MOTO Registers for Mailboxes (Ecan-A)
784
Ecan-B Mailbox RAM Layout
785
Addresses of LAM, MOTS, and MOTO Registers for Mailboxes (Ecan-B)
786
Initialization Sequence
788
CAN Bit Timing
789
10, Tseg2
790
2, Sampling Point = 80%)
790
Achieving Different Sampling Points with a BT of
790
Interrupts Scheme
795
Ecan Interrupt Assertion/Clearing
797
Mailbox-Enable Register (CANME)
801
Mailbox-Enable Register (CANME) Field Descriptions
801
Mailbox-Direction Register (CANMD)
802
Mailbox-Direction Register (CANMD) Field Descriptions
802
Transmission-Request Set Register (CANTRS)
803
Transmission-Request Set Register (CANTRS) Field Descriptions
803
Transmission-Acknowledge Register (CANTA)
804
Transmission-Acknowledge Register (CANTA) Field Descriptions
804
Transmission-Request-Reset Register (CANTRR)
804
Transmission-Request-Reset Register (CANTRR) Field Descriptions
804
Abort-Acknowledge Register (CANAA)
805
Abort-Acknowledge Register (CANAA) Field Descriptions
805
Received-Message-Pending Register (CANRMP)
805
Received-Message-Pending Register (CANRMP) Field Descriptions
805
Received-Message-Lost Register (CANRML)
806
Received-Message-Lost Register (CANRML) Field Descriptions
806
Remote-Frame-Pending Register (CANRFP)
806
Remote-Frame-Pending Register (CANRFP) Field Descriptions
806
Global Acceptance Mask Register (CANGAM)
808
Global Acceptance Mask Register (CANGAM) Field Descriptions
808
Master Control Register (CANMC)
809
Master Control Register (CANMC) Field Descriptions
809
Bit-Timing Configuration Register (CANBTC)
812
Bit-Timing Configuration Register (CANBTC) Field Descriptions
812
Error and Status Register (CANES)
814
Error and Status Register (CANES) Field Descriptions
814
Receive-Error-Counter Register (CANREC)
816
Transmit-Error-Counter Register (CANTEC)
816
Global Interrupt Flag 0 Register (CANGIF0)
818
Global Interrupt Flag 1 Register (CANGIF1)
818
Global Interrupt Flag Registers (CANGIF0/CANGIF1) Field Descriptions
818
Global Interrupt Mask Register (CANGIM)
820
Global Interrupt Mask Register (CANGIM) Field Descriptions
820
Mailbox Interrupt Mask Register (CANMIM)
821
Mailbox Interrupt Mask Register (CANMIM) Field Descriptions
821
Mailbox Interrupt Level Register (CANMIL)
822
Mailbox Interrupt Level Register (CANMIL) Field Descriptions
822
Overwrite Protection Control Register (CANOPC)
822
Overwrite Protection Control Register (CANOPC) Field Descriptions
822
TX I/O Control Register (CANTIOC)
823
TX I/O Control Register (CANTIOC) Field Descriptions
823
RX I/O Control Register (CANRIOC)
824
RX I/O Control Register (CANRIOC) Field Descriptions
824
Time-Stamp Counter Register (CANTSC)
825
Time-Stamp Counter Register (CANTSC) Field Descriptions
825
Message Object Time Stamp Registers (MOTS)
826
Message Object Time Stamp Registers (MOTS) Field Descriptions
826
Message-Object Time-Out Registers (MOTO)
826
Message-Object Time-Out Registers (MOTO) Field Descriptions
826
Time-Out Control Register (CANTOC)
827
Time-Out Control Register (CANTOC) Field Descriptions
827
Time-Out Status Register (CANTOS)
828
Time-Out Status Register (CANTOS) Field Descriptions
828
Message Identifier Register (MSGID) Field Descriptions
829
Message Identifier Register (MSGID) Register
829
Message-Control Register (MSGCTRL)
830
Message-Control Register (MSGCTRL) Field Descriptions
830
Message-Data-High Register with DBO = 0 (CANMDH)
831
Message-Data-High Register with DBO = 1 (CANMDH)
831
Message-Data-Low Register with DBO = 0 (CANMDL)
831
Message-Data-Low Register with DBO = 1 (CANMDL)
831
Local-Acceptance-Mask Register (Lamn)
833
Local-Acceptance-Mask Register (Lamn) Field Descriptions
833
External Interface Block Diagram
837
Access Flow Diagram
839
Relationship between XTIMCLK and SYSCLKOUT
840
Typical 16-Bit Data Bus XINTF Connections
842
Typical 32-Bit Data Bus XINTF Connections
843
Pulse Duration in Terms of XTIMCLK Cycles
845
Xrdactive
846
Xrdlead
846
Xrdtrail
846
Xwractive
846
Xwrlead
846
Xwrtrail
846
Relationship between Lead/Trail Values and the XTIMCLK/X2TIMING Modes
848
Relationship between Active Values and the XTIMCLK/X2TIMING Modes
849
Valid XBANK Configurations
850
XINTF Configuration and Control Register Mapping
851
XRESET Register
852
XRESET Register Field Descriptions
852
XTIMING0 Register
853
XTIMING0 Register Field Descriptions
853
XTIMING6 Register
855
XTIMING6 Register Field Descriptions
855
XTIMING7 Register
857
XTIMING7 Register Field Descriptions
857
XBANK Register
861
XBANK Register Field Descriptions
861
XREVISION Register
862
XINTF Signal Descriptions
863
XTIMCLK and XCLKOUT Mode Waveforms
864
Generic Read Cycle (XTIMCLK = SYSCLKOUT Mode)
865
Generic Read Cycle (XTIMCLK = ½ SYSCLKOUT Mode)
866
Generic Write Cycle (XTIMCLK = SYSCLKOUT Mode)
867
Advertisement
Advertisement
Related Products
Texas Instruments TMS320F28334
Texas Instruments TMS320F28332
Texas Instruments TMS320F28235
Texas Instruments TMS320F28234
Texas Instruments TMS320F28232
Texas Instruments TMS320DM357
Texas Instruments TMS320C6452 DSP
Texas Instruments TMS320x2823x
Texas Instruments TMS320C6746
texas instruments TMS320x281 series
Texas Instruments Categories
Motherboard
Control Unit
Microcontrollers
Computer Hardware
Calculator
More Texas Instruments Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL