Part Number: MSPM0G3518
Other Parts Discussed in Thread: MSPM0G3519
The TRM says I2C Frequency is calculated with the following formula:
I2C_FREQ = I2C_CLK / ((1+TPR) × (SCL_LP + SCL_HP ))
The TRM also says in the description of the CTPR/MTPR register we can use this formula:
SCL_PERIOD = (1 + TPR ) × (SCL_LP + SCL_HP ) × INT_CLK_PRD
They are basically the same. For both formulas I get when using:
I2C_CLOCK = 40MHz, I2C_FREQ = 400kHz => TPR = 9
This is also in the table of examples.
But if I write 9 into TPR, I'll get a I2C SCL Frequency of ~370kHz. Only If I set it to 8, it'll be the correct frequency.
Do I miss some point in the TRM or is this considered a bug?

