I used hardware I2C to set 400K baud rate. The waveform was normal, but there were problems in the communication with the slave machine. Some data could be written and read out normally, while some were abnormal. I suspect the I2C timing is not well configured. Is there any documentation about this? How to set the parameters in the red box? The driver that used RTM before calculated the configuration by itself
Please refer to the RM rev. 14, Section 18.104.22.168 Timing Parameters.
As you can see, the SCL clock period depends on the bus latency as well, which is given by the capacitance of the bus and the size of the pull-up resistors.
The RTD does not calculate with the parameters of the bus.
You will get slightly different bit rate if you use different pull-ups.
I changed the pull-up resistance from 4.7K pull-up to 2.2K pull-up and found that the speed of 400K did not improve the waveform much
I want to try a 100K rate
Can the I2C parameter of RTD provide a setting parameter of 100K rate to verify the waveform? I am not sure if it is the correct parameter if I set it myself