12
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
Contents
15.9.13
Set the Transmit DXENA Mode
............................................................................
15.9.14
Set the Transmit Interrupt Mode
...........................................................................
15.9.15
Set the Transmit Frame-Synchronization Mode
.........................................................
15.9.16
Set the Transmit Frame-Synchronization Polarity
.......................................................
15.9.17
Set the SRG Frame-Synchronization Period and Pulse Width
........................................
15.9.18
Set the Transmit Clock Mode
..............................................................................
15.9.19
Set the Transmit Clock Polarity
............................................................................
15.10
Emulation and Reset Considerations
................................................................................
15.10.1
McBSP Emulation Mode
....................................................................................
15.10.2
Resetting and Initializing McBSP
..........................................................................
15.11
Data Packing Examples
................................................................................................
15.11.1
Data Packing Using Frame Length and Word Length
..................................................
15.11.2
Data Packing Using Word Length and the Frame-Synchronization Ignore Function
...............
15.12
McBSP Registers
.......................................................................................................
15.12.1
Register Summary
...........................................................................................
15.12.2
Data Receive Registers (DRR[1,2])
.......................................................................
15.12.3
Data Transmit Registers (DXR[1,2])
......................................................................
15.12.4
Serial Port Control Registers (SPCR[1,2])
...............................................................
15.12.5
Receive Control Registers (RCR[1, 2])
..................................................................
15.12.6
Transmit Control Registers (XCR1 and XCR2)
..........................................................
15.12.7
Sample Rate Generator Registers (SRGR1 and SRGR2)
.............................................
15.12.8
Multichannel Control Registers (MCR[1,2])
..............................................................
15.12.9
Pin Control Register (PCR)
.................................................................................
15.12.10
Receive Channel Enable Registers (RCERA, RCERB, RCERC, RCERD, RCERE, RCERF,
RCERG, RCERH)
..............................................................................................
15.12.11
Transmit Channel Enable Registers (XCERA, XCERB, XCERC, XCERD, XCERE, XCERF,
XCERG, XCERH)
..............................................................................................
15.12.12
Interrupt Generation
.......................................................................................
16
M3 Micro Direct Memory Access ( µDMA)
...........................................................................
16.1
Overview
..................................................................................................................
16.2
Block Diagram
...........................................................................................................
16.3
Functional Description
..................................................................................................
16.3.1
Channel Assignments
........................................................................................
16.3.2
Priority
..........................................................................................................
16.3.3
Arbitration Size
................................................................................................
16.3.4
Request Types
................................................................................................
16.3.5
Channel Configuration
........................................................................................
16.3.6
Transfer Modes
................................................................................................
16.3.7
Transfer Size and Increment
................................................................................
16.3.8
Peripheral Interface
...........................................................................................
16.3.9
Software Request
.............................................................................................
16.3.10
Interrupts and Errors
........................................................................................
16.4
Initialization and Configuration
.........................................................................................
16.4.1
Module Initialization
...........................................................................................
16.4.2
Configuring a Memory-to-Memory Transfer
...............................................................
16.4.3
Configuring a Peripheral for Simple Transmit
.............................................................
16.4.4
Configuring a Peripheral for Ping-Pong Receive
..........................................................
16.5
Register Map
.............................................................................................................
16.6
µDMA Channel Control Structure
.....................................................................................
16.6.1
DMA Channel Source Address End Pointer (DMASRCENDP), offset 0x000
.........................
16.6.2
DMA Channel Destination Address End Pointer (DMADSTENDP), offset 0x004
....................
16.6.3
DMA Channel Control Word (DMACHCTL), offset 0x008
...............................................
16.7
µDMA Register Descriptions
...........................................................................................
16.7.1
DMA Status (DMASTAT), offset 0x000
....................................................................