hello,
Q1:Why is the minimum recommended SDA rise time 350ns? Why do I set 12ns only affect the frequency of 3~5M, which is smaller or higher, why is there no effect?
This SDA rise time is the value measure of SDA rise time, between GND to 70%VDD, capacitor effect.
This timing is important for Controller to detect correctly the SDA high level.
Concerning the frequency issue that you have detect, i think it is frequency out of 3Mhz, mean 12.5Mhz should not works properly too. At those frequency you are at the limit a correct Controller detection with the wrong value of SDA rise time.
Q2:Is there documentation that mentions the formula for calculating the I3C rate? Is there an API interface that can dynamically configure the I3C rate?
Yes, you can use I3C_CtrlTimingComputation, and for usage you can follow the example I3C_Sensor_Private_Command_IT.
Hope that help you to start on H5 I3C.
Regards