SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
Table 20-77 lists the memory-mapped registers for the McBSP_REGS registers. All register offset addresses not listed in Table 20-77 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 0h | DRR2 | Data receive register bits 31-16 | Go | |
| 1h | DRR1 | Data receive register bits 15-0 | Go | |
| 2h | DXR2 | Data transmit register bits 31-16 | Go | |
| 3h | DXR1 | Data transmit register bits 15-0 | Go | |
| 4h | SPCR2 | Serial port control register 2 | Go | |
| 5h | SPCR1 | Serial port control register 1 | Go | |
| 6h | RCR2 | Receive Control register 2 | Go | |
| 7h | RCR1 | Receive Control register 1 | Go | |
| 8h | XCR2 | Transmit Control register 2 | Go | |
| 9h | XCR1 | Transmit Control register 1 | Go | |
| Ah | SRGR2 | Sample rate generator register 2 | Go | |
| Bh | SRGR1 | Sample rate generator register 1 | Go | |
| Ch | MCR2 | Multi-channel control register 2 | Go | |
| Dh | MCR1 | Multi-channel control register 1 | Go | |
| Eh | RCERA | Receive channel enable partition A | Go | |
| Fh | RCERB | Receive channel enable partition B | Go | |
| 10h | XCERA | Transmit channel enable partition A | Go | |
| 11h | XCERB | Transmit channel enable partition B | Go | |
| 12h | PCR | Pin Control register | Go | |
| 13h | RCERC | Receive channel enable partition C | Go | |
| 14h | RCERD | Receive channel enable partition D | Go | |
| 15h | XCERC | Transmit channel enable partition C | Go | |
| 16h | XCERD | Transmit channel enable partition D | Go | |
| 17h | RCERE | Receive channel enable partition E | Go | |
| 18h | RCERF | Receive channel enable partition F | Go | |
| 19h | XCERE | Transmit channel enable partition E | Go | |
| 1Ah | XCERF | Transmit channel enable partition F | Go | |
| 1Bh | RCERG | Receive channel enable partition G | Go | |
| 1Ch | RCERH | Receive channel enable partition H | Go | |
| 1Dh | XCERG | Transmit channel enable partition G | Go | |
| 1Eh | XCERH | Transmit channel enable partition H | Go | |
| 23h | MFFINT | Interrupt enable | Go |
Complex bit access types are encoded to fit into small table cells. Table 20-78 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
| Register Array Variables | ||
| i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
| y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. | |
DRR2 is shown in Figure 20-67 and described in Table 20-79.
Return to the Summary Table.
DRR2 contains the upper 16 bits of the received data to be read by the CPU or DMA. DRR2 is only used if the word length is greater than 16 bits.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| HWHB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HWLB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-8 | HWHB | R/W | 0h | High word high byte Reset type: SYSRSn |
| 7-0 | HWLB | R/W | 0h | High word low byte Reset type: SYSRSn |
DRR1 is shown in Figure 20-68 and described in Table 20-80.
Return to the Summary Table.
DRR1 contains the lower 16 bits of the received data to be read by either the CPU or DMA.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| LWHB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LWLB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-8 | LWHB | R/W | 0h | Low word high byte Reset type: SYSRSn |
| 7-0 | LWLB | R/W | 0h | Low word low byte Reset type: SYSRSn |
DXR2 is shown in Figure 20-69 and described in Table 20-81.
Return to the Summary Table.
DXR2 contains the upper 16 bits of the data to be transmitted after being written by the CPU or DMA. DXR2 is only used if the word length is greater than 16 bits.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| HWHB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| HWLB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-8 | HWHB | R/W | 0h | Low word high byte Reset type: SYSRSn |
| 7-0 | HWLB | R/W | 0h | Low word low byte Reset type: SYSRSn |
DXR1 is shown in Figure 20-70 and described in Table 20-82.
Return to the Summary Table.
DXR1 contains the lower 16 bits of the data to be transmitted after being written by the CPU or DMA.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| LWHB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| LWLB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-8 | LWHB | R/W | 0h | Low word high byte Reset type: SYSRSn |
| 7-0 | LWLB | R/W | 0h | Low word low byte Reset type: SYSRSn |
SPCR2 is shown in Figure 20-71 and described in Table 20-83.
Return to the Summary Table.
SPCR2 conatins control and status bits for various McBSP functions such as emulation modes, transmit interrupt mode control, transmitter status bits, and transmitter and other internal reset controls.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | FREE | SOFT | |||||
| R-0h | R/W-0h | R/W-0h | |||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FRST | GRST | XINTM | XSYNCERR | XEMPTY | XRDY | XRST | |
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | R-0h | R/W-0h | |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-10 | RESERVED | R | 0h | Reserved |
| 9 | FREE | R/W | 0h | Free run bit. When a breakpoint is encountered in the high-level language debugger, FREE determines whether the McBSP transmit and receive clocks continue to run or whether they are affected as determined by the SOFT bit. When one of the clocks stops, the corresponding data transfer (transmission or reception) stops. Reset type: SYSRSn |
| 8 | SOFT | R/W | 0h | Soft stop bit. When FREE = 0, SOFT determines the response of the McBSP transmit and receive clocks when a breakpoint is encountered in the high-level language debugger. When one of the clocks stops, the corresponding data transfer (transmission or reception) stops. Reset type: SYSRSn |
| 7 | FRST | R/W | 0h | Frame-synchronization logic reset bit. The sample rate generator of the McBSP includes framesynchronization logic to generate an internal frame-synchronization signal. You can use FRST to take the frame-synchronization logic into and out of its reset state. This bit has a negative polarity FRST = 0 indicates the reset state. Reset type: SYSRSn 0h (R/W) = If you read a 0, the frame-synchronization logic is in its reset state. If you write a 0, you reset the frame-synchronization logic. In the reset state, the frame-synchronization logic does not generate a frame-synchronization signal (FSG). 1h (R/W) = If you read a 1, the frame-synchronization logic is enabled. If you write a 1, you enable the frame-synchronization logic by taking it out of its reset state. When the frame-synchronization logic is enabled (FRST = 1) and the sample rate generator as a whole is enabled (GRST = 1), the frame-synchronization logic generates the frame-synchronization signal FSG as programmed. |
| 6 | GRST | R/W | 0h | Sample rate generator reset bit. You can use GRST to take the McBSP sample rate generator into and out of its reset state. This bit has a negative polarity GRST = 0 indicates the reset state. Reset type: SYSRSn 0h (R/W) = If you read a 0, the sample rate generator is in its reset state. If you write a 0, you reset the sample rate generator. If GRST = 0 due to a reset, CLKG is driven by the CPU clock divided by 2, and FSG is driven low (inactive). If GRST = 0 due to program code, CLKG and FSG are both driven low (inactive). 1h (R/W) = If you read a 1, the sample rate generator is enabled. If you write a 1, you enable the sample rate generator by taking it out of its reset state. When enabled, the sample rate generator generates the clock signal CLKG as programmed in the sample rate generator registers. If FRST = 1, the generator also generates the frame-synchronization signal FSG as programmed in the sample rate generator registers. |
| 5-4 | XINTM | R/W | 0h | Transmit interrupt mode bits. XINTM determines which event in the McBSP transmitter generates a transmit interrupt (XINT) request. If XINT is properly enabled, the CPU services the interrupt request otherwise, the CPU ignores the request. Reset type: SYSRSn 0h (R/W) = The McBSP sends a transmit interrupt (XINT) request to the CPU when the XRDY bit changes from 0 to 1, indicating that transmitter is ready to accept new data (the content of DXR[1,2] has been copied to XSR[1,2]). Regardless of the value of XINTM, you can check XRDY to determine whether a word transfer is complete. The McBSP sends an XINT request to the CPU when 16 enabled bits have been transmitted on the DX pin. 1h (R/W) = In the multichannel selection mode, the McBSP sends an XINT request to the CPU after every 16- channel block is transmitted in a frame. Outside of the multichannel selection mode, no interrupt request is sent. 2h (R/W) = The McBSP sends an XINT request to the CPU when each transmit frame-synchronization pulse is detected. The interrupt request is sent even if the transmitter is in its reset state. 3h (R/W) = The McBSP sends an XINT request to the CPU when the XSYNCERR bit is set, indicating a transmit frame-synchronization error. Regardless of the value of XINTM, you can check XSYNCERR to determine whether a transmit framesynchronization error occurred. |
| 3 | XSYNCERR | R/W | 0h | Transmit frame-synchronization error bit. XSYNCERR is set when a transmit frame-synchronization error is detected by the McBSP. If XINTM = 11b, the McBSP sends a transmit interrupt (XINT) request to the CPU when XSYNCERR is set. The flag remains set until you write a 0 to it or reset the transmitter. Reset type: SYSRSn 0h (R/W) = No error 1h (R/W) = Transmit frame-synchronization error |
| 2 | XEMPTY | R | 0h | Transmitter empty bit. XEMPTY is cleared when the transmitter is ready to send new data but no new data is available (transmitter-empty condition). This bit has a negative polarity a transmitter-empty condition is indicated by XEMPTY = 0. Reset type: SYSRSn 0h (R/W) = Transmitter-empty condition Typically this indicates that all the bits of the current word have been transmitted but there is no new data in DXR1. XEMPTY is also cleared if the transmitter is reset and then restarted. 1h (R/W) = No transmitter-empty condition |
| 1 | XRDY | R | 0h | Transmitter ready bit. XRDY is set when the transmitter is ready to accept new data in DXR[1,2]. Specifically, XRDY is set in response to a copy from DXR1 to XSR1. If the transmit interrupt mode is XINTM = 00b, the McBSP sends a transmit interrupt (XINT) request to the CPU when XRDY changes from 0 to 1. Also, when XRDY changes from 0 to 1, the McBSP sends a transmit synchronization event (XEVT) signal to the DMA controller. Reset type: SYSRSn 0h (R/W) = Transmitter not ready When DXR1 is loaded, XRDY is automatically cleared. 1h (R/W) = Transmitter ready: DXR[1,2] is ready to accept new data. If both DXRs are needed (word length larger than 16 bits), the CPU or the DMA controller must load DXR2 first and then load DXR1. As soon as DXR1 is loaded, the contents of both DXRs are copied to the transmit shift registers (XSRs), as described in the next step. If DXR2 is not loaded first, the previous content of DXR2 is passed to the XSR2 |
| 0 | XRST | R/W | 0h | Transmitter reset bit. You can use XRST to take the McBSP transmitter into and out of its reset state. This bit has a negative polarity XRST = 0 indicates the reset state. To read about the effects of a transmitter reset, see Section 15.10.2, Resetting and Initializing a McBSP. Reset type: SYSRSn 0h (R/W) = If you read a 0, the transmitter is in its reset state. If you write a 0, you reset the transmitter. 1h (R/W) = If you read a 1, the transmitter is enabled. If you write a 1, you enable the transmitter by taking it out of its reset state. |
SPCR1 is shown in Figure 20-72 and described in Table 20-84.
Return to the Summary Table.
SPCR1 contains control and status bits for various McBSP functions such as digital loopback, receive data justification, clock stop mode, receive interrupt mode, DX pin delay enabler, receiver status bits, and receiver reset control.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| DLB | RJUST | CLKSTP | RESERVED | ||||
| R/W-0h | R/W-0h | R/W-0h | R-0h | ||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| DXENA | RESERVED | RINTM | RSYNCERR | RFULL | RRDY | RRST | |
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | R-0h | R-0h | R/W-0h | |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | DLB | R/W | 0h | Digital loopback mode bit. DLB disables or enables the digital loopback mode of the McBSP: Reset type: SYSRSn 0h (R/W) = Disabled Internal DR is supplied by the MDRx pin. Internal FSR and internal MCLKR can be supplied by their respective pins or by the sample rate generator, depending on the mode bits FSRM and CLKRM. Internal DX is supplied by the MDXx pin. Internal FSX and internal CLKX are supplied by their respective pins or are generated internally, depending on the mode bits FSXM and CLKXM. 1h (R/W) = Enabled Internal receive signals are supplied by internal transmit signals: MDRx connected to MDXx MFSRx connected to MFSXx MCLKR connected to MCLKXx This mode allows you to test serial port code with a single DSP. The McBSP transmitter directly supplies data, frame synchronization, and clocking to the McBSP receiver. |
| 14-13 | RJUST | R/W | 0h | Receive sign-extension and justification mode bits. During reception, RJUST determines how data is justified and bit filled before being passed to the data receive registers (DRR1, DRR2). RJUST is ignored if you enable a companding mode with the RCOMPAND bits. In a companding mode, the 8-bit compressed data in RBR1 is expanded to left-justified 16-bit data in DRR1. Reset type: SYSRSn 0h (R/W) = Right justify the data and zero fill the MSBs 1h (R/W) = Right justify the data and sign-extend the data into the MSBs 2h (R/W) = Left justify the data and zero fill the LSBs 3h (R/W) = Reserved (do not use) |
| 12-11 | CLKSTP | R/W | 0h | Clock stop mode bits. CLKSTP allows you to use the clock stop mode to support the SPI masterslave protocol. If you will not be using the SPI protocol, you can clear CLKSTP to disable the clock stop mode. In the clock stop mode, the clock stops at the end of each data transfer. At the beginning of eachdata transfer, the clock starts immediately (CLKSTP = 10b) or after a half-cycle delay (CLKSTP = 11b). Reset type: SYSRSn 0h (R/W) = Clock stop mode is disabled. 1h (R/W) = Clock stop mode is disabled. 2h (R/W) = Clock stop mode, without clock delay 3h (R/W) = Clock stop mode, with half-cycle clock delay |
| 10-8 | RESERVED | R | 0h | Reserved |
| 7 | DXENA | R/W | 0h | DX delay enabler mode bit. DXENA controls the delay enabler for the DX pin. The enabler creates an extra delay for turn-on time (for the length of the delay, see the device-specific data sheet). Reset type: SYSRSn 0h (R/W) = DX delay enabler off 1h (R/W) = DX delay enabler on |
| 6 | RESERVED | R/W | 0h | Reserved |
| 5-4 | RINTM | R/W | 0h | Receive interrupt mode bits. RINTM determines which event in the McBSP receiver generates areceive interrupt (RINT) request. If RINT is properly enabled inside the CPU, the CPU services the interrupt request otherwise, the CPU ignores the request. Reset type: SYSRSn 0h (R/W) = The McBSP sends a receive interrupt (RINT) request to the CPU when the RRDY bit changes from 0 to 1, indicating that receive data is ready to be read (the content of RBR[1,2] has been copied to DRR[1,2]): Regardless of the value of RINTM, you can check RRDY to determine whether a word transfer is complete. The McBSP sends a RINT request to the CPU when 16 enabled bits have been received on the DR pin. 1h (R/W) = In the multichannel selection mode, the McBSP sends a RINT request to the CPU after every 16- channel block is received in a frame. Outside of the multichannel selection mode, no interrupt request is sent. 2h (R/W) = The McBSP sends a RINT request to the CPU when each receive frame-synchronization pulse is detected. The interrupt request is sent even if the receiver is in its reset state. 3h (R/W) = The McBSP sends a RINT request to the CPU when the RSYNCERR bit is set, indicating a receive frame-synchronization error. Regardless of the value of RINTM, you can check RSYNCERR to determine whether a receive frame-synchronization error occurred. |
| 3 | RSYNCERR | R/W | 0h | Receive frame-sync error bit. RSYNCERR is set when a receive frame-sync error is detected by the McBSP. If RINTM = 11b, the McBSP sends a receive interrupt (RINT) request to the CPU when RSYNCERR is set. The flag remains set until you write a 0 to it or reset the receiver. Reset type: SYSRSn 0h (R/W) = No error 1h (R/W) = Receive frame-synchronization error. |
| 2 | RFULL | R | 0h | Receiver full bit. RFULL is set when the receiver is full with new data and the previously received data has not been read (receiver-full condition). For more details about this condition, Reset type: SYSRSn 0h (R/W) = No receiver-full condition 1h (R/W) = Receiver-full condition: RSR[1,2] and RBR[1,2] are full with new data, but the previous data in DRR[1,2] has not been read |
| 1 | RRDY | R | 0h | Receiver ready bit. RRDY is set when data is ready to be read from DRR[1,2]. Specifically, RRDY is set in response to a copy from RBR1 to DRR1. If the receive interrupt mode is RINTM = 00b, the McBSP sends a receive interrupt request to the CPU when RRDY changes from 0 to 1. Also, when RRDY changes from 0 to 1, the McBSP sends a receive synchronization event (REVT) signal to the DMA controller. Reset type: SYSRSn 0h (R/W) = Receiver not ready When the content of DRR1 is read, RRDY is automatically cleared. 1h (R/W) = Receiver ready: New data can be read from DRR[1,2]. Important: If both DRRs are required (word length larger than 16 bits), the CPU or the DMA controller must read from DRR2 first and then from DRR1. As soon as DRR1 is read, the next RBR-to-DRR copy is initiated. If DRR2 is not read first, the data in DRR2 is lost. |
| 0 | RRST | R/W | 0h | Receiver reset bit. You can use RRST to take the McBSP receiver into and out of its reset state. This bit has a negative polarity RRST = 0 indicates the reset state. Reset type: SYSRSn 0h (R/W) = If you read a 0, the receiver is in its reset state. If you write a 0, you reset the receiver. 1h (R/W) = If you read a 1, the receiver is enabled. If you write a 1, you enable the receiver by taking it out of its reset state. |
RCR2 is shown in Figure 20-73 and described in Table 20-85.
Return to the Summary Table.
RCR2 contains control bits for the receiver such as number of phases in each frame, the serial word length and number of words for phase 2 of dual phase frames, receive companding mode, receive frame synchronization ignore function, and the receive data delay.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RPHASE | RFRLEN2 | ||||||
| R/W-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RWDLEN2 | RCOMPAND | RFIG | RDATDLY | ||||
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | RPHASE | R/W | 0h | Receive phase number bit. RPHASE determines whether the receive frame has one phase or two phases. For each phase you can define the serial word length and the number of serial words in the phase. To set up phase 1, program RWDLEN1 (word length) and RFRLEN1 (number of words). To set up phase 2 (if there are two phases), program RWDLEN2 and RFRLEN2. Reset type: SYSRSn 0h (R/W) = Single-phase frame The receive frame has only one phase, phase 1. 1h (R/W) = Dual-phase frame The receive frame has two phases, phase 1 and phase 2. |
| 14-8 | RFRLEN2 | R/W | 0h | Receive frame length 2 (1 to 128 words). Each frame of receive data can have one or two phases, depending on value that you load into the RPHASE bit. If a single-phase frame is selected, RFRLEN1 in RCR1 selects the number of serial words (8, 12, 16, 20, 24, or 32 bits per word) in the frame. If a dual-phase frame is selected, RFRLEN1 determines the number of serial words in phase 1 of the frame, and RFRLEN2 in RCR2 determines the number of words in phase 2 of the frame. The 7-bit RFRLEN fields allow up to 128 words per phase. See Table 15-77 for a summary of how to determine the frame length. This length corresponds to the number of words or logical time slots or channels per frame-synchronization period. Program the RFRLEN fields with [w minus 1], where w represents the number of words per phase. For example, if you want a phase length of 128 words in phase 2, load 127 into RFRLEN2. Reset type: SYSRSn |
| 7-5 | RWDLEN2 | R/W | 0h | Receive word length 2. Each frame of receive data can have one or two phases, depending on the value that you load into the RPHASE bit. If a single-phase frame is selected, RWDLEN1 in RCR1 selects the length for every serial word received in the frame. If a dual-phase frame is selected, RWDLEN1 determines the length of the serial words in phase 1 of the frame, and RWDLEN2 in RCR2 determines the word length in phase 2 of the frame. Reset type: SYSRSn 0h (R/W) = 8 bits 1h (R/W) = 12 bits 2h (R/W) = 16 bits 3h (R/W) = 20 bits 4h (R/W) = 24 bits 5h (R/W) = 32 bits 6h (R/W) = Reserved (do not use) 7h (R/W) = Reserved (do not use) |
| 4-3 | RCOMPAND | R/W | 0h | Receive companding mode bits. Companding (COMpress and exPAND) hardware allows compression and expansion of data in either u-law or A-law format. RCOMPAND allows you to choose one of the following companding modes for the McBSP receiver: For more details about these companding modes, see Section 15.1.5, Companding (Compressing and Expanding) Data. Reset type: SYSRSn 0h (R/W) = No companding, any size data, MSB received first 1h (R/W) = No companding, 8-bit data, LSB received first 2h (R/W) = u-law companding, 8-bit data, MSB received first 3h (R/W) = A-law companding, 8-bit data, MSB received first |
| 2 | RFIG | R/W | 0h | Receive frame-synchronization ignore bit. If a frame-synchronization pulse starts the transfer of a new frame before the current frame is fully received, this pulse is treated as an unexpected framesynchronization pulse. Unexpected Receive Frame-Synchronization Pulse. Setting RFIG causes the serial port to ignore unexpected frame-synchronization signals during reception. Reset type: SYSRSn 0h (R/W) = Frame-synchronization detect. An unexpected FSR pulse causes the receiver to discard the contents of RSR[1,2] in favor of the new incoming data. The receiver: 1. Aborts the current data transfer 2. Sets RSYNCERR in SPCR1 3. Begins the transfer of a new data word 1h (R/W) = Frame-synchronization ignore. An unexpected FSR pulse is ignored. Reception continues uninterrupted. |
| 1-0 | RDATDLY | R/W | 0h | Receive data delay bits. RDATDLY specifies a data delay of 0, 1, or 2 receive clock cycles after framesynchronization and before the reception of the first bit of the frame. Reset type: SYSRSn 0h (R/W) = 0-bit data delay 1h (R/W) = 1-bit data delay 2h (R/W) = 2-bit data delay 3h (R/W) = Reserved (do not use) |
RCR1 is shown in Figure 20-74 and described in Table 20-86.
Return to the Summary Table.
RCR1 contains control bits for the receiver such as the serial word length and number of words for single phase transmissions, or phase 1 if dual phase frames are used.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RFRLEN1 | ||||||
| R-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RWDLEN1 | RESERVED | ||||||
| R/W-0h | R-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | RESERVED | R | 0h | Reserved |
| 14-8 | RFRLEN1 | R/W | 0h | Receive frame length 1 (1 to 128 words). Each frame of receive data can have one or two phases,depending on value that you load into the RPHASE bit. If a single-phase frame is selected, RFRLEN1 inRCR1 selects the number of serial words (8, 12, 16, 20, 24, or 32 bits per word) in the frame. If a dualphase frame is selected, RFRLEN1 determines the number of serial words in phase 1 of the frame, and RFRLEN2 in RCR2 determines the number of words in phase 2 of the frame. The 7-bit RFRLEN fields allow up to 128 words per phase. See Table 15-75 for a summary of how you determine the frame length. This length corresponds to the number of words or logical time slots or channels per framesynchronization period. Program the RFRLEN fields with [w minus 1], where w represents the number of words per phase. For example, if you want a phase length of 128 words in phase 1, load 127 into RFRLEN1. Note: When operating in SPI mode, the frame length can only be 1 word. Reset type: SYSRSn |
| 7-5 | RWDLEN1 | R/W | 0h | Receive word length 1. Each frame of receive data can have one or two phases, depending on the value that you load into the RPHASE bit. If a single-phase frame is selected, RWDLEN1 in RCR1 selects the length for every serial word received in the frame. If a dual-phase frame is selected, RWDLEN1 determines the length of the serial words in phase 1 of the frame, and RWDLEN2 in RCR2 determines the word length in phase 2 of the frame. Reset type: SYSRSn 0h (R/W) = 8 bits 1h (R/W) = 12 bits 2h (R/W) = 16 bits 3h (R/W) = 20 bits 4h (R/W) = 24 bits 5h (R/W) = 32 bits 6h (R/W) = Reserved (do not use) 7h (R/W) = Reserved (do not use) |
| 4-0 | RESERVED | R | 0h | Reserved |
XCR2 is shown in Figure 20-75 and described in Table 20-87.
Return to the Summary Table.
XCR2 contains control bits for the transmitter such as number of phases in each frame, the serial word length and number of words for phase 2 of dual phase frames, transmit companding mode, transmit frame synchronization ignore function, and the transmit data delay control.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XPHASE | XFRLEN2 | ||||||
| R/W-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XWDLEN2 | XCOMPAND | XFIG | XDATDLY | ||||
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | XPHASE | R/W | 0h | Transmit phase number bit. XPHASE determines whether the transmit frame has one phase or two phases. For each phase you can define the serial word length and the number of serial words in the phase. To set up phase 1, program XWDLEN1 (word length) and XFRLEN1 (number of words). To set up phase 2 (if there are two phases), program XWDLEN2 and XFRLEN2. Reset type: SYSRSn |
| 14-8 | XFRLEN2 | R/W | 0h | Transmit frame length 2 (1 to 128 words). Each frame of transmit data can have one or two phases, depending on value that you load into the XPHASE bit. If a single-phase frame is selected, XFRLEN1 in XCR1 selects the number of serial words (8, 12, 16, 20, 24, or 32 bits per word) in the frame. If a dualphase frame is selected, XFRLEN1 determines the number of serial words in phase 1 of the frame and XFRLEN2 in XCR2 determines the number of words in phase 2 of the frame. The 7-bit XFRLEN fields allow up to 128 words per phase. See Table 15-81 for a summary of how to determine the frame length. This length corresponds to the number of words or logical time slots or channels per framesynchronization period. Program the XFRLEN fields with [w minus 1], where w represents the number of words per phase. For example, if you want a phase length of 128 words in phase 1, load 127 into XFRLEN1. Reset type: SYSRSn |
| 7-5 | XWDLEN2 | R/W | 0h | Transmit word length 2. Each frame of transmit data can have one or two phases, depending on the value that you load into the XPHASE bit. If a single-phase frame is selected, XWDLEN1 in XCR1 selects the length for every serial word transmitted in the frame. If a dual-phase frame is selected, XWDLEN1 determines the length of the serial words in phase 1 of the frame and XWDLEN2 in XCR2 determines the word length in phase 2 of the frame. Reset type: SYSRSn 0h (R/W) = 8 bits 1h (R/W) = 12 bits 2h (R/W) = 16 bits 3h (R/W) = 20 bits 4h (R/W) = 24 bits 5h (R/W) = 32 bits 6h (R/W) = Reserved (do not use) 7h (R/W) = Reserved (do not use) |
| 4-3 | XCOMPAND | R/W | 0h | Transmit companding mode bits. Companding (COMpress and exPAND) hardware allows compression and expansion of data in either u-law or A-law format. Reset type: SYSRSn 0h (R/W) = No companding, any size data, MSB received first 1h (R/W) = No companding, 8-bit data, LSB received first 2h (R/W) = u-law companding, 8-bit data, MSB received first 3h (R/W) = A-law companding, 8-bit data, MSB received first |
| 2 | XFIG | R/W | 0h | Transmit frame-synchronization ignore bit. If a frame-synchronization pulse starts the transfer of a new frame before the current frame is fully transmitted, this pulse is treated as an unexpected framesynchronization pulse. Setting XFIG causes the serial port to ignore unexpected frame-synchronization pulses during transmission. Reset type: SYSRSn 0h (R/W) = Frame-synchronization detect. An unexpected FSX pulse causes the transmitter to discard the content of XSR[1,2]. The transmitter: 1. Aborts the present transmission 2. Sets XSYNCERR in SPCR2 3. Begins a new transmission from DXR[1,2]. If new data was written to DXR[1,2] since the last DXR[1,2]-to-XSR[1,2] copy, the current value in XSR[1,2] is lost. Otherwise, the same data is transmitted. 1h (R/W) = Frame-synchronization ignore. An unexpected FSX pulse is ignored. Transmission continues uninterrupted. |
| 1-0 | XDATDLY | R/W | 0h | Transmit data delay bits. XDATDLY specifies a data delay of 0, 1, or 2 transmit clock cycles after frame synchronization and before the transmission of the first bit of the frame. Reset type: SYSRSn 0h (R/W) = 0-bit data delay 1h (R/W) = 1-bit data delay 2h (R/W) = 2-bit data delay 3h (R/W) = Reserved (do not use) |
XCR1 is shown in Figure 20-76 and described in Table 20-88.
Return to the Summary Table.
XCR1 contains control bits for the transmitter such as the serial word length and number of words for single phase transmissions, or phase 1 if dual phase frames are used.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | XFRLEN1 | ||||||
| R-0h | R/W-0h | ||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XWDLEN1 | RESERVED | ||||||
| R/W-0h | R-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | RESERVED | R | 0h | Reserved |
| 14-8 | XFRLEN1 | R/W | 0h | Transmit frame length 1 (1 to 128 words). Each frame of transmit data can have one or two phases, depending on value that you load into the XPHASE bit. If a single-phase frame is selected, XFRLEN1 in XCR1 selects the number of serial words (8, 12, 16, 20, 24, or 32 bits per word) in the frame. If a dual-phase frame is selected, XFRLEN1 determines the number of serial words in phase 1 of the frame and XFRLEN2 in XCR2 determines the number of words in phase 2 of the frame. The 7-bit XFRLEN fields allow up to 128 words per phase. See Table 15-79 for a summary of how you determine the frame length. This length corresponds to the number of words or logical time slots or channels per frame-synchronization period. Program the XFRLEN fields with [w minus 1], where w represents the number of words per phase. For example, if you want a phase length of 128 words in phase 1, load 127 into XFRLEN1. Note: When operating in SPI mode, the frame length can only be 1 word. Reset type: SYSRSn |
| 7-5 | XWDLEN1 | R/W | 0h | Transmit word length 1. Each frame of transmit data can have one or two phases, depending on the value that you load into the XPHASE bit. If a single-phase frame is selected, XWDLEN1 in XCR1 selects the length for every serial word transmitted in the frame. If a dual-phase frame is selected, XWDLEN1 determines the length of the serial words in phase 1 of the frame and XWDLEN2 in XCR2 determines the word length in phase 2 of the frame. Reset type: SYSRSn 0h (R/W) = 8 bits 1h (R/W) = 12 bits 2h (R/W) = 16 bits 3h (R/W) = 20 bits 4h (R/W) = 24 bits 5h (R/W) = 32 bits 6h (R/W) = Reserved (do not use) 7h (R/W) = Reserved (do not use) |
| 4-0 | RESERVED | R | 0h | Reserved |
SRGR2 is shown in Figure 20-77 and described in Table 20-89.
Return to the Summary Table.
SRGR2 contains control bits for the sample rate generator such as input clock selection, internal tranmist frame-synchronization source selection, and the period between frame-synchronization pulses.
If an external source provides the input clock source for the sample rate generator, a control bit is provided to make the CLKG synchronized to an external frame synchronization pulse on the FSR pin so that CLKG is kept in phase with the input clock.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| GSYNC | RESERVED | CLKSM | FSGM | FPER | |||
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| FPER | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15 | GSYNC | R/W | 0h | Clock synchronization mode bit for CLKG. GSYNC is used only when the input clock source for the sample rate generator is external?on the MCLKR pin. When GSYNC = 1, the clock signal (CLKG) and the frame-synchronization signal (FSG) generated by the sample rate generator are made dependent on pulses on the FSR pin. Reset type: SYSRSn 0h (R/W) = No clock synchronization CLKG oscillates without adjustment, and FSG pulses every (FPER + 1) CLKG cycles. 1h (R/W) = Clock synchronization - CLKG is adjusted as necessary so that it is synchronized with the input clock on the MCLKR pin. - FSG pulses. FSG only pulses in response to a pulse on the FSR pin. The frame-synchronization period defined in FPER is ignored. |
| 14 | RESERVED | R/W | 0h | Reserved |
| 13 | CLKSM | R/W | 0h | Sample rate generator mode Reset type: SYSRSn 0h (R/W) = Sample rate generator input clock mode bit. The sample rate generator can accept an input clock signal and divide it down according to CLKGDV to produce an output clock signal, CLKG. The frequency of CLKG is:) CLKG frequency = (input clock frequency)/ (CLKGDV + 1 CLKSM is used in conjunction with the SCLKME bit to determine the source for the input clock. A reset selects the CPU clock as the input clock and forces the CLKG frequency to half the LSPCLK frequency. The input clock for the sample rate generator is taken from the MCLKR pin, depending on the value of the SCLKME bit of PCR: SCLKME CLKSM Input Clock For Sample Rate Generator 0 0 Reserved 1 0 Signal on MCLKR pin 1h (R/W) = The input clock for the sample rate generator is taken from the LSPCLK or from the MCLKX pin, depending on the value of the SCLKME bit of PCR: SCLKME CLKSM Input Clock For Sample Rate Generator 0 1 LSPCLK 1 1 Signal on MCLKX pin |
| 12 | FSGM | R/W | 0h | Sample rate generator transmit frame-synchronization mode bit. The transmitter can get frame synchronization from the FSX pin (FSXM = 0) or from inside the McBSP (FSXM = 1). When FSXM = 1, the FSGM bit determines how the McBSP supplies frame-synchronization pulses. Reset type: SYSRSn 0h (R/W) = If FSXM = 1, the McBSP generates a transmit frame-synchronization pulse when the content of DXR[1,2] is copied to XSR[1,2]. 1h (R/W) = If FSXM = 1, the transmitter uses frame-synchronization pulses generated by the sample rate generator. Program the FWID bits to set the width of each pulse. Program the FPER bits to set the period between pulses. |
| 11-0 | FPER | R/W | 0h | Frame-synchronization period bits for FSG. The sample rate generator can produce a clock signal, CLKG, and a frame-synchronization signal, FSG. The period between framesynchronization pulses on FSG is (FPER + 1) CLKG cycles. The 12 bits of FPER allow a frame-synchronization period of 1 to 4096 CLKG cycles: Reset type: SYSRSn |
SRGR1 is shown in Figure 20-78 and described in Table 20-90.
Return to the Summary Table.
SRGR1 contains control bits for the sample rate generator functions such as the divide down frequency, and the width fo the frame-synchronization pulses on FSG.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| FWID | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| CLKGDV | |||||||
| R/W-1h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-8 | FWID | R/W | 0h | Divide-down value for CLKG. The sample rate generator can accept an input clock signal and divide it down according to CLKGDV to produce an output clock signal, CLKG. The frequency of CLKG is: CLKG frequency = (Input clock frequency)/ (CLKGDV + 1) The input clock is selected by the SCLKME and CLKSM bits: SCLKME CLKSM Input Clock For Sample Rate Generator 0 0 Reserved 0 1 LSPCLK 1 0 Signal on MCLKR pin 1 1 Signal on MCLKX pin Reset type: SYSRSn |
| 7-0 | CLKGDV | R/W | 1h | Frame-synchronization pulse width bits for FSG The sample rate generator can produce a clock signal, CLKG, and a frame-synchronization signal, FSG. For frame-synchronization pulses on FSG, (FWID + 1) is the pulse width in CLKG cycles. The eight bits of FWID allow a pulse width of 1 to 256 CLKG cycles: 0 <= FWID <= 255 1 <= (FWID + 1) <= 256 CLKG cycles The period between the frame-synchronization pulses on FSG is defined by the FPER bits. Reset type: SYSRSn |
MCR2 is shown in Figure 20-79 and described in Table 20-91.
Return to the Summary Table.
MCR2 contains control bits for the transmitter multi-channel functions such as channel enable mode selection, channel partition modes, channel block assignments, and active channel status bits.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | XMCME | XPBBLK | |||||
| R-0h | R/W-0h | R/W-0h | |||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XPBBLK | XPABLK | XCBLK | XMCM | ||||
| R/W-0h | R/W-0h | R-0h | R/W-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-10 | RESERVED | R | 0h | Reserved |
| 9 | XMCME | R/W | 0h | Transmit multichannel partition mode bit. XMCME determines whether only 32 channels or all 128 channels are to be individually selectable. XMCME is only applicable if channels can be individually disabled/enabled or masked/unmasked for transmission (XMCM is nonzero). Reset type: SYSRSn |
| 8-7 | XPBBLK | R/W | 0h | Transmit partition B block bits XPBBLK is only applicable if channels can be individually disabled/enabled and masked/unmasked (XMCM is nonzero) and the 2-partition mode is selected (XMCME = 0). Under these conditions, the McBSP transmitter can transmit or withhold data in any of the 32 channels that are assigned to partitions A and B of the transmitter. The 128 transmit channels of the McBSP are divided equally among 8 blocks (0 through 7). When XPBBLK is applicable, use XPBBLK to assign one of the odd-numbered blocks (1, 3, 5, or 7) to partition B, as shown in the following table. Use the PABLK bit to assign one of the evennumbered blocks (0, 2, 4, or 6) to partition A. If you want to use more than 32 channels, you can change block assignments dynamically. You can assign a new block to one partition while the transmitter is handling activity in the other partition. For example, while the block in partition A is active, you can change which block is assigned to partition B. The XCBLK bits are regularly pdated to indicate which block is active. When XMCM = 11b (for symmetric transmission and reception), the transmitter uses the receive block bits (RPABLK and RPBBLK) rather than the transmit block bits (XPABLK and XPBBLK). Reset type: SYSRSn 0h (R/W) = Block 1: channels 16 through 31 1h (R/W) = Block 3: channels 48 through 63 2h (R/W) = Block 5: channels 80 through 95 3h (R/W) = Block 7: channels 112 through 127 |
| 6-5 | XPABLK | R/W | 0h | Transmit partition A block bits. XPABLK is only applicable if channels can be individually disabled/enabled and masked/unmasked (XMCM is nonzero) and the 2-partition mode is selected (XMCME = 0). Under these conditions, the McBSP transmitter can transmit or withhold data in any of the 32 channels that are assigned to artitions A and B of the transmitter. See the Descriptionfor XPBBLK (bits 8-7) for more information about assigning blocks to partitions A and B. Reset type: SYSRSn 0h (R/W) = Block 0: channels 0 through 15 1h (R/W) = Block 2: channels 32 through 47 2h (R/W) = Block 4: channels 64 through 79 3h (R/W) = Block 6: channels 96 through 111 |
| 4-2 | XCBLK | R | 0h | Transmit current block indicator. XCBLK indicates which block of 16 channels is involved in the current McBSP transmission: Reset type: SYSRSn 0h (R/W) = Block 0: channels 0 through 15 1h (R/W) = Block 1: channels 16 through 31 2h (R/W) = Block 2: channels 32 through 47 3h (R/W) = Block 3: channels 48 through 63 4h (R/W) = Block 4: channels 64 through 79 5h (R/W) = Block 5: channels 80 through 95 6h (R/W) = Block 6: channels 96 through 111 7h (R/W) = Block 7: channels 112 through 127 |
| 1-0 | XMCM | R/W | 0h | Transmit multichannel selection mode bits. XMCM determines whether all channels or only selected channels are enabled and unmasked for transmission. Reset type: SYSRSn 0h (R/W) = No transmit multichannel selection mode is on. All channels are enabled and unmasked. No channels can be disabled or masked 1h (R/W) = All channels are disabled unless they are selected in the appropriate transmit channel enable registers (XCERs). If enabled, a channel in this mode is also unmasked. The XMCME bit determines whether 32 channels or 128 channels are selectable in XCERs. 2h (R/W) = All channels are enabled, but they are masked unless they are selected in the appropriate transmit channel enable registers (XCERs). The XMCME bit determines whether 32 channels or 128 channels are selectable in XCERs. 3h (R/W) = This mode is used for symmetric transmission and reception. All channels are disabled for transmission unless they are enabled for reception in the appropriate receive channel enable registers (RCERs). Once enabled, they are masked unless they are also selected in the appropriate transmit channel enable registers (XCERs). The XMCME bit determines whether 32 channels or 128 channels are selectable in RCERs and XCERs. |
MCR1 is shown in Figure 20-80 and described in Table 20-92.
Return to the Summary Table.
MCR1 contains control bits for the receiver multi-channel functions such as channel enable mode selection, channel partition modes, channel block assignments, and active channel status bits.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | RMCME | RPBBLK | |||||
| R-0h | R/W-0h | R/W-0h | |||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RPBBLK | RPABLK | RCBLK | RESERVED | RMCM | |||
| R/W-0h | R/W-0h | R-0h | R/W-0h | R/W-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-10 | RESERVED | R | 0h | Reserved |
| 9 | RMCME | R/W | 0h | Receive multichannel partition mode bit. RMCME is only applicable if channels can be individually enabled or disabled for reception (RMCM = 1). RMCME determines whether only 32 channels or all 128 channels are to be individually selectable. Reset type: SYSRSn 0h (R/W) = 2-partition mode Only partitions A and B are used. You can control up to 32 channels in the receive multichannel selection mode (RMCM = 1). Assign 16 channels to partition A with the RPABLK bits. Assign 16 channels to partition B with the RPBBLK bits. You control the channels with the appropriate receive channel enable registers: RCERA: Channels in partition A RCERB: Channels in partition B 1h (R/W) = 8-partition mode All partitions (A through H) are used. You can control up to 128 channels in the receive multichannel selection mode. You control the channels with the appropriate receive channel enable registers: RCERA: Channels 0 through 15 RCERB: Channels 16 through 31 RCERC: Channels 32 through 47 RCERD: Channels 48 through 63 RCERE: Channels 64 through 79 RCERF: Channels 80 through 95 RCERG: Channels 96 through 111 RCERH: Channels 112 through 127 |
| 8-7 | RPBBLK | R/W | 0h | Receive partition B block bits RPBBLK is only applicable if channels can be individually enabled or disabled (RMCM = 1) and the 2-partition mode is selected (RMCME = 0). Under these conditions, the McBSP receiver can accept or ignore data in any of the 32 channels that are assigned to partitions A and B of the receiver. The 128 receive channels of the McBSP are divided equally among 8 blocks (0 through 7). When RPBBLK is applicable, use RPBBLK to assign one of the odd-numbered blocks (1, 3, 5, or 7) to partition B. Use the RPABLK bits to assign one of the even-numbered blocks (0, 2, 4, or 6) to partition A. If you want to use more than 32 channels, you can change block assignments dynamically. You can assign a new block to one partition while the receiver is handling activity in the other partition. For example, while the block in partition A is active, you can change which block is assigned to partition B. The RCBLK bits are regularly updated to indicate which block is active. When XMCM = 11b (for symmetric transmission and reception), the transmitter uses the receive block bits (RPABLK and RPBBLK) rather than the transmit block bits (XPABLK and XPBBLK). Reset type: SYSRSn 0h (R/W) = Block 1: channels 16 through 31 1h (R/W) = Block 3: channels 48 through 63 2h (R/W) = Block 5: channels 80 through 95 3h (R/W) = Block 7: channels 112 through 127 |
| 6-5 | RPABLK | R/W | 0h | Receive partition A block bits RPABLK is only applicable if channels can be individually enabled or disabled (RMCM = 1) and the 2-partition mode is selected (RMCME = 0). Under these conditions, the McBSP receiver can accept or ignore data in any of the 32 channels that are assigned to partitions A and B of the receiver. See the Descriptionfor RPBBLK (bits 8-7) for more information about assigning blocks to partitions A and B. Reset type: SYSRSn 0h (R/W) = Block 0: channels 0 through 15 1h (R/W) = Block 2: channels 32 through 47 2h (R/W) = Block 4: channels 64 through 79 3h (R/W) = Block 6: channels 96 through 111 |
| 4-2 | RCBLK | R | 0h | Receive current block indicator. RCBLK indicates which block fo 16 channels is involved in the current McBSP reception Reset type: SYSRSn 0h (R/W) = Block 0: channels 0 through 15 1h (R/W) = Block 1: channels 16 through 31 2h (R/W) = Block 2: channels 32 through 47 3h (R/W) = Block 3: channels 48 through 63 4h (R/W) = Block 4: channels 64 through 79 5h (R/W) = Block 5: channels 80 through 95 6h (R/W) = Block 6: channels 96 through 111 7h (R/W) = Block 7: channels 112 through 127 |
| 1 | RESERVED | R/W | 0h | Reserved |
| 0 | RMCM | R/W | 0h | Receive multichannel selection mode bit. RMCM determines whether all channels or only selected channels are enabled for reception: Reset type: SYSRSn 0h (R/W) = All 128 channels are enabled. 1h (R/W) = Multichanneled selection mode. Channels can be individually enabled or disabled. The only channels enabled are those selected in the appropriate receive channel enable registers (RCERs). The way channels are assigned to the RCERs depends on the number of receive channel partitions (2 or 8), as defined by the RMCME bit. |
RCERA is shown in Figure 20-81 and described in Table 20-93.
Return to the Summary Table.
RCERA contains the receive channel enable registers for the A partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEA | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEA | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEA | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
RCERB is shown in Figure 20-82 and described in Table 20-94.
Return to the Summary Table.
RCERB contains the receive channel enable registers for the B partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEB | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
XCERA is shown in Figure 20-83 and described in Table 20-95.
Return to the Summary Table.
XCERA contains the transmit channel enable registers for the A partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERA | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERA | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERA | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
XCERB is shown in Figure 20-84 and described in Table 20-96.
Return to the Summary Table.
XCERB contains the transmit channel enable registers for the B partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERB | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERB | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERB | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
PCR is shown in Figure 20-85 and described in Table 20-97.
Return to the Summary Table.
PCR contains control bits for the McBSP pins such as frame synchronization modes, clock modes, input clock source selection for the sample rate generator, frame synchronization pulse active polarity, and transmit/receive active edge selection.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | FSXM | FSRM | CLKXM | CLKRM | |||
| R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| SCLKME | RESERVED | RESERVED | RESERVED | FSXP | FSRP | CLKXP | CLKRP |
| R/W-0h | R-0h | R-0h | R-0h | R/W-0h | R-0h | R-0h | R/W-0h |
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-12 | RESERVED | R | 0h | Reserved |
| 11 | FSXM | R/W | 0h | Transmit frame-synchronization mode bit. FSXM determines whether transmit framesynchronization pulses are supplied externally or internally. The polarity of the signal on the FSX pin is determined by the FSXP bit. Reset type: SYSRSn 0h (R/W) = Transmit frame synchronization is supplied by an external source via the FSX pin. 1h (R/W) = Transmit frame synchronization is generated internally by the Sample Rate generator, as determined by the FSGM bit of SRGR2 |
| 10 | FSRM | R/W | 0h | Receive frame-synchronization mode bit. FSRM determines whether receive framesynchronization pulses are supplied externally or internally. The polarity of the signal on the FSR pin is determined by the FSRP bit. Reset type: SYSRSn 0h (R/W) = Receive frame synchronization is supplied by an external source via the FSR pin. 1h (R/W) = Receive frame synchronization is supplied by the sample rate generator. FSR is an output pin reflecting internal FSR, except when GSYNC = 1 in SRGR2 |
| 9 | CLKXM | R/W | 0h | Transmit clock mode bit. CLKXM determines whether the source for the transmit clock is external or internal, and whether the MCLKX pin is an input or an output. The polarity of the signal on the MCLKX pin is determined by the CLKXP bit. In the clock stop mode (CLKSTP = 10b or 11b), the McBSP can act as a master or as a slave in the SPI protocol. If the McBSP is a master, make sure that CLKX is an output. If the McBSP is a slave, make sure that CLKX is an input. Reset type: SYSRSn 0h (R/W) = Not in clock stop mode (CLKSTP = 00b or 01b): The transmitter gets its clock signal from an external source via the MCLKX pin. In clock stop mode (CLKSTP = 10b or 11b): The McBSP is a slave in the SPI protocol. The internal transmit clock (CLKX) is driven by the SPI master via the MCLKX pin. The internal receive clock (MCLKR) is driven internally by CLKX, so that both the transmitter and the receiver are controlled by the external master clock. 1h (R/W) = Not in clock stop mode (CLKSTP = 00b or 01b): Internal CLKX is driven by the sample rate generator of the McBSP. The MCLKX pin is an output pin that reflects internal CLKX. In clock stop mode (CLKSTP = 10b or 11b): The McBSP is a master in the SPI protocol. The sample rate generator drives the internal transmit clock (CLKX). Internal CLKX is reflected on the MCLKX pin to drive the shift clock of the SPI-compliant slaves in the system. Internal CLKX also drives the internal receive clock (MCLKR), so that both the transmitter and the receiver are controlled by the internal master clock |
| 8 | CLKRM | R/W | 0h | Receive clock mode bit. The role of CLKRM and the resulting effect on the MCLKR pin depend on whether the McBSP is in the digital loopback mode (DLB = 1). The polarity of the signal on the MCLKR pin is determined by the CLKRP bit. Reset type: SYSRSn 0h (R/W) = Not in digital loopback mode (DLB = 0): The MCLKR pin is an input pin that supplies the internal receive clock (MCLKR). In digital loopback mode (DLB = 1): The MCLKR pin is in the high impedance state. The internal receive clock (MCLKR) is driven by the internal transmit clock (CLKX). CLKX is derived according to the CLKXM bit. 1h (R/W) = Not in digital loopback mode (DLB = 0): Internal MCLKR is driven by the sample rate generator of the McBSP. The MCLKR pin is an output pin that reflects internal MCLKR. In digital loopback mode (DLB = 1): Internal MCLKR is driven by internal CLKX. The MCLKR pin is an output pin that reflects internal MCLKR. CLKX is derived according to the CLKXM bit. |
| 7 | SCLKME | R/W | 0h | Sample rate generator input clock mode bit. The sample rate generator can produce a clock signal, CLKG. The frequency of CLKG is: CLKG freq. = (Input clock frequency) / (CLKGDV + 1) SCLKME is used in conjunction with the CLKSM bit to select the input clock. SCLKME CLKSM Input Clock For Sample Rate Generator 0 0 Reserved 0 1 LSPCLK The input clock for the sample rate generator is taken from the MCLKR pin or from the MCLKX pin, depending on the value of the CLKSM bit of SRGR2: SCLKME CLKSM Input Clock For Sample Rate Generator 1 0 Signal on MCLKR pin 1 1 Signal on MCLKX pin Reset type: SYSRSn |
| 6 | RESERVED | R | 0h | Reserved |
| 5 | RESERVED | R | 0h | Reserved |
| 4 | RESERVED | R | 0h | Reserved |
| 3 | FSXP | R/W | 0h | Transmit frame-synchronization polarity bit. FSXP determines the polarity of FSX as seen on the FSX pin. Reset type: SYSRSn 0h (R/W) = Transmit frame-synchronization pulses are active high. 1h (R/W) = Transmit frame-synchronization pulses are active low. |
| 2 | FSRP | R | 0h | Receive frame-synchronization polarity bit. FSRP determines the polarity of FSR as seen on the FSR pin. Reset type: SYSRSn 0h (R/W) = Receive frame-synchronization pulses are active high. 1h (R/W) = Receive frame-synchronization pulses are active low. |
| 1 | CLKXP | R | 0h | Transmit clock polarity bit. CLKXP determines the polarity of CLKX as seen on the MCLKX pin. Reset type: SYSRSn 0h (R/W) = Transmit data is sampled on the rising edge of CLKX. 1h (R/W) = Transmit data is sampled on the falling edge of CLKX. |
| 0 | CLKRP | R/W | 0h | Receive clock polarity bit. CLKRP determines the polarity of CLKR as seen on the MCLKR pin. Reset type: SYSRSn 0h (R/W) = Receive data is sampled on the falling edge of MCLKR. 1h (R/W) = Receive data is sampled on the rising edge of MCLKR. |
RCERC is shown in Figure 20-86 and described in Table 20-98.
Return to the Summary Table.
RCERC contains the receive channel enable registers for the C partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEC | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEC | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEC | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
RCERD is shown in Figure 20-87 and described in Table 20-99.
Return to the Summary Table.
RCERD contains the receive channel enable registers for the D partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCED | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCED | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCED | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
XCERC is shown in Figure 20-88 and described in Table 20-100.
Return to the Summary Table.
XCERC contains the transmit channel enable registers for the C partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERC | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERC | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERC | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
XCERD is shown in Figure 20-89 and described in Table 20-101.
Return to the Summary Table.
XCERD contains the transmit channel enable registers for the D partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERD | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERD | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERD | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
RCERE is shown in Figure 20-90 and described in Table 20-102.
Return to the Summary Table.
RCERE contains the receive channel enable registers for the E partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEE | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEE | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEE | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
RCERF is shown in Figure 20-91 and described in Table 20-103.
Return to the Summary Table.
RCERF contains the receive channel enable registers for the F partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEF | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEF | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEF | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
XCERE is shown in Figure 20-92 and described in Table 20-104.
Return to the Summary Table.
XCERE contains the transmit channel enable registers for the E partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERE | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERE | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERE | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
XCERF is shown in Figure 20-93 and described in Table 20-105.
Return to the Summary Table.
XCERF contains the transmit channel enable registers for the F partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERF | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERF | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERF | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
RCERG is shown in Figure 20-94 and described in Table 20-106.
Return to the Summary Table.
RCERG contains the receive channel enable registers for the G partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEG | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEG | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEG | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
RCERH is shown in Figure 20-95 and described in Table 20-107.
Return to the Summary Table.
RCERH contains the receive channel enable registers for the H partition. This register is only used when the receiver is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. RMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RCEH | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RCEH | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | RCEH | R/W | 0h | Receive channel enable bit. For receive multichannel selection mode (RMCM = 1): Reset type: SYSRSn 0h (R/W) = Disable the channel that is mapped to RCEx. 1h (R/W) = Enable the channel that is mapped to RCEx. |
XCERG is shown in Figure 20-96 and described in Table 20-108.
Return to the Summary Table.
XCERG contains the transmit channel enable registers for the G partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERG | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERG | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERG | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
XCERH is shown in Figure 20-97 and described in Table 20-109.
Return to the Summary Table.
XCERH contains the transmit channel enable registers for the H partition. This register is only used when the transmitter is configured to allow individual disabling/enabling and masking/unmasking of the channels (e.g. XMCM is nonzero).
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| XCERH | |||||||
| R/W-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| XCERH | |||||||
| R/W-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-0 | XCERH | R/W | 0h | Transmit channel enable bit. The role of this bit depends on which transmit multichannel selection mode is selected with the XMCM bits. Reset type: SYSRSn 0h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Disable and mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Mask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Mask the channel that is mapped to XCEx. Even if the channel is enabled by the corresponding receive channel enable bit, this channel's data cannot appear on the DX pin. 1h (R/W) = For multichannel selection when XMCM = 01b (all channels disabled unless selected): Enable and unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 10b (all channels enabled but masked unless selected): Unmask the channel that is mapped to XCEx. For multichannel selection when XMCM = 11b (all channels masked unless selected): Unmask the channel that is mapped to XCEx. If the channel is also enabled by the corresponding receive channel enable bit, full transmission can occur. |
MFFINT is shown in Figure 20-98 and described in Table 20-110.
Return to the Summary Table.
MFFINT contains the enable bits for both the transmitter and receiver interupts.
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | RINT | RESERVED | XINT | ||||
| R-0h | R/W-0h | R-0h | R/W-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 15-3 | RESERVED | R | 0h | Reserved |
| 2 | RINT | R/W | 0h | Enable for Receive Interrupt Reset type: SYSRSn 0h (R/W) = Receive interrupt on RRDY is disabled. 1h (R/W) = Receive interrupt on RRDY is enabled. |
| 1 | RESERVED | R | 0h | Reserved |
| 0 | XINT | R/W | 0h | Enable for Transmit Interrupt Reset type: SYSRSn 0h (R/W) = Transmit interrupt on XRDY is disabled. 1h (R/W) = Transmit interrupt on XRDY is enabled. |