SLAU846A June 2023 – October 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1
The I2C modules can be placed into an internal loopback mode for diagnostic or debug work by setting the LPBK bit in the I2C controller configuration I2Cx.MCR register. In loopback mode, the SDA and SCL signals from the controller part of the I2C are tied to the SDA and SCL signals of the target part of the I2C module to allow internal testing of the device without having to connect the I/Os. The SWUEN bit should be set to 0 for internal loopback to work correctly.