This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432P401R: I2C clock frequency mismatch

Part Number: MSP432P401R


Hi,

I have an issue with the I2C clock frequency. When I powered up the board with I2C clock at 100KHz I am getting 381 KHz in logic analizer. Below please find the configuration code for I2C,

const eUSCI_I2C_MasterConfig i2cConfig = {
EUSCI_B_I2C_CLOCKSOURCE_SMCLK,                     // SMCLK Clock Source
3000000,                                                                          // SMCLK = 3MHz (default)
EUSCI_B_I2C_SET_DATA_RATE_100KBPS,                // Desired I2C Clock of 100khz
0, // No byte counter threshold
EUSCI_B_I2C_NO_AUTO_STOP                                   // No Autostop
};

When I changed 100 to 400KHz am getting 1.333MHz as frequency. The I2C bus is directly connected to devices, eeprom and temperature sensor. I have already posted an issue for eeprom,https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/837067. Till now this haven't solved. I hope due to this am getting an issue at eeprom. Could you please check on the same. 

**Attention** This is a public forum