SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
Table 20-40 shows the settings for bits used to set receive clock mode.
Register | Bit | Name | Function | Type | Reset Value | |
---|---|---|---|---|---|---|
PCR | 8 | CLKRM | Receive clock mode | R/W | 0 | |
Case 1: Digital loopback mode not set (DLB = 0) in SPCR1. | ||||||
CLKRM = 0 | The MCLKR pin is an input pin that supplies the internal receive clock (MCLKR). | |||||
CLKRM = 1 | Internal MCLKR is driven by the sample rate generator of the McBSP. The MCLKR pin is an output pin that reflects internal MCLKR. | |||||
Case 2: Digital loopback mode set (DLB = 1) in SPCR1. | ||||||
CLKRM = 0 | The MCLKR pin is in the high impedance state. The internal receive clock (MCLKR) is driven by the internal transmit clock (CLKX). Internal CLKX is derived according to the CLKXM bit of PCR. | |||||
CLKRM = 1 | Internal MCLKR is driven by internal CLKX. The MCLKR pin is an output pin that reflects internal MCLKR. Internal CLKX is derived according to the CLKXM bit of PCR. | |||||
SPCR1 | 15 | DLB | Digital loopback mode | R/W | 00 | |
DLB = 0 | Digital loopback mode is disabled. | |||||
DLB = 1 | Digital loopback mode is enabled. The receive signals, including the receive frame-synchronization signal, are connected internally through multiplexers to the corresponding transmit signals. | |||||
SPCR1 | 12-11 | CLKSTP | Clock stop mode | R/W | 00 | |
CLKSTP = 0Xb | Clock stop mode disabled; normal clocking for non-SPI mode. | |||||
CLKSTP = 10b | Clock stop mode enabled without clock delay. The internal receive clock signal (MCLKR) and the internal receive frame-synchronization signal (FSR) are internally connected to their transmit counterparts, CLKX and FSX. | |||||
CLKSTP = 11b | Clock stop mode enabled with clock delay. The internal receive clock signal (MCLKR) and the internal receive frame-synchronization signal (FSR) are internally connected to their transmit counterparts, CLKX and FSX. |