Hi,
i am trying to get the I2C peripheral working at 3.3M High speed mode. I have read the datasheet (18.4.2 Configure the I2C Master to High Speed Mode).
I am following the below sequence
1. HWREG(I2C2_BASE + I2C_O_MTPR) = TPR value for 3.3M;
2. HWREG(I2C2_BASE + I2C_O_MCS) = 0x50;
3. HWREG(I2C2_BASE + I2C_O_MSA) = 0x08;
4. delay for transition to complete.
5. Then, start a data transfer to slave device.
But the frequency is set around 6.5MHz. It is not changing even if a different value is written to TPR value. (The value in TPR register is in effect and setting the correct frequency if in standard mode)
Any idea of how to fix this issue. what am i missing in the configuration ?
Thanks in advance !!