SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The I2C module support a self-test mode called digital loopback, which is enabled by setting the DLB bit in the I2CMDR register. In this mode, data transmitted out of the I2CDXR register is received in the I2CDRR register. The data follows an internal path, and takes n cycles to reach I2CDRR, where:
n = 8 * (SYSCLK) / (I2C module clock (Fmod))
The transmit clock and the receive clock are the same. The address seen on the external SDA pin is the address in the I2COAR register. Figure 28-16 shows the signal routing in digital loopback mode.