SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
The DLB bit determines whether the digital loopback mode is on. DLB is described in Table 21-48.
Register | Bit | Name | Function | Type | Reset Value | |
---|---|---|---|---|---|---|
SPCR1 | 15 | DLB | Digital loopback mode | R/W | 0 | |
DLB = 0 | Digital loopback mode is disabled. | |||||
DLB = 1 | Digital loopback mode is enabled. |
In the digital loopback mode, the receive signals are connected internally through multiplexers to the corresponding transmit signals, as shown in Table 21-49. This mode allows testing of serial port code with a single DSP device; the McBSP receives the data it transmits.
This Receive Signal | Is Fed Internally by This Transmit Signal |
---|---|
DR (receive data) | DX (transmit data) |
FSR (receive frame synchronization) | FSX (transmit frame synchronization) |
MCLKR (receive clock) | CLKX (transmit clock) |